HomeSort by: relevance | last modified time | path
    Searched defs:endptr (Results 1 - 17 of 17) sorted by relevancy

  /src/bin/ls/
util.c 120 const char *endptr = src + strlen(src) + 1; local in function:printescaped
130 while (src < endptr) {
132 size_t rv, span = endptr - src;
  /src/usr.sbin/flashctl/
flashctl.c 232 char *endptr; local in function:to_intmax
238 *num = strtoimax(str, &endptr, 16);
242 *num = strtoimax(str, &endptr, 10);
  /src/sbin/canconfig/
canconfig.c 413 char *endptr; local in function:get_val
417 val = strtoul(cp, &endptr, 0);
418 if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
  /src/sys/arch/hpcmips/stand/lcboot/
main.c 457 char *endptr; local in function:command_dump
462 p = (const char *) strtoul(opt, &endptr, 16);
463 if (opt == endptr) {
469 limit = (const char *) strtoul(opt, &endptr, 16);
470 if (opt == endptr) {
520 char *endptr; local in function:load_srec
537 reclen_bk = reclen = strtoul(s2lbuf, &endptr, 16);
538 if (endptr != &s2lbuf[2])
570 recaddr = strtoul(s2lbuf, &endptr, 16);
571 if (endptr != p
638 char *endptr; local in function:command_load
650 char *endptr; local in function:command_fill
712 char *endptr; local in function:command_write
    [all...]
  /src/usr.bin/xargs/
xargs.c 92 char *endptr; local in function:main
172 Rflag = strtol(optarg, &endptr, 10);
173 if (*endptr != '\0')
180 Sflag = strtoul(optarg, &endptr, 10);
181 if (*endptr != '\0')
  /src/usr.sbin/envstat/
config.c 245 char *endptr, *strval; local in function:config_dict_adddev_prop
271 timo = strtoul(strval, &endptr, 10);
272 if (*endptr != '\0') {
506 char *endptr; local in function:config_devblock_check_sensorprops
517 val = strtod(strval, &endptr);
518 if (*endptr != '\0')
536 val = strtod(strval, &endptr);
537 if ((*endptr != '\0') || (val < 0 || val > 100))
564 val = strtod(strval, &endptr);
565 if ((*endptr != '\0') || (val < 0 || val > 100)
713 char *strval, *endptr; local in function:convert_val_to_pnumber
    [all...]
envstat.c 133 char *endptr, *configfile = NULL; local in function:main
159 interval = (unsigned int)strtoul(optarg, &endptr, 10);
160 if (*endptr != '\0')
194 width = (unsigned int)strtoul(optarg, &endptr, 10);
195 if (*endptr != '\0')
  /src/sys/external/bsd/libfdt/dist/
fdt_overlay.c 450 char *sep, *endptr; local in function:overlay_fixup_phandle
480 poffset = strtoul(sep + 1, &endptr, 10);
481 if ((*endptr != '\0') || (endptr <= (sep + 1)))
  /src/usr.sbin/syslogd/
sign.c 802 size_t linelen, tlsprefixlen, endptr, newlinelen; local in function:sign_msg_sign
806 endptr = strlen(sd);
808 assert(endptr < linesize);
809 assert(sd[endptr] == '\0');
810 assert(sd[endptr-1] == ']');
811 assert(sd[endptr-2] == '"');
841 sd[endptr-2] = '\0';
  /src/sbin/bioctl/
bioctl.c 600 char *endptr; local in function:bio_setstate_passthru
625 bs.bs_other_id = (unsigned int)strtoul(argv[1], &endptr, 10);
626 if (*endptr != '\0')
640 char *endptr; local in function:bio_setstate_consistency
654 bs.bs_volid = (unsigned int)strtoul(argv[1], &endptr, 10);
655 if (*endptr != '\0')
698 char *endptr, *stripe, levelstr[32]; local in function:bio_volops_create
730 bc.bc_volid = (unsigned int)strtoul(argv[1], &endptr, 10);
731 if (*endptr != '\0')
739 bc.bc_stripe = (unsigned int)strtoul(stripe, &endptr, 10)
902 char *endptr; local in function:bio_volops_remove
    [all...]
  /src/sbin/brconfig/
brconfig.c 497 char *endptr; local in function:get_val
501 val = strtoul(cp, &endptr, 0);
502 if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
  /src/usr.bin/units/
units.c 394 char *endptr; local in function:addunit
400 num = strtod(item, &endptr);
405 if (endptr != divider) {
414 num = strtod(divider + 1, &endptr);
423 if (*endptr) {
425 item = endptr;
430 num = strtod(item, &endptr);
439 if (*endptr) {
441 item = endptr;
  /src/usr.sbin/fwctl/
fwcontrol.c 116 char *endptr; local in function:str2node
126 node = strtol(nodestr, &endptr, 0);
127 if (*endptr == '\0')
  /src/usr.bin/usbhidctl/
usbhid.c 131 char *endptr; local in function:strtousage
146 result = strtol(numstr, &endptr, 0);
148 if (result < 0 || result > 0xffff || endptr != &numstr[nlen])
933 char *endptr; local in function:main
935 svar->usageinstance = strtol(varinst, &endptr, 0);
937 if (&name[namelen] != (char const*)endptr)
  /src/lib/libc/resolv/
res_debug.c 1199 char *endptr; local in function:res_nametoclass
1210 result = strtoul(buf + 5, &endptr, 10);
1211 if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
1222 char *endptr; local in function:res_nametotype
1233 result = strtoul(buf + 4, &endptr, 10);
1234 if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
  /src/sbin/cgdconfig/
cgdconfig.c 216 char *endptr; local in function:parse_size_t
220 v = strtol(s, &endptr, 10);
227 if (endptr == s) {
  /src/lib/libintl/
plural_parser.c 979 char buf[MAX_LEN_ATOM+2], *endptr; local in function:skip_nplurals
988 np = strtoul(buf, &endptr, 0);
989 endptrconst = _bcs_skip_ws(endptr);

Completed in 48 milliseconds