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

123456

/macosx-10.9.5/ruby-104/ruby/missing/
H A Dstrtol.c7 strtol(const char *nptr, char **endptr, int base) argument
17 result = -strtoul(p, endptr, base);
21 result = strtoul(p, endptr, base);
23 if (endptr != 0 && *endptr == p) {
24 *endptr = (char *)nptr;
/macosx-10.9.5/swig-10/Lib/
H A Dinttypes.i48 extern intmax_t strtoimax (const char *nptr, char **endptr, int base);
51 extern uintmax_t strtoumax (const char *nptr, char ** endptr, int base);
55 extern intmax_t wcstoimax (const wchar_t *nptr, wchar_t **endptr, int base);
58 extern uintmax_t wcstoumax (const wchar_t *nptr, wchar_t ** endptr, int base);
64 extern intmax_t strtoimax (const char *nptr, char **endptr, int base);
67 extern uintmax_t strtoumax (const char *nptr, char **endptr,int base);
71 extern intmax_t wcstoimax (const wchar_t *nptr, wchar_t **endptr, int base);
74 extern uintmax_t wcstoumax (const wchar_t *nptr, wchar_t **endptr, int base);
80 extern intmax_t strtoimax (const char *nptr, char **endptr, int base);
83 extern uintmax_t strtoumax (const char *nptr, char **endptr, in
[all...]
/macosx-10.9.5/Libc-997.90.3/stdlib/FreeBSD/
H A Dstrtoq.c46 strtoq(const char *nptr, char **endptr, int base) argument
49 return strtoll_l(nptr, endptr, base, __current_locale());
53 strtoq_l(const char *nptr, char **endptr, int base, locale_t loc) argument
57 return strtoll_l(nptr, endptr, base, loc);
H A Dstrtouq.c46 strtouq(const char *nptr, char **endptr, int base) argument
49 return strtoull_l(nptr, endptr, base, __current_locale());
53 strtouq_l(const char *nptr, char **endptr, int base, locale_t loc) argument
57 return strtoull_l(nptr, endptr, base, loc);
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/
H A Datol.tcl18 set endptr [binary format [ffidl-info format pointer] 0]
19 set l [_strtol $str endptr $radix]
20 binary scan $endptr [ffidl-info format pointer] endptr
21 list $l $endptr
24 set endptr [binary format [ffidl-info format pointer] 0]
25 set l [_strtoul $str endptr $radix]
26 binary scan $endptr [ffidl-info format pointer] endptr
27 list $l $endptr
[all...]
/macosx-10.9.5/Libc-997.90.3/include/xlocale/
H A D_inttypes.h28 intmax_t strtoimax_l(const char * __restrict nptr, char ** __restrict endptr,
30 uintmax_t strtoumax_l(const char * __restrict nptr, char ** __restrict endptr,
33 wchar_t ** __restrict endptr, int base, locale_t);
35 wchar_t ** __restrict endptr, int base, locale_t);
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/
H A Dstrtoimax.c56 strtoimax (ptr, endptr, base)
58 char **endptr;
67 return (strtoll (ptr, endptr, base));
72 return (strtol (ptr, endptr, base));
80 char *p, *endptr; local
94 x = strtoimax("42", &endptr, 10);
96 y = strtoll("42", &endptr, 10);
100 z = strtol("42", &endptr, 10);
H A Dstrtoumax.c56 strtoumax (ptr, endptr, base)
58 char **endptr;
67 return (strtoull (ptr, endptr, base));
72 return (strtoul (ptr, endptr, base));
80 char *p, *endptr; local
94 x = strtoumax("42", &endptr, 10);
96 y = strtoull("42", &endptr, 10);
100 z = strtoul("42", &endptr, 10);
H A Dstrtod.c51 strtod (nptr, endptr)
53 char **endptr;
138 if (endptr != NULL)
139 *endptr = end;
154 if (endptr != NULL)
155 *endptr = (char *) s;
185 if (endptr != NULL)
186 *endptr = (char *) nptr;
192 if (endptr != NULL)
193 *endptr
[all...]
H A Dstrtol.c92 strtol (nptr, endptr, base)
94 char **endptr;
215 if (endptr != NULL)
216 *endptr = (char *) s;
246 if (endptr != NULL)
249 *endptr = (char *) &save[-1];
252 *endptr = (char *) nptr;
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dstrtoimax.c63 strtoimax (char const *ptr, char **endptr, int base) argument
70 return strtoll (ptr, endptr, base);
75 return strtol (ptr, endptr, base);
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/
H A Dwcstof.c44 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
81 if (endptr != NULL)
82 *endptr = (end == buf) ? (wchar_t *)nptr0 : ((wchar_t *)first + __wcs_end_offset(buf, end, loc));
90 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
92 return wcstof_l(nptr, endptr, __current_locale());
H A Dwcstold.c44 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
81 if (endptr != NULL)
82 *endptr = (end == buf) ? (wchar_t *)nptr0 : ((wchar_t *)first + __wcs_end_offset(buf, end, loc));
90 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
92 return wcstold_l(nptr, endptr, __current_locale());
H A Dwcstod.c68 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
112 if (endptr != NULL)
114 *endptr = (end == buf) ? (wchar_t *)nptr0 : ((wchar_t *)first + __wcs_end_offset(buf, end, loc));
122 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
124 return wcstod_l(nptr, endptr, __current_locale());
H A Dwcstol.c45 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, argument
118 if (endptr != NULL)
119 *endptr = (wchar_t *)(any ? s - 1 : nptr);
124 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
126 return wcstol_l(nptr, endptr, base, __current_locale());
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dstrtoofft.c55 curlx_strtoll(const char *nptr, char **endptr, int base) argument
80 if(endptr) {
81 *endptr = end;
138 if(endptr)
139 *endptr = end;
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIOStringFuncs.c85 long strtol(const char *nptr, char **endptr, int base);
86 unsigned long strtoul(const char *nptr, char **endptr, int base);
87 quad_t strtoq(const char *nptr, char **endptr, int base);
88 u_quad_t strtouq(const char *nptr, char **endptr, int base);
127 strtol(const char *nptr, char **endptr, int base) argument
204 if (endptr != 0)
208 *endptr = __CAST_AWAY_QUALIFIER(s - 1, const, char *);
212 *endptr = __CAST_AWAY_QUALIFIER(nptr, const, char *);
219 strtoul(const char *nptr, char **endptr, int base) argument
275 if (endptr !
297 strtoq(const char *nptr, char **endptr, int base) argument
398 strtouq(const char *nptr, char **endptr, register int base) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/libkern/net/
H A Dinet_aton.c46 char *endptr; local
60 l = strtoul(c, &endptr, 0);
62 if (l == ULONG_MAX || (l == 0 && endptr == c))
68 * If the whole string is invalid, endptr will equal
73 if (endptr == c)
76 c = endptr;
/macosx-10.9.5/gnudiff-19/diffutils/lib/
H A Dstrtoimax.c86 strtoimax (char const *ptr, char **endptr, int base) argument
94 return strtoll (ptr, endptr, base);
100 return strtol (ptr, endptr, base);
/macosx-10.9.5/swig-10/Lib/tcl/
H A Dtclprimtypes.swg88 char *endptr;
92 v = strtoul(nptr, &endptr,0);
93 if (nptr[0] == '\0' || *endptr != '\0')
99 if (*endptr == '\0') {
144 char *endptr;
147 v = strtoll(nptr, &endptr,0);
148 if (nptr[0] == '\0' || *endptr != '\0')
154 if (*endptr == '\0') {
199 char *endptr;
203 v = strtoull(nptr, &endptr,
[all...]
/macosx-10.9.5/uucp-11/uucp/lib/
H A Dstrtol.c51 strtol (nptr, endptr, base)
53 char **endptr;
146 if (endptr != NULL)
147 *endptr = (char *) s;
172 if (endptr != NULL)
173 *endptr = (char *) nptr;
/macosx-10.9.5/BerkeleyDB-21/db/clib/
H A Dstrtol.c51 strtol(nptr, endptr, base)
53 char ** endptr;
139 if (endptr != NULL)
140 *endptr = (char *)(any ? s - 1 : nptr);
H A Dstrtoul.c51 strtoul(nptr, endptr, base)
53 char ** endptr;
118 if (endptr != NULL)
119 *endptr = (char *)(any ? s - 1 : nptr);
/macosx-10.9.5/curl-78.94.1/curl/tests/libtest/
H A Dfirst.c86 char *endptr; local
87 long num = strtol(env, &endptr, 10);
88 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0))
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/port/
H A Dlibport.h42 unsigned long strtoul(const char *nptr, char **endptr, int base);

Completed in 188 milliseconds

123456