Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dwcstod.c148 wcstod_l (const wchar_t *nptr, wchar_t **endptr, in wcstod_l() argument
158 while (iswspace_l(*nptr, loc)) in wcstod_l()
159 nptr++; in wcstod_l()
171 wcp = nptr; in wcstod_l()
176 *endptr = (wchar_t *)nptr; in wcstod_l()
211 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l()
220 wcstof_l (const wchar_t *nptr, wchar_t **endptr, in wcstof_l() argument
230 while (iswspace_l(*nptr, loc)) in wcstof_l()
231 nptr++; in wcstof_l()
243 wcp = nptr; in wcstof_l()
[all …]
Dwcstold.c43 wcstold_l (const wchar_t *__restrict nptr, wchar_t **__restrict endptr, in wcstold_l() argument
48 return wcstod_l(nptr, endptr, loc); in wcstold_l()
59 while (iswspace (*nptr)) in wcstold_l()
60 nptr++; in wcstold_l()
63 wcp = nptr; in wcstold_l()
69 *endptr = (wchar_t *) nptr; in wcstold_l()
108 *endptr = (wchar_t *) nptr + (end - buf); in wcstold_l()
118 wcstold (const wchar_t *__restrict nptr, wchar_t **__restrict endptr) in wcstold() argument
122 return wcstod_l(nptr, endptr, __get_current_locale ()); in wcstold()
124 return wcstold_l(nptr, endptr, __get_current_locale ()); in wcstold()
Dreallocf.c38 void *nptr; in reallocf() local
40 nptr = realloc(ptr, size); in reallocf()
41 if (!nptr && ptr) in reallocf()
43 return (nptr); in reallocf()
Dstrtoimax.c59 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoimax_l() argument
62 const char *s = nptr; in strtoimax_l()
145 *endptr = (char *)(any ? s - 1 : nptr); in strtoimax_l()
150 strtoimax(const char* __restrict nptr, char** __restrict endptr, int base) in strtoimax() argument
152 return strtoimax_l(nptr, endptr, base, __get_current_locale()); in strtoimax()
Dstrtoumax.c59 strtoumax_l(const char * __restrict nptr, in strtoumax_l() argument
62 const char *s = nptr; in strtoumax_l()
124 *endptr = (char *)(any ? s - 1 : nptr); in strtoumax_l()
130 strtoumax(const char* __restrict nptr, char** __restrict endptr, int base) in strtoumax() argument
132 return strtoumax_l(nptr, endptr, base, __get_current_locale()); in strtoumax()
Dwcstoimax.c60 wcstoimax_l(const wchar_t * __restrict nptr, in wcstoimax_l() argument
63 const wchar_t *s = nptr; in wcstoimax_l()
131 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoimax_l()
136 wcstoimax(const wchar_t* __restrict nptr, wchar_t** __restrict endptr, int base) in wcstoimax() argument
138 return wcstoimax_l(nptr, endptr, base, __get_current_locale()); in wcstoimax()
Dwcstoumax.c59 wcstoumax_l(const wchar_t * __restrict nptr, in wcstoumax_l() argument
62 const wchar_t *s = nptr; in wcstoumax_l()
129 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoumax_l()
134 wcstoumax(const wchar_t* __restrict nptr, wchar_t** __restrict endptr, int base) in wcstoumax() argument
136 return wcstoumax_l(nptr, endptr, base, __get_current_locale()); in wcstoumax()
Dstrtol.c123 _strtol_l (const char *__restrict nptr, in _strtol_l() argument
126 register const unsigned char *s = (const unsigned char *)nptr; in _strtol_l()
135 *endptr = (char *) nptr; in _strtol_l()
208 *endptr = (char *) (any ? (char *)s - 1 : nptr); in _strtol_l()
Dstrtoul.c131 strtoul_l (const char *__restrict nptr, char **__restrict endptr, int base, in strtoul_l() argument
134 register const unsigned char *s = (const unsigned char *)nptr; in strtoul_l()
186 *endptr = (char *) (any ? (char *)s - 1 : nptr); in strtoul_l()
Dstrtoull.c127 _strtoull_l (const char *__restrict nptr, in _strtoull_l() argument
130 register const unsigned char *s = (const unsigned char *)nptr; in _strtoull_l()
182 *endptr = (char *) (any ? (char *)s - 1 : nptr); in _strtoull_l()
Dstrtoll.c131 _strtoll_l (const char *__restrict nptr, in _strtoll_l() argument
134 register const unsigned char *s = (const unsigned char *)nptr; in _strtoll_l()
207 *endptr = (char *) (any ? (char *)s - 1 : nptr); in _strtoll_l()
Dwcstol.c133 wcstol_l (const wchar_t *nptr, wchar_t **endptr, in wcstol_l() argument
136 register const wchar_t *s = nptr; in wcstol_l()
209 *endptr = (wchar_t *) (any ? s - 1 : nptr); in wcstol_l()
Dwcstoll.c132 wcstoll_l (const wchar_t *nptr, wchar_t **endptr, in wcstoll_l() argument
135 register const wchar_t *s = nptr; in wcstoll_l()
208 *endptr = (wchar_t *) (any ? s - 1 : nptr); in wcstoll_l()
Dwcstoul.c133 wcstoul_l (const wchar_t *nptr, wchar_t **endptr, in wcstoul_l() argument
136 register const wchar_t *s = nptr; in wcstoul_l()
188 *endptr = (wchar_t *) (any ? s - 1 : nptr); in wcstoul_l()
Dwcstoull.c144 wcstoull_l (const wchar_t *nptr, wchar_t **endptr, in wcstoull_l() argument
147 register const wchar_t *s = nptr; in wcstoull_l()
203 *endptr = (wchar_t *) (any ? s - 1 : nptr); in wcstoull_l()
Dstrtod.c1293 strtold (const char * nptr, char ** endptr)
1295 return (long double) strtod(nptr, endptr);
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dstrtod.c67 strtod (const char * nptr, char ** endptr) in strtod() argument
73 while (isspace(nptr[len])) in strtod()
76 ret = conv_flt(nptr, &len, INT_MAX, &flt, FL_LONG); in strtod()
82 *endptr = (char *) nptr + len; in strtod()
94 strtold (const char * nptr, char ** endptr) in strtold() argument
96 return (long double) strtod(nptr, endptr); in strtold()
Dstrtof.c66 strtof (const char * nptr, char ** endptr) in strtof() argument
72 while (isspace(nptr[len])) in strtof()
75 ret = conv_flt(nptr, &len, INT_MAX, &flt, 0); in strtof()
81 *endptr = (char *) nptr + len; in strtof()
Dstrtold.c68 strtold (const char * nptr, char ** endptr) in strtold() argument
74 while (isspace(nptr[len])) in strtold()
77 ret = conv_flt(nptr, &len, INT_MAX, &flt, FL_LONG); in strtold()
83 *endptr = (char *) nptr + len; in strtold()
Dstrtoi.h40 strtoi(const char *__restrict nptr, char **__restrict endptr, int ibase) in strtoi() argument
48 *endptr = (char *) nptr; in strtoi()
55 const unsigned char *s = (const unsigned char *) nptr; in strtoi()
79 nptr = (const char *) s; in strtoi()
127 nptr = (const char *) s; in strtoi()
133 *endptr = (char *) nptr; in strtoi()
Dgetdelim.c41 getdelim (char **restrict lineptr, size_t *restrict nptr, in getdelim() argument
45 size_t n = *nptr; in getdelim()
72 *nptr = n; in getdelim()
Dstrtod_l.c56 strtold_l (const char * nptr, char ** endptr, locale_t loc) in strtold_l() argument
59 return (long double) strtod_l(nptr, endptr, loc); in strtold_l()
/picolibc-3.7.0-3.6.0/newlib/libc/locale/
Dnl_langinfo.c177 char *nptr; in nl_langinfo_l() local
350 nptr = realloc(csym, clen + 2); in nl_langinfo_l()
351 if (!nptr && csym) in nl_langinfo_l()
354 csym = nptr; in nl_langinfo_l()