Searched refs:endptr (Results 1 - 25 of 152) sorted by relevance

1234567

/freebsd-11-stable/lib/libc/stdlib/
H A Dstrtold.c39 strtold(const char * __restrict nptr, char ** __restrict endptr) argument
42 return strtold_l(nptr, endptr, __get_locale());
H A Dstrtoq.c44 strtoq(const char *nptr, char **endptr, int base) argument
47 return strtoll(nptr, endptr, base);
H A Dstrtouq.c44 strtouq(const char *nptr, char **endptr, int base) argument
47 return strtoull(nptr, endptr, base);
H A Dstrtoimax.c54 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
145 if (endptr != NULL)
146 *endptr = (char *)(any ? s - 1 : nptr);
150 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base) argument
152 return strtoimax_l(nptr, endptr, base, __get_locale());
H A Dstrtoll.c54 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
145 if (endptr != NULL)
146 *endptr = (char *)(any ? s - 1 : nptr);
150 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) argument
152 return strtoll_l(nptr, endptr, base, __get_locale());
H A Dstrtoul.c54 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) argument
122 if (endptr != NULL)
123 *endptr = (char *)(any ? s - 1 : nptr);
127 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument
129 return strtoul_l(nptr, endptr, base, __get_locale());
H A Dstrtoull.c54 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
123 if (endptr != NULL)
124 *endptr = (char *)(any ? s - 1 : nptr);
128 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) argument
130 return strtoull_l(nptr, endptr, base, __get_locale());
H A Dstrtoumax.c54 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
123 if (endptr != NULL)
124 *endptr = (char *)(any ? s - 1 : nptr);
128 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base) argument
130 return strtoumax_l(nptr, endptr, base, __get_locale());
/freebsd-11-stable/lib/libc/locale/
H A Dwcstod.c50 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
81 if (endptr != NULL)
82 *endptr = (wchar_t *)nptr;
86 if (endptr != NULL)
87 *endptr = (wchar_t *)nptr;
102 if (endptr != NULL) {
103 *endptr = (wchar_t *)nptr + (end - buf);
105 *endptr += spaces;
113 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
115 return wcstod_l(nptr, endptr, __get_local
[all...]
H A Dwcstof.c44 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
65 if (endptr != NULL)
66 *endptr = (wchar_t *)nptr;
70 if (endptr != NULL)
71 *endptr = (wchar_t *)nptr;
79 if (endptr != NULL) {
80 *endptr = (wchar_t *)nptr + (end - buf);
82 *endptr += spaces;
90 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
92 return wcstof_l(nptr, endptr, __get_local
[all...]
H A Dwcstold.c44 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
65 if (endptr != NULL)
66 *endptr = (wchar_t *)nptr;
70 if (endptr != NULL)
71 *endptr = (wchar_t *)nptr;
79 if (endptr != NULL) {
80 *endptr = (wchar_t *)nptr + (end - buf);
82 *endptr += spaces;
90 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
92 return wcstold_l(nptr, endptr, __get_local
[all...]
H A Dwcstol.c49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int argument
122 if (endptr != NULL)
123 *endptr = (wchar_t *)(any ? s - 1 : nptr);
127 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
129 return wcstol_l(nptr, endptr, base, __get_locale());
H A Dwcstoll.c55 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
128 if (endptr != NULL)
129 *endptr = (wchar_t *)(any ? s - 1 : nptr);
133 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
135 return wcstoll_l(nptr, endptr, base, __get_locale());
/freebsd-11-stable/contrib/blacklist/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-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c340 char *endptr, *ptr; local
352 v = strtoul(ptr, &endptr, 10);
357 if (*endptr != '-')
365 ptr = endptr + 1;
368 v = strtoul(ptr, &endptr, 10);
373 if (*endptr != '-')
379 ptr = endptr + 1;
382 v = strtoul(ptr, &endptr, 10);
387 if (*endptr != '-')
393 ptr = endptr
499 char *endptr; local
612 char *endptr, *ptr; local
654 char *endptr; local
726 char *endptr, *ptr; local
783 char *endptr; local
884 char *endptr, *ptr; local
946 char *endptr; local
1032 char *endptr, *ptr; local
1073 char *endptr; local
1224 char *endptr; local
1263 char *endptr; local
[all...]
/freebsd-11-stable/sys/dev/vt/colors/
H A Dvt_termcolors.c81 char *endptr; local
89 v = strtoul(ptr + 1, &endptr, 16);
90 if (*endptr != '\0')
101 v = strtoul(ptr, &endptr, 10);
102 if (ptr == endptr)
107 ptr = endptr;
113 v = strtoul(ptr, &endptr, 10);
114 if (ptr == endptr)
119 ptr = endptr;
125 v = strtoul(ptr, &endptr, 1
[all...]
/freebsd-11-stable/contrib/ipfilter/
H A Dgenmask.c17 char *endptr = 0L; local
44 bits = (int)strtol(msk, &endptr, 0);
49 if ((*endptr != '\0') || (bits < 0) || (bits > 128))
54 if (*endptr != '\0' || bits > 32 || bits < 0)
/freebsd-11-stable/bin/sh/
H A Dshell.h61 #define strtoarith_t(nptr, endptr, base) strtoimax(nptr, endptr, base)
/freebsd-11-stable/contrib/amd/libamu/
H A Dmtab.c171 char *eq, *endptr; local
187 endptr = NULL;
188 i = strtol(eq, &endptr, 0); /* hex and octal allowed ;-) */
189 if (!endptr ||
190 (endptr != eq && (*endptr == ',' || *endptr == '\0'))) {
192 * endptr set means strtol saw a non-digit. If the non-digit is a
230 char *endptr = strchr(eq, ','); local
233 if (!endptr)
[all...]
/freebsd-11-stable/sys/libkern/
H A Dinet_aton.c43 char *endptr; local
57 l = strtoul(c, &endptr, 0);
59 if (l == ULONG_MAX || (l == 0 && endptr == c))
65 * If the whole string is invalid, endptr will equal
70 if (endptr == c)
73 c = endptr;
H A Dstrtol.c50 strtol(nptr, endptr, base)
52 char **endptr;
126 if (endptr != NULL)
127 *endptr = __DECONST(char *, any ? s - 1 : nptr);
H A Dstrtoul.c50 strtoul(nptr, endptr, base)
52 char **endptr;
105 if (endptr != NULL)
106 *endptr = __DECONST(char *, any ? s - 1 : nptr);
/freebsd-11-stable/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-11-stable/lib/libutil/
H A Dexpand_number.c41 char *endptr; local
49 umaxval = strtoumax(buf, &endptr, 0);
57 switch (tolower((unsigned char)*endptr)) {
/freebsd-11-stable/lib/libc/iconv/
H A D_strtol.h47 _FUNCNAME(const char *nptr, char **endptr, int base) argument
58 if (endptr != NULL)
60 *endptr = __DECONST(void *, nptr);
163 if (endptr != NULL)
165 *endptr = __DECONST(void *, any ? s - 1 : nptr);

Completed in 124 milliseconds

1234567