Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 13 of 13) 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/include/android/
Dlegacy_stdlib_inlines.h36 static __inline float strtof(const char *nptr, char **endptr) { in strtof() argument
37 return (float)strtod(nptr, endptr); in strtof()
40 static __inline double atof(const char *nptr) { return (strtod(nptr, NULL)); } in atof() argument
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dstrtoul.c43 strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
55 *endptr = (char *)nptr; in strtoul()
60 s = nptr; in strtoul()
107 *endptr = (char *) (any ? s - 1 : nptr); in strtoul()
Dstrtoull.c45 strtoull(const char *nptr, char **endptr, int base) in strtoull() argument
57 *endptr = (char *)nptr; in strtoull()
62 s = nptr; in strtoull()
109 *endptr = (char *) (any ? s - 1 : nptr); in strtoull()
Dstrtoumax.c42 strtoumax(const char *nptr, char **endptr, int base) in strtoumax() argument
54 *endptr = (char *)nptr; in strtoumax()
59 s = nptr; in strtoumax()
106 *endptr = (char *) (any ? s - 1 : nptr); in strtoumax()
Dstrtoimax.c42 strtoimax(const char *nptr, char **endptr, int base) in strtoimax() argument
55 *endptr = (char *)nptr; in strtoimax()
65 s = nptr; in strtoimax()
148 *endptr = (char *) (any ? s - 1 : nptr); in strtoimax()
Dstrtol.c43 strtol(const char *nptr, char **endptr, int base) in strtol() argument
56 *endptr = (char *)nptr; in strtol()
66 s = nptr; in strtol()
148 *endptr = (char *) (any ? s - 1 : nptr); in strtol()
Dstrtoll.c45 strtoll(const char *nptr, char **endptr, int base) in strtoll() argument
58 *endptr = (char *)nptr; in strtoll()
68 s = nptr; in strtoll()
151 *endptr = (char *) (any ? s - 1 : nptr); in strtoll()
/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()
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
68 s = nptr; in FUNCNAME()
134 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
D_wcstod.h42 FUNCNAME(const wchar_t *nptr, wchar_t **endptr) in FUNCNAME() argument
52 src = nptr; in FUNCNAME()
150 *endptr = (wchar_t*)nptr; in FUNCNAME()
/bionic/libc/bionic/
Dwchar.cpp233 long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base, in wcstoll_l() argument
235 return wcstoll(nptr, endptr, base); in wcstoll_l()
238 unsigned long long wcstoull_l(const wchar_t *nptr, wchar_t **endptr, in wcstoull_l() argument
240 return wcstoull(nptr, endptr, base); in wcstoull_l()
243 long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, locale_t) { in wcstold_l() argument
244 return wcstold(nptr, endptr); in wcstold_l()
Dndk_cruft.cpp146 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { in strntoumax() argument
147 const unsigned char* p = (const unsigned char *)nptr; in strntoumax()
194 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { in strntoimax() argument
195 return (intmax_t) strntoumax(nptr, endptr, base, n); in strntoimax()