Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dstrtol.cpp38 T StrToI(const CharT* nptr, CharT** endptr, int base) { in StrToI() argument
41 if (endptr != nullptr) *endptr = const_cast<CharT*>(nptr); in StrToI()
101 if (endptr != nullptr) *endptr = const_cast<CharT*>(any ? s - 1 : nptr); in StrToI()
114 T StrToU(const CharT* nptr, CharT** endptr, int base) { in StrToU() argument
116 if (endptr != nullptr) *endptr = const_cast<CharT*>(nptr); in StrToU()
171 if (endptr != nullptr) *endptr = const_cast<CharT*>(any ? s - 1 : nptr); in StrToU()
Dndk_cruft.cpp150 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { in strntoumax() argument
190 if (endptr) { in strntoumax()
191 *endptr = (char*) p; in strntoumax()
198 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { in strntoimax() argument
199 return (intmax_t) strntoumax(nptr, endptr, base, n); in strntoimax()
Dlibc_init_static.cpp319 char* endptr; in __libc_init_mte() local
320 timed_upgrade = strtoll(env, &endptr, 10); in __libc_init_mte()
321 if (*endptr != '\0' || timed_upgrade < 0) { in __libc_init_mte()
/bionic/libc/dns/resolv/
Dres_debug.c1202 char *endptr; in res_nametoclass() local
1213 result = strtoul(buf + 5, &endptr, 10); in res_nametoclass()
1214 if (errno == 0 && *endptr == '\0' && result <= 0xffffU) in res_nametoclass()
1225 char *endptr; in res_nametotype() local
1236 result = strtoul(buf + 4, &endptr, 10); in res_nametotype()
1237 if (errno == 0 && *endptr == '\0' && result <= 0xffffU) in res_nametotype()