Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dstrtol.cpp37 template <typename T, T Min, T Max> T StrToI(const char* nptr, char** endptr, int base) { in StrToI() argument
40 if (endptr != nullptr) *endptr = const_cast<char*>(nptr); in StrToI()
96 if (endptr != nullptr) *endptr = const_cast<char*>(any ? s - 1 : nptr); in StrToI()
108 template <typename T, T Max> T StrToU(const char* nptr, char** endptr, int base) { in StrToU() argument
110 if (endptr != nullptr) *endptr = const_cast<char*>(nptr); in StrToU()
161 if (endptr != nullptr) *endptr = const_cast<char*>(any ? s - 1 : nptr); in StrToU()
Dndk_cruft.cpp149 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { in strntoumax() argument
189 if (endptr) { in strntoumax()
190 *endptr = (char*) p; in strntoumax()
197 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { in strntoimax() argument
198 return (intmax_t) strntoumax(nptr, endptr, base, n); in strntoimax()
/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()
113 *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()
133 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
/bionic/libc/include/android/
Dlegacy_stdlib_inlines.h58 static __inline float strtof(const char* nptr, char** endptr) { in strtof() argument
59 double d = strtod(nptr, endptr); in strtof()
/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()