Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dstrtoul.c43 strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
54 if (endptr != 0) in strtoul()
55 *endptr = (char *)nptr; in strtoul()
106 if (endptr != 0) in strtoul()
107 *endptr = (char *) (any ? s - 1 : nptr); in strtoul()
Dstrtoull.c45 strtoull(const char *nptr, char **endptr, int base) in strtoull() argument
56 if (endptr != 0) in strtoull()
57 *endptr = (char *)nptr; in strtoull()
108 if (endptr != 0) in strtoull()
109 *endptr = (char *) (any ? s - 1 : nptr); in strtoull()
Dstrtoumax.c42 strtoumax(const char *nptr, char **endptr, int base) in strtoumax() argument
53 if (endptr != 0) in strtoumax()
54 *endptr = (char *)nptr; in strtoumax()
105 if (endptr != 0) in strtoumax()
106 *endptr = (char *) (any ? s - 1 : nptr); in strtoumax()
Dstrtol.c43 strtol(const char *nptr, char **endptr, int base) in strtol() argument
55 if (endptr != 0) in strtol()
56 *endptr = (char *)nptr; in strtol()
147 if (endptr != 0) in strtol()
148 *endptr = (char *) (any ? s - 1 : nptr); in strtol()
Dstrtoll.c45 strtoll(const char *nptr, char **endptr, int base) in strtoll() argument
57 if (endptr != 0) in strtoll()
58 *endptr = (char *)nptr; in strtoll()
150 if (endptr != 0) in strtoll()
151 *endptr = (char *) (any ? s - 1 : nptr); in strtoll()
Dstrtoimax.c42 strtoimax(const char *nptr, char **endptr, int base) in strtoimax() argument
54 if (endptr != 0) in strtoimax()
55 *endptr = (char *)nptr; in strtoimax()
147 if (endptr != 0) in strtoimax()
148 *endptr = (char *) (any ? s - 1 : nptr); in strtoimax()
/bionic/libc/upstream-openbsd/lib/libc/locale/
D_wcstoul.h48 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() argument
112 if (endptr != 0) in FUNCNAME()
114 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
D_wcstol.h49 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() argument
132 if (endptr != 0) in FUNCNAME()
134 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
/bionic/libc/include/android/
Dlegacy_stdlib_inlines.h39 static __inline float strtof(const char *nptr, char **endptr) { in strtof() argument
40 return (float)strtod(nptr, endptr); in strtof()
/bionic/libc/bionic/
Dwchar.cpp222 long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base, in wcstoll_l() argument
224 return wcstoll(nptr, endptr, base); in wcstoll_l()
227 unsigned long long wcstoull_l(const wchar_t *nptr, wchar_t **endptr, in wcstoull_l() argument
229 return wcstoull(nptr, endptr, base); in wcstoull_l()
232 long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, locale_t) { in wcstold_l() argument
233 return wcstold(nptr, endptr); in wcstold_l()
Dndk_cruft.cpp147 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { in strntoumax() argument
187 if (endptr) { in strntoumax()
188 *endptr = (char*) p; in strntoumax()
195 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { in strntoimax() argument
196 return (intmax_t) strntoumax(nptr, endptr, base, n); in strntoimax()
/bionic/libc/dns/resolv/
Dres_debug.c1184 char *endptr; in res_nametoclass() local
1195 result = strtoul(buf + 5, &endptr, 10); in res_nametoclass()
1196 if (errno == 0 && *endptr == '\0' && result <= 0xffffU) in res_nametoclass()
1207 char *endptr; in res_nametotype() local
1218 result = strtoul(buf + 4, &endptr, 10); in res_nametotype()
1219 if (errno == 0 && *endptr == '\0' && result <= 0xffffU) in res_nametotype()