Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 25 of 29) sorted by relevance

12

/glibc-2.36/elf/
Ddl-misc.c153 _dl_strtoul (const char *nptr, char **endptr) in _dl_strtoul() argument
172 if (endptr != NULL) in _dl_strtoul()
173 *endptr = (char *) nptr; in _dl_strtoul()
212 if (endptr != NULL) in _dl_strtoul()
213 *endptr = (char *) nptr; in _dl_strtoul()
221 if (endptr != NULL) in _dl_strtoul()
222 *endptr = (char *) nptr; in _dl_strtoul()
/glibc-2.36/resolv/nss_dns/
Ddns-canon.c88 unsigned char *endptr = ansp.ptr + r; in _nss_dns_getcanonname_r() local
91 int s = __libc_dn_skipname (ptr, endptr); in _nss_dns_getcanonname_r()
109 s = __libc_dn_skipname (ptr, endptr); in _nss_dns_getcanonname_r()
117 if (endptr - ptr < 10) in _nss_dns_getcanonname_r()
126 s = __libc_dn_expand (ansp.buf->buf, endptr, namestart, in _nss_dns_getcanonname_r()
164 if (endptr - ptr < rdatalen) in _nss_dns_getcanonname_r()
/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_l.c223 INTERNAL (__strtol_l) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL()
482 if (endptr != NULL) in INTERNAL()
483 *endptr = (STRING_TYPE *) s; in INTERNAL()
513 if (endptr != NULL) in INTERNAL()
517 *endptr = (STRING_TYPE *) &save[-1]; 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()
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()
Dstrtod_nan_main.c33 STRTOD_NAN (const STRING_TYPE *str, STRING_TYPE **endptr, STRING_TYPE endc) in STRTOD_NAN() argument
58 if (endptr != NULL) in STRTOD_NAN()
59 *endptr = (STRING_TYPE *) cp; in STRTOD_NAN()
Dstrtod_l.c170 do { if (endptr != NULL) *endptr = (STRING_TYPE *) (end); \
506 ____STRTOF_INTERNAL (const STRING_TYPE *nptr, STRING_TYPE **endptr, int group, in ____STRTOF_INTERNAL() argument
649 if (endptr != NULL) in ____STRTOF_INTERNAL()
650 *endptr = (STRING_TYPE *) in ____STRTOF_INTERNAL()
678 if (endptr != NULL) in ____STRTOF_INTERNAL()
679 *endptr = (STRING_TYPE *) cp; in ____STRTOF_INTERNAL()
1042 if (endptr) in ____STRTOF_INTERNAL()
1043 *endptr = (STRING_TYPE *) cp; 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/posix/
Dtst-spawn5.c53 char *endptr; in parse_fd() local
54 long unsigned int fd = strtoul (str, &endptr, 10); in parse_fd()
55 if (*endptr != '\0' || fd > INT_MAX) in parse_fd()
98 char *endptr; in handle_restart() local
99 long int fd = strtol (e->d_name, &endptr, 10); in handle_restart()
100 if (*endptr != '\0' || fd < 0 || fd > INT_MAX) in handle_restart()
Dtst-spawn6.c59 char *endptr; in handle_restart() local
60 long int tcfd = strtol (argv2, &endptr, 10); in handle_restart()
61 if (*endptr != '\0' || tcfd > INT_MAX) in handle_restart()
/glibc-2.36/support/
Dtst-support-open-dev-null-range.c73 char *endptr; in number_of_opened_files() local
74 long int fd = strtol (e->d_name, &endptr, 10); in number_of_opened_files()
75 if (*endptr != '\0' || fd < 0 || fd > INT_MAX) in number_of_opened_files()
Dsupport_descriptors.c84 char *endptr; in support_descriptors_list() local
85 long int fd = strtol (e->d_name, &endptr, 10); in support_descriptors_list()
86 if (*endptr != '\0' || fd < 0 || fd > INT_MAX) in support_descriptors_list()
Dtst-support_capture_subprocess.c135 char *endptr; in parse_int() local
138 ret = strtol (str, &endptr, 10); in parse_int()
/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/grp/
Dgrp-merge.c40 struct group *destgrp, char *destbuf, char **endptr) in __copy_grp() argument
110 if (endptr) in __copy_grp()
111 *endptr = destbuf + c; in __copy_grp()
Dgrp-merge.h28 struct group *destgrp, char *destbuf, char **endptr);
/glibc-2.36/string/
Dtest-strchr.c67 # define NULLRET(endptr) endptr argument
69 # define NULLRET(endptr) NULL argument
/glibc-2.36/nss/
DgetXXbyYY_r.c195 char *endptr = NULL; in libc_hidden_proto() local
295 err = MERGE_FN (&mergegrp, mergebuf, endptr, buflen, resbuf, in libc_hidden_proto()
338 err = DEEPCOPY_FN (*resbuf, buflen, &mergegrp, mergebuf, &endptr); in libc_hidden_proto()
/glibc-2.36/benchtests/
Dbench-strchr.c62 # define NULLRET(endptr) endptr argument
64 # define NULLRET(endptr) NULL argument
/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()

12