Home
last modified time | relevance | path

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

12

/f-stack/app/redis-5.0.5/src/
H A Dt_zset.c521 char *eptr; in zslParseRange() local
799 *eptr = _eptr; in zzlNext()
818 *eptr = _eptr; in zzlPrev()
903 eptr = NULL; in zzlLastInRange()
993 eptr = NULL; in zzlLastInLexRange()
1009 return eptr; in zzlFind()
1036 if (eptr == NULL) { in zzlInsertAt()
1041 offset = eptr-zl; in zzlInsertAt()
1082 if (eptr == NULL) in zzlInsert()
2757 while (eptr) { in zcountCommand()
[all …]
H A Dredis-check-aof.c52 char buf[128], *eptr; in readLong() local
61 *target = strtol(buf+1,&eptr,10); in readLong()
62 return consumeNewline(eptr); in readLong()
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 Dsort.c466 char *eptr; in sortCommand() local
468 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand()
469 if (eptr[0] != '\0' || errno == ERANGE || in sortCommand()
H A Dutil.c452 char *eptr; in string2ld() local
459 value = strtold(buf, &eptr); in string2ld()
460 if (isspace(buf[0]) || eptr[0] != '\0' || in string2ld()
H A Daof.c1008 unsigned char *eptr, *sptr; in rewriteSortedSetObject() local
1014 eptr = ziplistIndex(zl,0); in rewriteSortedSetObject()
1015 serverAssert(eptr != NULL); in rewriteSortedSetObject()
1016 sptr = ziplistNext(zl,eptr); in rewriteSortedSetObject()
1019 while (eptr != NULL) { in rewriteSortedSetObject()
1020 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in rewriteSortedSetObject()
1037 zzlNext(zl,&eptr,&sptr); in rewriteSortedSetObject()
H A Ddebug.c152 unsigned char *eptr, *sptr; in xorObjectDigest() local
158 eptr = ziplistIndex(zl,0); in xorObjectDigest()
159 serverAssert(eptr != NULL); in xorObjectDigest()
160 sptr = ziplistNext(zl,eptr); in xorObjectDigest()
163 while (eptr != NULL) { in xorObjectDigest()
164 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in xorObjectDigest()
178 zzlNext(zl,&eptr,&sptr); in xorObjectDigest()
H A Dobject.c604 char *eptr; in getDoubleFromObject() local
612 value = strtod(o->ptr, &eptr); in getDoubleFromObject()
615 (size_t)(eptr-(char*)o->ptr) != sdslen(o->ptr) || in getDoubleFromObject()
646 char *eptr; in getLongDoubleFromObject() local
654 value = strtold(o->ptr, &eptr); in getLongDoubleFromObject()
657 (size_t)(eptr-(char*)o->ptr) != sdslen(o->ptr) || in getLongDoubleFromObject()
H A Ddb.c599 char *eptr; in parseScanCursorOrReply() local
604 *cursor = strtoul(o->ptr, &eptr, 10); in parseScanCursorOrReply()
605 if (isspace(((char*)o->ptr)[0]) || eptr[0] != '\0' || errno == ERANGE) in parseScanCursorOrReply()
H A Dmodule.c2093 unsigned char *eptr, *sptr; in RM_ZsetRangeCurrentElement() local
2094 eptr = key->zcurrent; in RM_ZsetRangeCurrentElement()
2095 sds ele = ziplistGetObject(eptr); in RM_ZsetRangeCurrentElement()
2097 sptr = ziplistNext(key->value->ptr,eptr); in RM_ZsetRangeCurrentElement()
2120 unsigned char *eptr = key->zcurrent; in RM_ZsetRangeNext() local
2122 next = ziplistNext(zl,eptr); /* Skip element. */ in RM_ZsetRangeNext()
2183 unsigned char *eptr = key->zcurrent; in RM_ZsetRangePrev() local
2185 prev = ziplistPrev(zl,eptr); /* Go back to previous score. */ in RM_ZsetRangePrev()
H A Dconfig.c981 char *eptr; local
984 val = strtoll(v[j], &eptr, 10);
985 if (eptr[0] != '\0' ||
/f-stack/freebsd/netgraph/
H A Dng_parse.c339 char *eptr; in ng_int8_parse() local
344 *off = eptr - s; in ng_int8_parse()
434 char *eptr; in ng_int16_parse() local
440 *off = eptr - s; in ng_int16_parse()
530 char *eptr; in ng_int32_parse() local
539 *off = eptr - s; in ng_int32_parse()
629 char *eptr; in ng_int64_parse() local
634 *off = eptr - s; in ng_int64_parse()
1019 char *eptr; in ng_enaddr_parse() local
1030 *off = (eptr - s); in ng_enaddr_parse()
[all …]
H A Dng_ksocket.c271 char *eptr; in ng_ksocket_sockaddr_parse() local
273 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse()
274 if (val > 0xff || eptr == s + *off) in ng_ksocket_sockaddr_parse()
276 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse()
284 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse()
285 if (val > 0xffff || eptr == s + *off) in ng_ksocket_sockaddr_parse()
287 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse()
1257 char *eptr; in ng_ksocket_parse() local
1267 val = (int)strtoul(s, &eptr, 10); in ng_ksocket_parse()
1268 if (val < 0 || *eptr != '\0') in ng_ksocket_parse()
H A Dng_sample.c202 char *eptr; in ng_xxx_newhook() local
207 dlci = (int)strtoul(cp, &eptr, 10); in ng_xxx_newhook()
208 if (*eptr != '\0' || dlci < 0 || dlci > 1023) in ng_xxx_newhook()
H A Dng_frame_relay.c238 char *eptr; in ngfrm_newhook() local
276 dlci = (int)strtoul(cp, &eptr, 10); in ngfrm_newhook()
277 if (*eptr != '\0' || dlci < 0 || dlci > 1023) in ngfrm_newhook()
H A Dng_one2many.c217 char *eptr; in ng_one2many_newhook() local
222 i = strtoul(cp, &eptr, 10); in ng_one2many_newhook()
223 if (*eptr != '\0' || i >= NG_ONE2MANY_MAX_LINKS) in ng_one2many_newhook()
H A Dng_ppp.c531 char *eptr; in ng_ppp_newhook() local
536 linkNum = (int)strtoul(cp, &eptr, 10); in ng_ppp_newhook()
537 if (*eptr != '\0' || linkNum < 0 || linkNum >= NG_PPP_MAX_LINKS) in ng_ppp_newhook()
H A Dng_base.c948 char *eptr; in ng_decodeidname() local
957 val = strtoul(name + 1, &eptr, 16); in ng_decodeidname()
958 if ((eptr - name != len - 1) || (val == ULONG_MAX) || (val == 0)) in ng_decodeidname()
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c290 char *eptr; in ng_netflow_newhook() local
296 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook()
297 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook()
322 char *eptr; in ng_netflow_newhook() local
328 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook()
329 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook()
/f-stack/dpdk/lib/librte_power/
H A Drte_power_empty_poll.h147 rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb,
H A Drte_power_empty_poll.c406 rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb, in rte_power_empty_poll_stat_init() argument
436 *eptr = ep_params; in rte_power_empty_poll_stat_init()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dtest.c521 char *p, *eptr; in test_blocking_io_errors() local
525 major = strtol(p+strlen(field),&eptr,10); in test_blocking_io_errors()
526 p = eptr+1; /* char next to the first "." */ in test_blocking_io_errors()
527 minor = strtol(p,&eptr,10); in test_blocking_io_errors()
/f-stack/freebsd/arm64/rockchip/
H A Drk_pinctrl.c1229 char *gpio_name, *eptr; in rk_pinctrl_attach() local
1294 eptr = gpio_name; in rk_pinctrl_attach()
1295 strsep(&eptr, "@"); in rk_pinctrl_attach()
1296 if (gpio_name == eptr) { in rk_pinctrl_attach()
/f-stack/tools/ifconfig/
H A Difieee80211.c812 char *eptr; in getchannel() local
821 v = strtol(val, &eptr, 10); in getchannel()
824 (eptr[0] != '\0' && eptr[0] != ':' && eptr[0] != '/')) in getchannel()
2502 char *eptr; in DECL_CMD_FUNC() local
2503 long sku = strtol(val, &eptr, 0); in DECL_CMD_FUNC()
2505 if (eptr != val) in DECL_CMD_FUNC()
2507 if (eptr == val || rd == NULL) in DECL_CMD_FUNC()
2530 char *eptr; in DECL_CMD_FUNC() local
2531 long code = strtol(val, &eptr, 0); in DECL_CMD_FUNC()
2533 if (eptr != val) in DECL_CMD_FUNC()
[all …]
/f-stack/lib/
H A Dff_ng_base.c954 char *eptr; in ng_decodeidname() local
963 val = strtoul(name + 1, &eptr, 16); in ng_decodeidname()
964 if ((eptr - name != len - 1) || (val == ULONG_MAX) || (val == 0)) in ng_decodeidname()

12