Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 3 of 3) 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.cpp38 T StrToI(const CharT* nptr, CharT** endptr, int base) { in StrToI() argument
41 if (endptr != nullptr) *endptr = const_cast<CharT*>(nptr); in StrToI()
49 const CharT* s = 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()
121 const CharT* s = 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
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()