Home
last modified time | relevance | path

Searched refs:eptr (Results 1 – 11 of 11) sorted by relevance

/redis-3.2.3/src/
H A Dt_zset.c431 char *eptr; in zslParseRange() local
714 *eptr = _eptr; in zzlNext()
733 *eptr = _eptr; in zzlPrev()
818 eptr = NULL; in zzlLastInRange()
909 eptr = NULL; in zzlLastInLexRange()
927 return eptr; in zzlFind()
957 if (eptr == NULL) { in zzlInsertAt()
962 offset = eptr-zl; in zzlInsertAt()
1005 if (eptr == NULL) in zzlInsert()
2523 while (eptr) { in zcountCommand()
[all …]
H A Dredis-check-aof.c57 char buf[128], *eptr; in readLong() local
66 *target = strtol(buf+1,&eptr,10); in readLong()
67 return consumeNewline(eptr); in readLong()
H A Dobject.c539 char *eptr; in getDoubleFromObject() local
547 value = strtod(o->ptr, &eptr); in getDoubleFromObject()
549 eptr[0] != '\0' || in getDoubleFromObject()
581 char *eptr; in getLongDoubleFromObject() local
589 value = strtold(o->ptr, &eptr); in getLongDoubleFromObject()
590 if (isspace(((char*)o->ptr)[0]) || eptr[0] != '\0' || in getLongDoubleFromObject()
H A Dgeo.c234 unsigned char *eptr, *sptr; in geoGetPointsInRange() local
240 if ((eptr = zzlFirstInRange(zl, &range)) == NULL) { in geoGetPointsInRange()
245 sptr = ziplistNext(zl, eptr); in geoGetPointsInRange()
246 while (eptr) { in geoGetPointsInRange()
254 ziplistGet(eptr, &vstr, &vlen, &vlong); in geoGetPointsInRange()
259 zzlNext(zl, &eptr, &sptr); in geoGetPointsInRange()
H A Ddebug.c177 unsigned char *eptr, *sptr; in computeDatasetDigest() local
183 eptr = ziplistIndex(zl,0); in computeDatasetDigest()
184 serverAssert(eptr != NULL); in computeDatasetDigest()
185 sptr = ziplistNext(zl,eptr); in computeDatasetDigest()
188 while (eptr != NULL) { in computeDatasetDigest()
189 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in computeDatasetDigest()
203 zzlNext(zl,&eptr,&sptr); in computeDatasetDigest()
H A Daof.c873 unsigned char *eptr, *sptr; in rewriteSortedSetObject() local
879 eptr = ziplistIndex(zl,0); in rewriteSortedSetObject()
880 serverAssert(eptr != NULL); in rewriteSortedSetObject()
881 sptr = ziplistNext(zl,eptr); in rewriteSortedSetObject()
884 while (eptr != NULL) { in rewriteSortedSetObject()
885 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in rewriteSortedSetObject()
902 zzlNext(zl,&eptr,&sptr); in rewriteSortedSetObject()
H A Dsort.c464 char *eptr; in sortCommand() local
466 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand()
467 if (eptr[0] != '\0' || errno == ERANGE || in sortCommand()
H A Ddb.c466 char *eptr; in parseScanCursorOrReply() local
471 *cursor = strtoul(o->ptr, &eptr, 10); in parseScanCursorOrReply()
472 if (isspace(((char*)o->ptr)[0]) || eptr[0] != '\0' || errno == ERANGE) in parseScanCursorOrReply()
H A Dconfig.c793 char *eptr; local
796 val = strtoll(v[j], &eptr, 10);
797 if (eptr[0] != '\0' ||
H A Dserver.h1297 void zzlNext(unsigned char *zl, unsigned char **eptr, unsigned char **sptr);
1298 void zzlPrev(unsigned char *zl, unsigned char **eptr, unsigned char **sptr);
/redis-3.2.3/deps/hiredis/
H A Dtest.c435 char *p, *eptr; in test_blocking_io_errors() local
439 major = strtol(p+strlen(field),&eptr,10); in test_blocking_io_errors()
440 p = eptr+1; /* char next to the first "." */ in test_blocking_io_errors()
441 minor = strtol(p,&eptr,10); in test_blocking_io_errors()