/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_atoi.c | 71 ATF_REQUIRE(atoi("0") == strtol("0", NULL, 10)); in ATF_TC_BODY() 72 ATF_REQUIRE(atoi("-1") == strtol("-1", NULL, 10)); in ATF_TC_BODY() 73 ATF_REQUIRE(atoi(buf) == strtol(buf, NULL, 10)); in ATF_TC_BODY() 89 ATF_REQUIRE(atol("0") == strtol("0", NULL, 10)); in ATF_TC_BODY() 90 ATF_REQUIRE(atol("-1") == strtol("-1", NULL, 10)); in ATF_TC_BODY() 91 ATF_REQUIRE(atol(buf) == strtol(buf, NULL, 10)); in ATF_TC_BODY()
|
H A D | t_strtol.c | 112 li = strtol(t[i].str, &end, t[i].base); in ATF_TC_BODY() 146 li = strtol(t[i].str, &end, t[i].base); in ATF_TC_BODY() 184 li = strtol(t[i].str, &end, t[i].base); in ATF_TC_BODY() 225 li = strtol(t[i].str, &end, t[i].base); in ATF_TC_BODY()
|
/freebsd/contrib/bsddialog/utility/ |
H A D | util_cli.c | 399 conf->x = (int)strtol(optarg, NULL, 10); in parseargs() 405 conf->y = (int)strtol(optarg, NULL, 10); in parseargs() 416 (int)strtol(optarg, NULL, 10)); in parseargs() 463 (int)strtol(optarg, NULL, 10)); in parseargs() 467 (int)strtol(optarg, NULL, 10)); in parseargs() 477 (int)strtol(optarg, NULL, 10)); in parseargs() 486 i = (int)strtol(optarg, NULL, 10); in parseargs() 530 (int)strtol(optarg, NULL, 10)); in parseargs() 537 (int)strtol(optarg, NULL, 10)); in parseargs() 544 (int)strtol(optar in parseargs() [all...] |
/freebsd/usr.bin/pom/ |
H A D | pom.c | 117 tmd.tm_year = strtol(odate, NULL, 10) - 1900; in main() 118 tmd.tm_mon = strtol(odate + 5, NULL, 10) - 1; in main() 119 tmd.tm_mday = strtol(odate + 8, NULL, 10); in main() 127 tmd.tm_hour = strtol(otime, NULL, 10); in main() 128 tmd.tm_min = strtol(otime + 3, NULL, 10); in main() 129 tmd.tm_sec = strtol(otime + 6, NULL, 10); in main()
|
/freebsd/lib/libcam/ |
H A D | scsi_cmdparse.c | 181 width = strtol(fmt, &intendp, 10); in do_buff_decode() 211 width = strtol(fmt, &intendp, 10); in do_buff_decode() 251 width = strtol(fmt, &intendp, 10); in do_buff_decode() 299 width = strtol(fmt, &intendp, 10); in do_buff_decode() 422 value = strtol(p, &intendp, 16); in next_field() 440 field_width = strtol(p, &intendp, 10); in next_field() 456 field_width = strtol(p, &intendp, 10); in next_field() 469 value = strtol(p, &intendp, 0); in next_field() 495 field_width = strtol(p, &intendp, 10); in next_field() 505 field_width = strtol(p, &intendp, 10); in next_field() [all …]
|
/freebsd/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.c | 296 if (pid != (uint32_t)strtol(p_pidobj, (char **)NULL, 10)) in select_pidobj() 313 if (id != (uint32_t)strtol(p_msgqobj, (char **)NULL, in select_ipcobj() 321 if (id != (uint32_t)strtol(p_semobj, (char **)NULL, 10)) in select_ipcobj() 328 if (id != (uint32_t)strtol(p_shmobj, (char **)NULL, 10)) in select_ipcobj() 715 p_euid = strtol(optarg, &converr, 10); in main() 726 p_egid = strtol(optarg, &converr, 10); in main() 737 p_rgid = strtol(optarg, &converr, 10); in main() 748 p_subid = strtol(optarg, (char **)NULL, 10); in main() 766 *etp = strtol(optarg, (char **)NULL, 10); in main() 787 p_ruid = strtol(optarg, &converr, 10); in main() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | Makefile.inc | 15 strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \ 42 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \ 84 MLINKS+=strtol.3 strtoll.3 \ 85 strtol.3 strtoq.3 \ 86 strtol.3 strtoimax.3
|
/freebsd/share/examples/libusb20/ |
H A D | bulk.c | 166 in_ep = strtol(optarg, NULL, 0); in main() 170 out_ep = strtol(optarg, NULL, 0); in main() 174 pid = strtol(optarg, NULL, 0); in main() 178 vid = strtol(optarg, NULL, 0); in main()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | t-memstat.c | 57 l = strtol(optarg, NULL, 0); 61 sz = strtol(optarg, NULL, 0); 75 slp = strtol(optarg, NULL, 0);
|
/freebsd/usr.bin/beep/ |
H A D | beep.c | 168 frequency = strtol(optarg, NULL, 10); in main() 171 duration_ms = strtol(optarg, NULL, 10); in main() 177 sample_rate = strtol(optarg, NULL, 10); in main() 183 gain = strtol(optarg, NULL, 10); in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_interceptors.cpp | 252 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() argument 254 MEMPROF_INTERCEPTOR_ENTER(ctx, strtol); in INTERCEPTOR() 257 long result = REAL(strtol)(nptr, &real_endptr, base); in INTERCEPTOR() 271 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR() 282 long result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR() 328 MEMPROF_INTERCEPT_FUNC(strtol); in InitializeMemprofInterceptors()
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_cpu.c | 101 family = strtol(s, &endptr, 0); in pt_cpu_parse() 111 model = strtol(s, &endptr, 0); in pt_cpu_parse() 125 stepping = strtol(s, &endptr, 0); in pt_cpu_parse()
|
/freebsd/bin/kill/ |
H A D | kill.c | 75 numsig = strtol(*argv, &ep, 10); in main() 107 numsig = strtol(*argv, &ep, 10); in main() 130 pidl = strtol(*argv, &ep, 10); in main()
|
/freebsd/sbin/camcontrol/ |
H A D | attrib.c | 164 attr_num = strtol(optarg, &endptr, 0); in scsiattrib() 177 element_address = strtol(optarg, &endptr, 0); in scsiattrib() 226 partition = strtol(optarg, &endptr, 0); in scsiattrib() 255 start_attr = strtol(optarg, &endptr, 0); in scsiattrib() 289 logical_volume = strtol(optarg, &endptr, 0); in scsiattrib()
|
/freebsd/stand/i386/libi386/ |
H A D | comconsole.c | 223 pres = strtol(string, &p, 0); in comc_parse_pcidev() 229 pres = strtol(p1, &p, 0); in comc_parse_pcidev() 235 pres = strtol(p1, &p, 0); in comc_parse_pcidev() 242 pres = strtol(p1, &p, 0); in comc_parse_pcidev() 366 speed = strtol(speedstr, &p, 0); in comc_parseint()
|
/freebsd/sbin/ipf/libipf/ |
H A D | tcp_flags.c | 26 tcpf = strtol(flgs, NULL, 0); in tcp_flags() 33 tcpfm = strtol(s, NULL, 0); in tcp_flags()
|
/freebsd/sbin/ipf/iplang/ |
H A D | iplang_y.y | 711 len = strtol(*arg, NULL, 0); in set_datalen() 869 ip->ip_off = htons(strtol(*arg, NULL, 0)); in set_ipv4off() 877 ip->ip_v = strtol(*arg, NULL, 0); in set_ipv4v() 887 newhl = strtol(*arg, NULL, 0); in set_ipv4hl() 899 ip->ip_ttl = strtol(*arg, NULL, 0); in set_ipv4ttl() 907 ip->ip_tos = strtol(*arg, NULL, 0); in set_ipv4tos() 915 ip->ip_id = htons(strtol(*arg, NULL, 0)); in set_ipv4id() 923 ip->ip_sum = strtol(*arg, NULL, 0); in set_ipv4sum() 933 len = strtol(*arg, NULL, 0); in set_ipv4len() 996 tcp->th_seq = htonl(strtol(*arg, NULL, 0)); in set_tcpseq() [all …]
|
/freebsd/contrib/diff/lib/ |
H A D | strtoimax.c | 58 # define strtol strtoul macro 79 return strtol (ptr, endptr, base); in strtoimax()
|
/freebsd/share/examples/ses/srcs/ |
H A D | setobjstat.c | 65 cvt = strtol(v[2], &x, 0); in main() 72 cvt = strtol(v[3 + i], &x, 0); in main()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | smpquery.c | 134 portnum = strtol(argv[0], 0, 0); in port_info_extended() 155 portnum = strtol(argv[0], 0, 0); in port_info() 175 portnum = strtol(argv[0], 0, 0); in mlnx_ext_port_info() 210 portnum = strtol(argv[0], 0, 0); in pkey_table() 275 portnum = strtol(argv[0], 0, 0); in sl2vl_table() 338 portnum = strtol(argv[0], 0, 0); in vlarb_table()
|
/freebsd/sbin/zfsbootcfg/ |
H A D | zfsbootcfg.c | 89 v = strtol(value, &end, 0); in add_pair() 105 v = strtol(value, &end, 0); in add_pair() 121 v = strtol(value, &end, 0); in add_pair() 137 v = strtol(value, &end, 0); in add_pair()
|
/freebsd/usr.bin/tabs/ |
H A D | tabs.c | 96 margin = strtol(arg, &end, 10); in main() 105 inc = strtol(arg + 1, &end, 10); in main() 207 stop = strtol(tok, &end, 10); in gettabs()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Builtins.cpp | 174 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth() 198 FormatIdx = ::strtol(Like, nullptr, 10); in isLike() 224 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback() 231 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback()
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mps_slot.c | 71 x = strtol(argv[2], &endptr, 0); in slot_set() 79 x = strtol(argv[3], &endptr, 0); in slot_set()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_hostbridge.c | 47 vendor = strtol(value, NULL, 0); in pci_hostbridge_init() 52 device = strtol(value, NULL, 0); in pci_hostbridge_init()
|