Home
last modified time | relevance | path

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

/glibc-2.36/elf/
Ddl-misc.c153 _dl_strtoul (const char *nptr, char **endptr) in _dl_strtoul() argument
159 while (*nptr == ' ' || *nptr == '\t') in _dl_strtoul()
160 ++nptr; in _dl_strtoul()
162 if (*nptr == '-') in _dl_strtoul()
165 ++nptr; in _dl_strtoul()
167 else if (*nptr == '+') in _dl_strtoul()
168 ++nptr; in _dl_strtoul()
170 if (*nptr < '0' || *nptr > '9') in _dl_strtoul()
173 *endptr = (char *) nptr; in _dl_strtoul()
179 if (*nptr == '0') in _dl_strtoul()
[all …]
/glibc-2.36/nss/
Dtest-netdb.c213 output_netent (const char *call, struct netent *nptr) in output_netent() argument
217 if (nptr == NULL) in output_netent()
223 ip.s_addr = htonl(nptr->n_net); in output_netent()
225 call, nptr->n_name, inet_ntoa (ip)); in output_netent()
227 for (pptr = nptr->n_aliases; *pptr != NULL; pptr++) in output_netent()
235 struct netent *nptr; in test_network() local
242 nptr = getnetbyname ("loopback"); in test_network()
243 output_netent ("getnetbyname (\"loopback\")",nptr); in test_network()
245 nptr = getnetbyname ("LoopBACK"); in test_network()
246 output_netent ("getnetbyname (\"LoopBACK\")",nptr); in test_network()
[all …]
/glibc-2.36/stdlib/
Dstrtold_l.c42 INTERNAL (__STRTOLD) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL()
45 return INTERNAL (__STRTOD) (nptr, endptr, group, loc); in INTERNAL()
53 __STRTOLD (const STRING_TYPE *nptr, STRING_TYPE **endptr, locale_t loc) in libc_hidden_def()
55 return INTERNAL (__STRTOD) (nptr, endptr, 0, loc); in libc_hidden_def()
Dstrtol.c95 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL()
98 return INTERNAL (__strtol_l) (nptr, endptr, base, group, _NL_CURRENT_LOCALE); in INTERNAL()
104 __strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, int base) in libc_hidden_def()
106 return INTERNAL (__strtol_l) (nptr, endptr, base, 0, _NL_CURRENT_LOCALE); in libc_hidden_def()
Dstrtod.c67 INTERNAL (STRTOF) (const STRING_TYPE *nptr, STRING_TYPE **endptr, int group) in INTERNAL()
69 return INTERNAL(STRTOF_L) (nptr, endptr, group, _NL_CURRENT_LOCALE); in INTERNAL()
80 STRTOF (const STRING_TYPE *nptr, STRING_TYPE **endptr) in libc_hidden_def()
82 return INTERNAL(STRTOF_L) (nptr, endptr, 0, _NL_CURRENT_LOCALE); in libc_hidden_def()
Dstrtol_l.c223 INTERNAL (__strtol_l) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL()
288 save = s = nptr; in INTERNAL()
515 if (save - nptr >= 2 && TOUPPER (save[-1]) == L_('X') in INTERNAL()
520 *endptr = (STRING_TYPE *) nptr; in INTERNAL()
534 extern INT __strtol_l (const STRING_TYPE *nptr, STRING_TYPE **endptr,
543 __strtol_l (const STRING_TYPE *nptr, STRING_TYPE **endptr, in __strtol_l() argument
546 return INTERNAL (__strtol_l) (nptr, endptr, base, 0, loc); in __strtol_l()
Datof.c25 atof (const char *nptr) in atof() argument
27 return strtod (nptr, (char **) NULL); in atof()
Datol.c25 atol (const char *nptr) in atol() argument
27 return strtol (nptr, (char **) NULL, 10); in atol()
Datoll.c25 atoll (const char *nptr) in atoll() argument
27 return strtoll (nptr, (char **) NULL, 10); in atoll()
Datoi.c25 atoi (const char *nptr) in atoi() argument
27 return (int) strtol (nptr, (char **) NULL, 10); in atoi()
Dstrtod_l.c506 ____STRTOF_INTERNAL (const STRING_TYPE *nptr, STRING_TYPE **endptr, int group, in ____STRTOF_INTERNAL() argument
607 cp = nptr - 1; in ____STRTOF_INTERNAL()
685 RETURN (0.0, nptr); in ____STRTOF_INTERNAL()
766 tp == start_of_digits ? (base == 16 ? cp - 1 : nptr) : tp); in ____STRTOF_INTERNAL()
820 RETURN (0.0, nptr); in ____STRTOF_INTERNAL()
1781 __STRTOF (const STRING_TYPE *nptr, STRING_TYPE **endptr, locale_t loc) in libc_hidden_def()
1783 return ____STRTOF_INTERNAL (nptr, endptr, 0, loc); in libc_hidden_def()
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
Dnldbl-strtold.c7 strtold (const char *nptr, char **endptr) in strtold() argument
9 return strtod (nptr, endptr); in strtold()
Dnldbl-strtoldint.c7 __strtold_internal (const char *nptr, char **endptr, int group) in __strtold_internal() argument
9 return __strtod_internal (nptr, endptr, group); in __strtold_internal()
Dnldbl-wcstold.c7 wcstold (const wchar_t *nptr, wchar_t **endptr) in wcstold() argument
9 return wcstod (nptr, endptr); in wcstold()
Dnldbl-wcstoldint.c7 __wcstold_internal (const wchar_t *nptr, wchar_t **endptr, int group) in __wcstold_internal() argument
9 return __wcstod_internal (nptr, endptr, group); in __wcstold_internal()
Dnldbl-wcstold_l.c9 __wcstold_l (const wchar_t *nptr, wchar_t **endptr, locale_t loc) in __wcstold_l() argument
11 return __wcstod_l (nptr, endptr, loc); in __wcstold_l()
Dnldbl-strtold_l.c15 __strtold_l (const char *nptr, char **endptr, locale_t loc) in __strtold_l() argument
17 return __strtod_l (nptr, endptr, loc); in __strtold_l()
/glibc-2.36/nss/nss_files/
Dfiles-parse.c145 strtou32 (const char *nptr, char **endptr, int base) in strtou32() argument
147 unsigned long int val = strtoul (nptr, endptr, base); in strtou32()
/glibc-2.36/sysdeps/mach/hurd/
Ddl-sysdep.c709 __strtoul_internal (const char *nptr, char **endptr, int base, int group) in __strtoul_internal() argument
713 return _dl_strtoul (nptr, endptr); in __strtoul_internal()