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

1234567

/freebsd-head/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.c46 strtoq(const char *nptr, char **endptr, int base) argument
49 return strtoll(nptr, endptr, base);
H A Dstrtouq.c46 strtouq(const char *nptr, char **endptr, int base) argument
49 return strtoull(nptr, endptr, base);
H A Dstrtoimax.c56 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
147 if (endptr != NULL)
148 *endptr = (char *)(any ? s - 1 : nptr);
152 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base) argument
154 return strtoimax_l(nptr, endptr, base, __get_locale());
H A Dstrtoll.c56 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
147 if (endptr != NULL)
148 *endptr = (char *)(any ? s - 1 : nptr);
152 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) argument
154 return strtoll_l(nptr, endptr, base, __get_locale());
H A Dstrtoul.c56 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) argument
124 if (endptr != NULL)
125 *endptr = (char *)(any ? s - 1 : nptr);
129 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument
131 return strtoul_l(nptr, endptr, base, __get_locale());
H A Dstrtoull.c56 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
125 if (endptr != NULL)
126 *endptr = (char *)(any ? s - 1 : nptr);
130 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) argument
132 return strtoull_l(nptr, endptr, base, __get_locale());
/freebsd-head/lib/libc/locale/
H A Dwcstod.c52 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
83 if (endptr != NULL)
84 *endptr = (wchar_t *)nptr;
88 if (endptr != NULL)
89 *endptr = (wchar_t *)nptr;
104 if (endptr != NULL) {
105 *endptr = (wchar_t *)nptr + (end - buf);
107 *endptr += spaces;
115 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
117 return wcstod_l(nptr, endptr, __get_local
[all...]
H A Dwcstof.c46 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
67 if (endptr != NULL)
68 *endptr = (wchar_t *)nptr;
72 if (endptr != NULL)
73 *endptr = (wchar_t *)nptr;
81 if (endptr != NULL) {
82 *endptr = (wchar_t *)nptr + (end - buf);
84 *endptr += spaces;
92 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
94 return wcstof_l(nptr, endptr, __get_local
[all...]
H A Dwcstold.c46 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
67 if (endptr != NULL)
68 *endptr = (wchar_t *)nptr;
72 if (endptr != NULL)
73 *endptr = (wchar_t *)nptr;
81 if (endptr != NULL) {
82 *endptr = (wchar_t *)nptr + (end - buf);
84 *endptr += spaces;
92 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
94 return wcstold_l(nptr, endptr, __get_local
[all...]
H A Dwcstol.c51 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int argument
124 if (endptr != NULL)
125 *endptr = (wchar_t *)(any ? s - 1 : nptr);
129 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
131 return wcstol_l(nptr, endptr, base, __get_locale());
H A Dwcstoll.c57 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
130 if (endptr != NULL)
131 *endptr = (wchar_t *)(any ? s - 1 : nptr);
135 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
137 return wcstoll_l(nptr, endptr, base, __get_locale());
H A Dwcstoul.c51 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
122 if (endptr != NULL)
123 *endptr = (wchar_t *)(any ? s - 1 : nptr);
127 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
129 return wcstoul_l(nptr, endptr, base, __get_locale());
H A Dwcstoull.c57 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
128 if (endptr != NULL)
129 *endptr = (wchar_t *)(any ? s - 1 : nptr);
133 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
136 return wcstoull_l(nptr, endptr, base, __get_locale());
H A Dwcstoumax.c57 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
128 if (endptr != NULL)
129 *endptr = (wchar_t *)(any ? s - 1 : nptr);
133 wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
136 return wcstoumax_l(nptr, endptr, base, __get_locale());
/freebsd-head/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-head/contrib/processor-trace/libipt/src/
H A Dpt_cpu.c95 char *endptr; local
101 family = strtol(s, &endptr, 0);
102 if (s == endptr || *endptr == '\0' || *endptr != sep)
109 s = endptr + 1;
111 model = strtol(s, &endptr, 0);
112 if (s == endptr || (*endptr != '\0' && *endptr !
[all...]
/freebsd-head/usr.sbin/mpsutil/
H A Dmps_slot.c51 char *endptr; local
72 x = strtol(argv[2], &endptr, 0);
73 if (*endptr != '\0' || errno != 0 || x < 0 || x > UINT16_MAX) {
80 x = strtol(argv[3], &endptr, 0);
81 if (*endptr != '\0' || errno != 0 || x < 0 || x > UINT16_MAX) {
88 ux = strtoul(argv[4], &endptr, 0);
89 if (*endptr != '\0' || errno != 0 || ux > UINT32_MAX) {
/freebsd-head/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-head/sys/dev/vt/colors/
H A Dvt_termcolors.c71 char *endptr; local
79 v = strtoul(ptr + 1, &endptr, 16);
80 if (*endptr != '\0')
91 v = strtoul(ptr, &endptr, 10);
92 if (ptr == endptr)
97 ptr = endptr;
103 v = strtoul(ptr, &endptr, 10);
104 if (ptr == endptr)
109 ptr = endptr;
115 v = strtoul(ptr, &endptr, 1
[all...]
/freebsd-head/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-head/sys/libkern/
H A Dinet_aton.c45 char *endptr; local
59 l = strtoul(c, &endptr, 0);
61 if (l == ULONG_MAX || (l == 0 && endptr == c))
67 * If the whole string is invalid, endptr will equal
72 if (endptr == c)
75 c = endptr;
/freebsd-head/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-head/lib/libutil/
H A Dexpand_number.c43 char *endptr; local
51 umaxval = strtoumax(buf, &endptr, 0);
59 switch (tolower((unsigned char)*endptr)) {
/freebsd-head/lib/libc/iconv/
H A D_strtol.h49 _FUNCNAME(const char *nptr, char **endptr, int base) argument
60 if (endptr != NULL)
62 *endptr = __DECONST(void *, nptr);
165 if (endptr != NULL)
167 *endptr = __DECONST(void *, any ? s - 1 : nptr);

Completed in 142 milliseconds

1234567