/netbsd/external/apache2/llvm/dist/libcxx/include/__support/xlocale/ |
H A D | __strtonum_fallback.h | 24 return ::strtof(nptr, endptr); in strtof_l() 29 return ::strtod(nptr, endptr); in strtod_l() 34 return ::strtold(nptr, endptr); in strtold_l() 38 strtoll_l(const char *nptr, char **endptr, int base, locale_t) { in strtoll_l() argument 39 return ::strtoll(nptr, endptr, base); in strtoll_l() 43 strtoull_l(const char *nptr, char **endptr, int base, locale_t) { in strtoull_l() argument 44 return ::strtoull(nptr, endptr, base); in strtoull_l() 48 wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base, locale_t) { in wcstoll_l() argument 49 return ::wcstoll(nptr, endptr, base); in wcstoll_l() 54 return ::wcstoull(nptr, endptr, base); in wcstoull_l() [all …]
|
/netbsd/sys/arch/hpcmips/stand/lcboot/ |
H A D | main.c | 457 char *endptr; in command_dump() local 520 char *endptr; in load_srec() local 571 if (endptr != p) in load_srec() 638 char *endptr; in command_load() local 642 if (opt == endptr) in command_load() 650 char *endptr; in command_fill() local 670 if (opt == endptr) in command_fill() 712 char *endptr; in command_write() local 718 if (opt == endptr) in command_write() 723 if (opt == endptr) in command_write() [all …]
|
/netbsd/external/apache2/llvm/dist/libcxx/include/__support/musl/ |
H A D | xlocale.h | 27 static inline long long strtoll_l(const char *nptr, char **endptr, int base, in strtoll_l() argument 29 return strtoll(nptr, endptr, base); in strtoll_l() 32 static inline unsigned long long strtoull_l(const char *nptr, char **endptr, in strtoull_l() argument 34 return strtoull(nptr, endptr, base); in strtoull_l() 37 static inline long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, in wcstoll_l() argument 39 return wcstoll(nptr, endptr, base); in wcstoll_l() 43 wchar_t **endptr, int base, in wcstoull_l() argument 45 return wcstoull(nptr, endptr, base); in wcstoull_l() 48 static inline long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, in wcstold_l() argument 50 return wcstold(nptr, endptr); in wcstold_l()
|
/netbsd/common/lib/libc/stdlib/ |
H A D | _strtoi.h | 54 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME() argument 64 char ** __restrict endptr, int base, in _FUNCNAME() 80 if (endptr == NULL) in _FUNCNAME() 81 endptr = &ep; in _FUNCNAME() 93 im = __WRAPPED(nptr, endptr, base); in _FUNCNAME() 95 im = __WRAPPED_L(nptr, endptr, base, loc); in _FUNCNAME() 105 if (nptr == *endptr) in _FUNCNAME() 108 else if (**endptr != '\0') in _FUNCNAME() 132 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, lo, hi, in _FUNCNAME() 138 char ** __restrict endptr, int base, [all …]
|
H A D | _strtoul.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() 157 if (endptr != NULL) in _FUNCNAME() 159 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME() 166 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 168 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale()); in _FUNCNAME() 172 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, int base, locale_t loc) 174 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
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);
|
/netbsd/external/bsd/am-utils/dist/libamu/ |
H A D | mtab.c | 173 char *eq, *endptr; in hasmntvalerr() local 189 endptr = NULL; in hasmntvalerr() 190 i = strtol(eq, &endptr, 0); /* hex and octal allowed ;-) */ in hasmntvalerr() 191 if (!endptr || in hasmntvalerr() 192 (endptr != eq && (*endptr == ',' || *endptr == '\0'))) { in hasmntvalerr() 232 char *endptr = strchr(eq, ','); in hasmntstr() local 235 if (!endptr) in hasmntstr() 239 int len = endptr - eq; in hasmntstr()
|
/netbsd/lib/libc/locale/ |
H A D | _wcstod.h | 61 wchar_t ** __restrict endptr, locale_t loc) in INT_NAME() 119 if (endptr != NULL) in INT_NAME() 121 *endptr = __UNCONST(start + (size_t)(end - buf)); in INT_NAME() 128 if (endptr != NULL) in INT_NAME() 129 *endptr = __UNCONST(nptr); in INT_NAME() 135 wchar_t ** __restrict endptr) 137 return INT_NAME(_int_, _FUNCNAME, _l)(nptr, endptr, _current_locale()); 142 wchar_t ** __restrict endptr, locale_t loc) 144 return INT_NAME(_int_, _FUNCNAME, _l)(nptr, endptr, loc);
|
H A D | _wcstoul.h | 52 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, in INT_FUNCNAME() 120 if (endptr != 0) in INT_FUNCNAME() 121 *endptr = __UNCONST(any ? s - 1 : nptr); in INT_FUNCNAME() 126 _FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in _FUNCNAME() argument 128 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, in _FUNCNAME() 133 INT_FUNCNAME(, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, 136 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
H A D | _wcstol.h | 53 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, in INT_FUNCNAME() 144 if (endptr != 0) in INT_FUNCNAME() 145 *endptr = __UNCONST(any ? s - 1 : nptr); in INT_FUNCNAME() 150 _FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in _FUNCNAME() argument 152 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, in _FUNCNAME() 157 INT_FUNCNAME(, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, 160 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
/netbsd/usr.sbin/envstat/ |
H A D | config.c | 245 char *endptr, *tmp, *strval; in config_dict_adddev_prop() local 272 if (*endptr != '\0') { in config_dict_adddev_prop() 506 char *endptr; in config_devblock_check_sensorprops() local 518 if (*endptr != '\0') in config_devblock_check_sensorprops() 713 char *strval, *tmp, *endptr; in convert_val_to_pnumber() local 747 val = strtod(strval, &endptr); in convert_val_to_pnumber() 748 if (*endptr != '\0') { in convert_val_to_pnumber() 765 val = strtod(value, &endptr); in convert_val_to_pnumber() 766 if (*endptr != '\0') in convert_val_to_pnumber() 780 val = strtod(value, &endptr); in convert_val_to_pnumber() [all …]
|
/netbsd/external/gpl2/grep/dist/lib/ |
H A D | strtoumax.c | 57 strtoumax (char const *ptr, char **endptr, int base) in strtoumax() argument 60 if (sizeof (uintmax_t) == sizeof function (ptr, endptr, base)) \ in strtoumax() 61 return function (ptr, endptr, base); in strtoumax() 77 char *p, *endptr; in main() local 79 printf ("sizeof strtoull(): %d\n", sizeof strtoull(p, &endptr, 10)); in main() 80 printf ("sizeof strtoul(): %d\n", sizeof strtoul(p, &endptr, 10)); in main()
|
H A D | strtol.c | 264 INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM) 266 STRING_TYPE **endptr; variable 408 if (endptr != NULL) 409 *endptr = (STRING_TYPE *) s; 439 if (endptr != NULL) 443 *endptr = (STRING_TYPE *) &save[-1]; 446 *endptr = (STRING_TYPE *) nptr; 463 INT strtol PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)); 471 strtol (nptr, endptr, base LOCALE_PARAM) 473 STRING_TYPE **endptr; variable [all …]
|
/netbsd/external/bsd/blocklist/port/ |
H A D | _strtoi.h | 48 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME() argument 58 if (endptr == NULL) in _FUNCNAME() 59 endptr = &ep; in _FUNCNAME() 67 im = __WRAPPED(nptr, endptr, base); in _FUNCNAME() 74 if (nptr == *endptr) in _FUNCNAME() 77 else if (**endptr != '\0') in _FUNCNAME()
|
/netbsd/external/mit/lua/dist/src/ |
H A D | lobject.c | 190 *endptr = cast_charp(s); /* nothing is valid yet */ in lua_strx2number() 212 *endptr = cast_charp(s); /* valid up to here */ in lua_strx2number() 225 *endptr = cast_charp(s); /* valid up to here */ in lua_strx2number() 246 char *endptr; in l_str2dloc() local 248 : lua_str2number(s, &endptr); in l_str2dloc() 250 while (lisspace(cast_uchar(*endptr))) endptr++; /* skip trailing spaces */ in l_str2dloc() 251 return (*endptr == '\0') ? endptr : NULL; /* OK iff no trailing chars */ in l_str2dloc() 269 const char *endptr; in l_str2d() local 283 if (endptr != NULL) in l_str2d() 284 endptr = s + (endptr - buff); /* make relative to 's' */ in l_str2d() [all …]
|
/netbsd/external/gpl3/gdb/dist/sim/or1k/ |
H A D | sim-if.c | 100 char *endptr; in or1k_option_handler() local 102 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 103 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler() 116 char *endptr; in or1k_option_handler() local 118 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 119 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler() 136 char *endptr; in or1k_option_handler() local 138 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 139 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler()
|
/netbsd/external/gpl3/gdb.old/dist/sim/or1k/ |
H A D | sim-if.c | 100 char *endptr; in or1k_option_handler() local 102 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 103 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler() 116 char *endptr; in or1k_option_handler() local 118 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 119 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler() 136 char *endptr; in or1k_option_handler() local 138 n = strtoull (arg, &endptr, 0); in or1k_option_handler() 139 if (*arg != '\0' && *endptr == '\0') in or1k_option_handler()
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | bio_prefix_text.c | 143 char *endptr; in setup() local 164 amount = strtoul(arg, &endptr, 10); in setup() 165 if (endptr[0] != '\0') { in setup() 191 idx = strtoul(arg, &endptr, 10); in setup() 192 if (endptr[0] != ':') { in setup() 202 indent = strtoul(colon, &endptr, 10); in setup() 203 if (endptr[0] != '\0') { in setup() 229 idx = strtoul(arg, &endptr, 10); in setup() 230 if (endptr[0] != ':') { in setup()
|
/netbsd/external/gpl2/diffutils/dist/lib/ |
H A D | strtol.c | 260 INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM) 262 STRING_TYPE **endptr; variable 404 if (endptr != NULL) 405 *endptr = (STRING_TYPE *) s; 435 if (endptr != NULL) 439 *endptr = (STRING_TYPE *) &save[-1]; 442 *endptr = (STRING_TYPE *) nptr; 459 INT strtol PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)); 467 strtol (nptr, endptr, base LOCALE_PARAM) 469 STRING_TYPE **endptr; variable [all …]
|
/netbsd/external/lgpl3/mpc/dist/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()
|
/netbsd/external/bsd/ipf/dist/lib/ |
H A D | genmask.c | 19 char *endptr = 0L; local 46 bits = (int)strtol(msk, &endptr, 0); 51 if ((*endptr != '\0') || (bits < 0) || (bits > 128)) 56 if (*endptr != '\0' || bits > 32 || bits < 0)
|
/netbsd/external/gpl3/gcc/dist/libcpp/ |
H A D | makeucnid.c | 90 char *endptr; in read_ucnid() local 91 start = strtoul (l, &endptr, 16); in read_ucnid() 92 if (endptr == l || (*endptr != '-' && ! isspace (*endptr))) in read_ucnid() 94 l = endptr; in read_ucnid() 99 end = strtoul (l + 1, &endptr, 16); in read_ucnid() 102 l = endptr; in read_ucnid()
|
/netbsd/external/gpl3/gcc.old/dist/libcpp/ |
H A D | makeucnid.c | 90 char *endptr; in read_ucnid() local 91 start = strtoul (l, &endptr, 16); in read_ucnid() 92 if (endptr == l || (*endptr != '-' && ! isspace (*endptr))) in read_ucnid() 94 l = endptr; in read_ucnid() 99 end = strtoul (l + 1, &endptr, 16); in read_ucnid() 102 l = endptr; in read_ucnid()
|
/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | strtol.c | 255 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL() 395 if (endptr != NULL) in INTERNAL() 396 *endptr = (STRING_TYPE *) s; in INTERNAL() 426 if (endptr != NULL) in INTERNAL() 430 *endptr = (STRING_TYPE *) &save[-1]; in INTERNAL() 433 *endptr = (STRING_TYPE *) nptr; in INTERNAL() 446 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, in strtol() argument 449 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM); in strtol()
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | strtol.c | 242 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL() 382 if (endptr != NULL) in INTERNAL() 383 *endptr = (STRING_TYPE *) s; in INTERNAL() 413 if (endptr != NULL) in INTERNAL() 417 *endptr = (STRING_TYPE *) &save[-1]; in INTERNAL() 420 *endptr = (STRING_TYPE *) nptr; in INTERNAL() 433 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, in strtol() argument 436 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM); in strtol()
|