/freebsd-current/bin/sh/ |
H A D | arith_yacc.h | 91 arith_t strtoarith_t(const char *restrict nptr, char **restrict endptr);
|
H A D | arith_yylex.c | 54 strtoarith_t(const char *restrict nptr, char **restrict endptr) argument 62 return strtoimax(nptr, endptr, 0); 64 return (arith_t)strtoumax(nptr, endptr, 0); 66 val = (arith_t)strtoumax(nptr, endptr, 0);
|
/freebsd-current/contrib/atf/atf-c/detail/ |
H A D | text.c | 165 char *endptr; local 169 tmp = strtol(str, &endptr, 10); 170 if (str[0] == '\0' || *endptr != '\0')
|
/freebsd-current/contrib/blocklist/port/ |
H A D | _strtoi.h | 48 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base, argument 56 /* endptr may be NULL */ 58 if (endptr == NULL) 59 endptr = &ep; 67 im = __WRAPPED(nptr, endptr, base); 74 if (nptr == *endptr) 77 else if (**endptr != '\0')
|
/freebsd-current/contrib/bmake/ |
H A D | _strtol.h | 46 _FUNCNAME(const char *nptr, char **endptr, int base) argument 54 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const char *nptr, char **endptr, 64 /* endptr may be NULL */ 70 if (endptr != NULL) 72 *endptr = __UNCONST(nptr); 194 if (endptr != NULL) 196 *endptr = __UNCONST(any ? s - 1 : nptr); 203 _FUNCNAME(const char *nptr, char **endptr, int base) argument 205 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale()); 209 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, in [all...] |
/freebsd-current/contrib/cortex-strings/benchmarks/multi/ |
H A D | harness.c | 224 char *endptr; local 227 ret = strtol(arg, &endptr, 0); 245 if (endptr && *endptr == ':') 248 ret = strtol(endptr + 1, NULL, 0);
|
/freebsd-current/contrib/diff/lib/ |
H A D | strtoimax.c | 65 strtoimax (char const *ptr, char **endptr, int base) argument 73 return strtoll (ptr, endptr, base); 79 return strtol (ptr, endptr, base);
|
/freebsd-current/contrib/file/src/ |
H A D | print.c | 355 char *endptr; local 359 val = strtoull(us, &endptr, base); 360 if (*endptr || errno) {
|
/freebsd-current/contrib/flex/src/ |
H A D | flexdef.h | 1142 int regmatch_strtol (regmatch_t * m, const char *src, char **endptr, int base);
|
H A D | regex.c | 128 * @param endptr Same as the second argument to strtol(). 132 int regmatch_strtol (regmatch_t * m, const char *src, char **endptr, argument 149 n = (int) strtol (s, endptr, base);
|
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | malloc_io.h | 44 uintmax_t malloc_strtoumax(const char *restrict nptr, char **restrict endptr,
|
/freebsd-current/contrib/jemalloc/src/ |
H A D | malloc_io.c | 128 malloc_strtoumax(const char *restrict nptr, char **restrict endptr, int base) { argument 237 if (endptr != NULL) { 240 *endptr = (char *)nptr; 242 *endptr = (char *)p;
|
/freebsd-current/contrib/ldns/ |
H A D | keys.c | 2191 char *endptr; local 2204 a = strtol(name, &endptr, 10); 2205 if (*name && !*endptr)
|
H A D | rdata.c | 691 ldns_str2period(const char *nptr, const char **endptr) argument 697 for(*endptr = nptr; **endptr; (*endptr)++) { 698 switch (**endptr) { 752 i += (**endptr - '0');
|
H A D | rr.c | 144 const char* endptr; local 200 ttl_val = (uint32_t) ldns_str2period(ttl, &endptr); 732 const char *endptr; /* unused */ local 767 ldns_strip_ws(line + 5), &endptr);
|
H A D | str2host.c | 1588 char *endptr; /* utility var for strtol usage */ local 1589 int algorithm = str == NULL ? 0 : strtol(str, &endptr, 10); 1598 || endptr == str /* no digits */) { 2014 char *endptr; local 2025 num = strtoul(num_str, &endptr, 10); 2026 if (*endptr) 2217 char *endptr; local 2243 num = strtoul(num_str, &endptr, 10); 2244 if (*endptr || num > 65535)
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | rdata.h | 409 * \param[out] endptr points to the last char in case of error 412 uint32_t ldns_str2period(const char *nptr, const char **endptr);
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_warc.c | 564 xstrpisotime(const char *s, char **endptr) 611 if (endptr != NULL) { 612 *endptr = deconst(s); 563 xstrpisotime(const char *s, char **endptr) argument
|
H A D | archive_write_add_filter_xz.c | 387 char *endptr; local 392 data->threads = (int)strtoul(value, &endptr, 10); 393 if (errno != 0 || *endptr != '\0') {
|
H A D | archive_write_set_format_xar.c | 504 char *endptr; local 509 xar->opt_threads = (int)strtoul(value, &endptr, 10); 510 if (errno != 0 || *endptr != '\0') {
|
/freebsd-current/contrib/libevent/ |
H A D | evdns.c | 3388 char *endptr; local 3389 const int r = strtol(str, &endptr, 10); 3390 if (*endptr) return -1; 3399 char *endptr; local 3400 d = strtod(str, &endptr); 3401 if (*endptr) return -1;
|
H A D | evutil.c | 464 evutil_strtoll(const char *s, char **endptr, int base) argument 467 return (ev_int64_t)strtoll(s, endptr, base); 469 return (ev_int64_t)strtol(s, endptr, base); 483 if (endptr) 484 *endptr = (char*) s; 487 return (ev_int64_t) _strtoi64(s, endptr, base); 515 if (endptr) 516 *endptr = (char*) s; 894 char *endptr=NULL; local 895 n = (int) strtol(servname, &endptr, 1 [all...] |
/freebsd-current/contrib/libevent/include/event2/ |
H A D | util.h | 582 ev_int64_t evutil_strtoll(const char *s, char **endptr, int base);
|
/freebsd-current/contrib/libevent/test/ |
H A D | bench_http.c | 94 char *endptr = NULL; local 124 port = (int)strtol(argv[i+1], &endptr, 10); 125 if (*endptr != '\0') { 135 content_len = (size_t)strtol(argv[i+1], &endptr, 10); 136 if (*endptr != '\0' || content_len == 0) {
|
H A D | regress_util.c | 432 char *endptr; local 439 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999); 440 tt_want(endptr == s+6);
|