Searched refs:endptr (Results 1 - 25 of 150) sorted by path

123456

/freebsd-current/bin/sh/
H A Darith_yacc.h91 arith_t strtoarith_t(const char *restrict nptr, char **restrict endptr);
H A Darith_yylex.c54 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 Dtext.c165 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.h48 _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.h46 _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 Dharness.c224 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 Dstrtoimax.c65 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 Dprint.c355 char *endptr; local
359 val = strtoull(us, &endptr, base);
360 if (*endptr || errno) {
/freebsd-current/contrib/flex/src/
H A Dflexdef.h1142 int regmatch_strtol (regmatch_t * m, const char *src, char **endptr, int base);
H A Dregex.c128 * @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 Dmalloc_io.h44 uintmax_t malloc_strtoumax(const char *restrict nptr, char **restrict endptr,
/freebsd-current/contrib/jemalloc/src/
H A Dmalloc_io.c128 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 Dkeys.c2191 char *endptr; local
2204 a = strtol(name, &endptr, 10);
2205 if (*name && !*endptr)
H A Drdata.c691 ldns_str2period(const char *nptr, const char **endptr) argument
697 for(*endptr = nptr; **endptr; (*endptr)++) {
698 switch (**endptr) {
752 i += (**endptr - '0');
H A Drr.c144 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 Dstr2host.c1588 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 Drdata.h409 * \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 Darchive_read_support_format_warc.c564 xstrpisotime(const char *s, char **endptr)
611 if (endptr != NULL) {
612 *endptr = deconst(s);
563 xstrpisotime(const char *s, char **endptr) argument
H A Darchive_write_add_filter_xz.c387 char *endptr; local
392 data->threads = (int)strtoul(value, &endptr, 10);
393 if (errno != 0 || *endptr != '\0') {
H A Darchive_write_set_format_xar.c504 char *endptr; local
509 xar->opt_threads = (int)strtoul(value, &endptr, 10);
510 if (errno != 0 || *endptr != '\0') {
/freebsd-current/contrib/libevent/
H A Devdns.c3388 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 Devutil.c464 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 Dutil.h582 ev_int64_t evutil_strtoll(const char *s, char **endptr, int base);
/freebsd-current/contrib/libevent/test/
H A Dbench_http.c94 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 Dregress_util.c432 char *endptr; local
439 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999);
440 tt_want(endptr == s+6);

Completed in 322 milliseconds

123456