Home
last modified time | relevance | path

Searched refs:strtol (Results 1 – 25 of 664) sorted by relevance

12345678910>>...27

/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_atoi.c71 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 Dt_strtol.c112 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/lib/libpmc/
H A Dlibpmc_pmu_util.c321 ped->ped_umask = strtol(value, NULL, 16); in pmu_parse_event()
323 ped->ped_event = strtol(value, NULL, 16); in pmu_parse_event()
325 ped->ped_period = strtol(value, NULL, 10); in pmu_parse_event()
329 ped->ped_any = strtol(value, NULL, 10); in pmu_parse_event()
331 ped->ped_cmask = strtol(value, NULL, 10); in pmu_parse_event()
333 ped->ped_inv = strtol(value, NULL, 10); in pmu_parse_event()
335 ped->ped_edge = strtol(value, NULL, 10); in pmu_parse_event()
339 ped->ped_ldlat = strtol(value, NULL, 16); in pmu_parse_event()
341 ped->ped_fc_mask = strtol(value, NULL, 16); in pmu_parse_event()
343 ped->ped_ch_mask = strtol(value, NULL, 16); in pmu_parse_event()
[all …]
/freebsd/usr.bin/pom/
H A Dpom.c117 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/contrib/bsddialog/utility/
H A Dutil_cli.c416 (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(optarg, NULL, 10)); in parseargs()
575 (int)strtol(optarg, NULL, 10)); in parseargs()
609 (int)strtol(optarg, NULL, 10)); in parseargs()
[all …]
/freebsd/lib/libcam/
H A Dscsi_cmdparse.c181 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/share/examples/libusb20/
H A Dbulk.c166 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/lib/libc/stdlib/
H A DMakefile.inc16 strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
43 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
85 MLINKS+=strtol.3 strtoll.3 \
86 strtol.3 strtoq.3 \
87 strtol.3 strtoimax.3
/freebsd/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c296 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/contrib/sendmail/libsm/
H A Dt-memstat.c57 l = strtol(optarg, NULL, 0);
61 sz = strtol(optarg, NULL, 0);
75 slp = strtol(optarg, NULL, 0);
/freebsd/usr.bin/beep/
H A Dbeep.c168 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 Dmemprof_interceptors.cpp252 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 Dpt_cpu.c101 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 Dkill.c75 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/ipf/libipf/
H A Dtcp_flags.c26 tcpf = strtol(flgs, NULL, 0); in tcp_flags()
33 tcpfm = strtol(s, NULL, 0); in tcp_flags()
/freebsd/contrib/diff/lib/
H A Dstrtoimax.c58 # define strtol strtoul macro
79 return strtol (ptr, endptr, base); in strtoimax()
/freebsd/share/examples/ses/srcs/
H A Dsetobjstat.c65 cvt = strtol(v[2], &x, 0); in main()
72 cvt = strtol(v[3 + i], &x, 0); in main()
/freebsd/stand/i386/libi386/
H A Dcomconsole.c223 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/camcontrol/
H A Dattrib.c164 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/sbin/ipf/iplang/
H A Diplang_y.y711 len = strtol(*arg, NULL, 0); in set_datalen()
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()
923 ip->ip_sum = strtol(*arg, NULL, 0); in set_ipv4sum()
933 len = strtol(*arg, NULL, 0); in set_ipv4len()
1014 off = strtol(*arg, NULL, 0); in set_tcpoff()
1040 tcp->th_sum = strtol(*arg, NULL, 0); in set_tcpsum()
1196 len = strtol(*arg, NULL, 0);
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsmpquery.c134 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 Dzfsbootcfg.c89 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 Dtabs.c96 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/usr.sbin/mpsutil/
H A Dmps_slot.c71 x = strtol(argv[2], &endptr, 0); in slot_set()
79 x = strtol(argv[3], &endptr, 0); in slot_set()
/freebsd/usr.bin/colrm/
H A Dcolrm.c69 stop = strtol(argv[1], &p, 10); in main()
74 start = strtol(argv[0], &p, 10); in main()

12345678910>>...27