Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/stdlib/
Dreallocarr.c61 void *nptr; in __weak_alias() local
67 nptr = NULL; in __weak_alias()
68 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias()
85 nptr = realloc(optr, number * size); in __weak_alias()
86 if (__predict_false(nptr == NULL)) { in __weak_alias()
90 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias()
/bionic/libc/bionic/
Dstrtol.cpp36 template <typename T, T Min, T Max> T StrToI(const char* nptr, char** endptr, int base) { in StrToI() argument
39 if (endptr != nullptr) *endptr = const_cast<char*>(nptr); in StrToI()
47 const char* s = nptr; in StrToI()
94 if (endptr != nullptr) *endptr = const_cast<char*>(any ? s - 1 : nptr); in StrToI()
106 template <typename T, T Max> T StrToU(const char* nptr, char** endptr, int base) { in StrToU() argument
108 if (endptr != nullptr) *endptr = const_cast<char*>(nptr); in StrToU()
113 const char* s = nptr; in StrToU()
158 if (endptr != nullptr) *endptr = const_cast<char*>(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
151 const unsigned char* p = (const unsigned char *)nptr; 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()
/bionic/libc/include/android/
Dlegacy_stdlib_inlines.h59 static __inline float strtof(const char* nptr, char** endptr) { in strtof() argument
60 double d = strtod(nptr, endptr); in strtof()
71 static __inline double atof(const char *nptr) { return (strtod(nptr, NULL)); } in atof() argument
/bionic/libc/upstream-openbsd/lib/libc/locale/
D_wcstoul.h48 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() argument
66 s = nptr; 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
68 s = nptr; in FUNCNAME()
133 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()