HomeSort by: relevance | last modified time | path
    Searched refs:strtoi (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/common/lib/libc/stdlib/
strtoi.c 1 /* $NetBSD: strtoi.c,v 1.3 2019/11/28 12:33:23 roy Exp $ */
38 __RCSID("$NetBSD: strtoi.c,v 1.3 2019/11/28 12:33:23 roy Exp $");
60 #define _FUNCNAME strtoi
67 __weak_alias(strtoi, _strtoi)
  /src/lib/libc/stdlib/
strtonum.c 63 rv = (long long)strtoi(nptr, &eptr, 10, minval, maxval, &e);
Makefile.inc 16 strtoi.c strtou.c strtonum.c \
60 strfmon.3 strsuftoll.3 strtod.3 strtoi.3 strtol.3 strtou.3 strtoul.3 \
65 strtou.3: strtoi.3
67 ${TOOL_SED} -e s/strtoi/strtou/g -e s/STRTOI/STRTOU/g \
68 -e 's/an intmax_t/a unitmax_t/g' -e 's/strtou 3/strtoi 3/g' \
105 MLINKS+=strtoi.3 strtoi_l.3
  /src/usr.bin/scmdctl/
scmdctl.c 176 baud_rate = (long)strtoi(optarg, NULL, 0, 1, LONG_MAX, &error);
182 slave_a = (long)strtoi(optarg, NULL, 0, 0, LONG_MAX, &error);
263 module = (long)strtoi(argv[2], NULL, 10, 0, 16, &error);
273 module = (long)strtoi(argv[2], NULL, 10, 0, 16, &error);
288 module = (long)strtoi(argv[3], NULL, 10, 0, 16, &error);
297 module = (long)strtoi(argv[3], NULL, 10, 0, 16, &error);
302 reg_value = (int8_t)strtoi(argv[5], NULL, 0, -127, 127, &error);
314 module = (long)strtoi(argv[3], NULL, 10, 0, 16, &error);
328 module = (long)strtoi(argv[3], NULL, 10, 0, 16, &error);
364 module = (long)strtoi(argv[2], NULL, 10, 0, 16, &error)
    [all...]
  /src/tests/lib/libc/stdlib/
t_strtoi.c 64 atf_tc_fail_nonfatal("strtoi(\"%s\", &end, %d, %jd, %jd, "
83 atf_tc_fail_nonfatal("strtoi(\"%s\", &end, %d, %jd, %jd, &rstatus)"
96 "strtoi(\"%s\", &end, %d, %jd, %jd, &rstatus), "
105 atf_tc_fail("strtoi(3) changed errno to %d ('%s')",
112 atf_tc_set_md_var(tc, "descr", "Test strtoi(3) with different bases");
180 rv = strtoi(t[i].str, &end, t[i].base, t[i].lo, t[i].hi, &e);
193 rv = strtoi(f[i].str, &end, f[i].base, f[i].lo, f[i].hi, &e);
204 atf_tc_set_md_var(tc, "descr", "Case insensitivity with strtoi(3)");
238 rv = strtoi(t[i].str, &end, t[i].base, t[i].lo, t[i].hi, &e);
249 atf_tc_set_md_var(tc, "descr", "Test ERANGE from strtoi(3)")
    [all...]
  /src/include/
inttypes.h 81 intmax_t strtoi(const char * __restrict, char ** __restrict, int,
  /src/usr.sbin/emcfanctl/
emcfanctl.c 381 start_reg = (uint8_t)strtoi(argv[3], NULL, 0, 0, 0xff, &error);
391 end_reg = (uint8_t)strtoi(argv[4], NULL, 0, 0, 0xff, &error);
421 start_reg = (uint8_t)strtoi(argv[3], NULL, 0, 0, 0xff, &error);
430 value = (uint8_t)strtoi(argv[4], NULL, 0, 0, 0xff, &error);
466 the_fan = strtoi(argv[2], NULL, 0, 1, emcfan_chip_infos[iindex].num_fans, &error);
502 the_fan = strtoi(argv[2], NULL, 0, 1, emcfan_chip_infos[iindex].num_tachs, &error);
605 value = (uint8_t)strtoi(argv[5], NULL, 0, 0, 0xff, &error);
639 value = (int)strtoi(argv[5], NULL, 0, 0, 0xffff, &error);
678 value = (uint8_t)strtoi(argv[5], NULL, 0, 0, 9, &error);
766 value = (int)strtoi(argv[5], NULL, 0, 0, 0xffff, &error)
    [all...]
  /src/lib/libc/stdio/
makebuf.c 98 s = strtoi(evp, NULL, 0, 0, 1024 * 1024, &e);
  /src/lib/libutil/
pidfile.c 160 pid = (pid_t)strtoi(buf, &eptr, 10, 1, INT_MAX, &error);
efun.c 181 intmax_t rv = strtoi(nptr, NULL, base, lo, hi, &e);
  /src/usr.bin/nc/
netcat.c 235 iflag = strtoi(optarg, NULL, 0, 0, UINT_MAX, &errnum);
251 ttl = strtoi(optarg, NULL, 0, 0, 255, &errnum);
256 minttl = strtoi(optarg, NULL, 0, 0, 255, &errnum);
292 rtableid = (int)strtoi(optarg, NULL, 0, 0, 255, &errnum);
301 timeout = strtoi(optarg, NULL, 0, 0, INT_MAX / 1000, &errnum);
318 Iflag = strtoi(optarg, NULL, 0, 1, 65536 << 14, &errnum);
324 Oflag = strtoi(optarg, NULL, 0, 1, 65536 << 14, &errnum);
343 Tflag = (int)strtoi(optarg, NULL, 0, 0, 255, &errnum);
1408 port = strtoi(portstr, NULL, 0, 1, PORT_MAX, &errnum);
  /src/usr.bin/tip/
cu.c 142 BR = (long)strtoi(optarg, NULL, 0, 1, LONG_MAX, &e);
  /src/usr.bin/m4/
eval.c 188 base = strtoi(argv[3], NULL, 0, 2, 36, &e);
194 maxdigits = strtoi(argv[4], NULL, 0, 0, INT_MAX, &e);
861 n = strtoi(argv[ind], NULL, 0, 1, INT_MAX, &e);
  /src/usr.bin/getnameinfo/
getnameinfo.c 302 const intmax_t port = strtoi(port_str, NULL, 0, 0, 65535, &r);
  /src/usr.sbin/usbdevs/
usbdevs.c 399 addr = strtoi(optarg, NULL, 10, 0, USB_MAX_DEVICES - 1,
  /src/tools/compat/
Makefile 27 strtoi.c strtou.c \
configure.ac 204 setenv, strtonum, strtoi, strtoll, strtou, setprogname, shquote],,, [
253 strtoi strtoll strtou strtonum \
compat_defs.h 634 intmax_t strtoi(const char * __restrict, char ** __restrict, int,
  /src/usr.bin/col/
col.c 160 max_bufd_lines = (int)strtoi(optarg, NULL, 0, 1,
  /src/sys/lib/libkern/
libkern.h 469 intmax_t strtoi(const char * __restrict, char ** __restrict, int, intmax_t,
  /src/usr.sbin/inetd/
parse_v2.c 787 count = (int)strtoi(arg, &tail, 10, 0, INT_MAX, &rstatus);
  /src/lib/libperfuse/
perfuse.c 159 retval = (uint32_t)strtoi(valstr, NULL, 0, 0, UINT32_MAX, &e);
  /src/sbin/ifconfig/
ifconfig.c 694 wflag_secs = strtoi(optarg, NULL, 10, 0, INT32_MAX, &e);
701 Wflag_secs = strtoi(optarg, NULL, 10, 0, INT32_MAX, &e);
  /src/lib/libc/include/
namespace.h 69 #define strtoi _strtoi macro
  /src/sys/dev/wscons/
wsdisplay_vcons.c 492 h = strtoi(at, NULL, 10, 1, 99, &stat);

Completed in 66 milliseconds

1 2