| /dflybsd-src/lib/libtcplay/ |
| H A D | humanize.c | 75 char *endptr; in _dehumanize_number() local 128 n = n_check = strtoull(buf, &endptr, 10); in _dehumanize_number() 129 if (endptr) { in _dehumanize_number() 130 if ((*endptr != '.') && (*endptr != '\0') && in _dehumanize_number() 131 (*endptr != ' ') && (endptr != &buf[len-1])) { in _dehumanize_number() 136 if (*endptr == '.') { in _dehumanize_number() 137 d = strtoull(endptr+1, &endptr, 10); in _dehumanize_number() 138 if (endptr && (*endptr != '\0') && in _dehumanize_number() 139 (*endptr != ' ') && in _dehumanize_number() 140 (endptr != &buf[len-1])) { in _dehumanize_number()
|
| /dflybsd-src/lib/libc/locale/ |
| H A D | wcstod.c | 50 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstod_l() argument 81 if (endptr != NULL) in wcstod_l() 82 *endptr = (wchar_t *)nptr; in wcstod_l() 86 if (endptr != NULL) in wcstod_l() 87 *endptr = (wchar_t *)nptr; in wcstod_l() 102 if (endptr != NULL) { in wcstod_l() 103 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l() 105 *endptr += spaces; in wcstod_l() 113 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstod() argument 115 return wcstod_l(nptr, endptr, __get_locale()); in wcstod()
|
| H A D | wcstold.c | 44 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstold_l() argument 65 if (endptr != NULL) in wcstold_l() 66 *endptr = (wchar_t *)nptr; in wcstold_l() 70 if (endptr != NULL) in wcstold_l() 71 *endptr = (wchar_t *)nptr; in wcstold_l() 79 if (endptr != NULL) { in wcstold_l() 80 *endptr = (wchar_t *)nptr + (end - buf); in wcstold_l() 82 *endptr += spaces; in wcstold_l() 90 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstold() argument 92 return wcstold_l(nptr, endptr, __get_locale()); in wcstold()
|
| H A D | wcstof.c | 44 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstof_l() argument 65 if (endptr != NULL) in wcstof_l() 66 *endptr = (wchar_t *)nptr; in wcstof_l() 70 if (endptr != NULL) in wcstof_l() 71 *endptr = (wchar_t *)nptr; in wcstof_l() 79 if (endptr != NULL) { in wcstof_l() 80 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l() 82 *endptr += spaces; in wcstof_l() 90 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstof() argument 92 return wcstof_l(nptr, endptr, __get_locale()); in wcstof()
|
| H A D | wcstoul.c | 49 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoul_l() argument 123 if (endptr != NULL) in wcstoul_l() 124 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoul_l() 128 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoul() argument 130 return wcstoul_l(nptr, endptr, base, __get_locale()); in wcstoul()
|
| H A D | wcstoull.c | 50 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull_l() argument 124 if (endptr != NULL) in wcstoull_l() 125 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoull_l() 129 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull() argument 132 return wcstoull_l(nptr, endptr, base, __get_locale()); in wcstoull()
|
| H A D | wcstoumax.c | 50 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax_l() argument 124 if (endptr != NULL) in wcstoumax_l() 125 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoumax_l() 129 wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax() argument 132 return wcstoumax_l(nptr, endptr, base, __get_locale()); in wcstoumax()
|
| H A D | wcstol.c | 49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int in wcstol_l() argument 125 if (endptr != NULL) in wcstol_l() 126 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstol_l() 130 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstol() argument 132 return wcstol_l(nptr, endptr, base, __get_locale()); in wcstol()
|
| H A D | wcstoll.c | 50 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoll_l() argument 126 if (endptr != NULL) in wcstoll_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoll_l() 131 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoll() argument 133 return wcstoll_l(nptr, endptr, base, __get_locale()); in wcstoll()
|
| H A D | wcstoimax.c | 50 wcstoimax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax_l() argument 126 if (endptr != NULL) in wcstoimax_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoimax_l() 131 wcstoimax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax() argument 134 return wcstoimax_l(nptr, endptr, base, __get_locale()); in wcstoimax()
|
| /dflybsd-src/test/debug/ |
| H A D | kwrite.c | 31 char *endptr, *endptr2; in main() local 37 addr = strtoul(argv[1], &endptr, 0); in main() 38 if (endptr == argv[1]) in main() 42 switch (*endptr) { in main() 46 endptr++; in main() 47 width = strtoul(endptr, &endptr2, 0); in main() 48 if (endptr2 == endptr) in main() 51 err(1, "width '%s'", endptr); in main() 79 v = strtol(argv[2 + i], &endptr, 0); in main() 80 if (endptr == argv[2 + i] || *endptr != 0) in main()
|
| /dflybsd-src/contrib/binutils-2.27/libiberty/ |
| H A D | d-demangle.c | 46 extern long strtol (const char *nptr, char **endptr, int base); 705 char *endptr; in dlang_identifier() local 711 len = strtol (mangled, &endptr, 10); in dlang_identifier() 713 if (endptr == NULL || len <= 0) in dlang_identifier() 726 for (pend = endptr; endptr != NULL; pend--) in dlang_identifier() 735 pend = endptr; in dlang_identifier() 736 endptr = NULL; in dlang_identifier() 762 if (strlen (endptr) < (size_t) len) in dlang_identifier() 765 mangled = endptr; in dlang_identifier() 874 char *endptr; in dlang_parse_integer() local [all …]
|
| /dflybsd-src/contrib/bmake/ |
| H A D | _strtol.h | 46 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 54 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const char *nptr, char **endptr, in _FUNCNAME() 70 if (endptr != NULL) in _FUNCNAME() 72 *endptr = __UNCONST(nptr); in _FUNCNAME() 194 if (endptr != NULL) in _FUNCNAME() 196 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME() 203 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 205 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale()); in _FUNCNAME() 209 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, int base, locale_t loc) 211 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
| /dflybsd-src/usr.sbin/cpucontrol/ |
| H A D | cpucontrol.c | 138 char *endptr; in do_cpuid() local 143 level = strtoul(cmdarg, &endptr, 16); in do_cpuid() 144 if (*cmdarg == '\0' || *endptr != '\0') { in do_cpuid() 174 char *cmdarg1, *endptr, *endptr1; in do_cpuid_count() local 182 level = strtoul(cmdarg, &endptr, 16); in do_cpuid_count() 183 if (*cmdarg == '\0' || *endptr == '\0') { in do_cpuid_count() 189 cmdarg1 = strstr(endptr, ","); in do_cpuid_count() 233 char *endptr; in do_msr() local 248 msr = strtoul(cmdarg, &endptr, 16); in do_msr() 249 switch (*endptr) { in do_msr() [all …]
|
| /dflybsd-src/contrib/dhcpcd/compat/ |
| H A D | _strtoi.h | 51 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME() argument 61 if (endptr == NULL) in _FUNCNAME() 62 endptr = &ep; in _FUNCNAME() 70 im = __WRAPPED(nptr, endptr, base); in _FUNCNAME() 77 if (nptr == *endptr) in _FUNCNAME() 80 else if (**endptr != '\0') in _FUNCNAME()
|
| /dflybsd-src/contrib/gcc-4.7/libcpp/ |
| H A D | makeucnid.c | 77 char *endptr; in read_ucnid() local 78 start = strtoul (l, &endptr, 16); in read_ucnid() 79 if (endptr == l || (*endptr != '-' && ! isspace (*endptr))) in read_ucnid() 81 l = endptr; in read_ucnid() 86 end = strtoul (l + 1, &endptr, 16); in read_ucnid() 89 l = endptr; in read_ucnid()
|
| /dflybsd-src/contrib/mpc/src/ |
| H A D | strtoc.c | 35 mpc_strtoc (mpc_ptr rop, const char *nptr, char **endptr, int base, mpc_rnd_t rnd) in mpc_strtoc() argument 79 if (endptr != NULL) in mpc_strtoc() 80 *endptr = (char*) p; in mpc_strtoc() 84 if (endptr != NULL) in mpc_strtoc() 85 *endptr = (char*) nptr; in mpc_strtoc()
|
| /dflybsd-src/usr.bin/shlock/ |
| H A D | shlock.c | 60 char *endptr; in main() local 74 tmp_pid = strtol(optarg, &endptr, 10); in main() 75 if (*endptr != '\0' || errno || in main() 231 char *endptr; in check_lock() local 242 tmp_pid = strtol(buf, &endptr, 10); in check_lock() 243 if ((*endptr != '\0' && *endptr != '\n') || errno || in check_lock()
|
| /dflybsd-src/tools/multimedia/cxm/setchannel/ |
| H A D | cxm_setchannel.c | 61 char *endptr; in main() local 156 freq = strtol(argv[optind], &endptr, 10) * 1000; in main() 157 if (ptr != endptr) { in main() 163 fraction = strtol(ptr, &endptr, 10); in main() 164 if (!isdigit(*ptr) || *endptr != '\0') { in main() 168 for (i = endptr - ptr; i > 3; i--) in main()
|
| /dflybsd-src/lib/libc/stdlib/ |
| H A D | _strtoul.h | 47 _FUNCNAME_L(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME_L() argument 125 if (endptr != NULL) in _FUNCNAME_L() 127 *endptr = __DECONST(char *, (any ? s - 1 : nptr)); in _FUNCNAME_L() 133 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base) in _FUNCNAME() argument 135 return _FUNCNAME_L(nptr, endptr, base, __get_locale()); in _FUNCNAME()
|
| H A D | _strtol.h | 47 _FUNCNAME_L(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME_L() argument 157 if (endptr != NULL) in _FUNCNAME_L() 159 *endptr = __DECONST(char *, (any ? s - 1 : nptr)); in _FUNCNAME_L() 164 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base) in _FUNCNAME() argument 166 return _FUNCNAME_L(nptr, endptr, base, __get_locale()); in _FUNCNAME()
|
| /dflybsd-src/lib/libc/citrus/ |
| H A D | _strtol.h | 47 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 58 if (endptr != NULL) in _FUNCNAME() 60 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 166 if (endptr != NULL) in _FUNCNAME() 168 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | dbgcnt.c | 103 char *endptr = NULL; in dbg_cnt_process_single_pair() local 109 value = strtol (colon + 1, &endptr, 10); in dbg_cnt_process_single_pair() 111 if (endptr != NULL && endptr != colon + 1 in dbg_cnt_process_single_pair() 113 return endptr; in dbg_cnt_process_single_pair()
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | dbgcnt.c | 105 char *endptr = NULL; in dbg_cnt_process_single_pair() local 111 value = strtol (colon + 1, &endptr, 10); in dbg_cnt_process_single_pair() 113 if (endptr != NULL && endptr != colon + 1 in dbg_cnt_process_single_pair() 115 return endptr; in dbg_cnt_process_single_pair()
|
| H A D | tree-ssa-strlen.c | 52 tree endptr; member 343 si->endptr = NULL_TREE; in new_strinfo() 466 si->endptr = lhs; in get_string_length() 526 nsi->endptr = si->endptr; in unshare_strinfo() 584 if (chainsi->endptr == NULL_TREE) in zero_length_string() 587 chainsi->endptr = ptr; in zero_length_string() 596 if (chainsi->endptr == NULL_TREE) in zero_length_string() 599 chainsi->endptr = ptr; in zero_length_string() 626 si->endptr = ptr; in zero_length_string() 633 if (chainsi->endptr == NULL_TREE) in zero_length_string() [all …]
|