Home
last modified time | relevance | path

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

12345678910>>...28

/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()
327 ped->ped_offcore_rsp = strtol(value, NULL, 16); 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()
337 ped->ped_frontend = strtol(value, NULL, 16); in pmu_parse_event()
339 ped->ped_ldlat = strtol(value, NULL, 16); in pmu_parse_event()
[all …]
/freebsd/usr.bin/pom/
H A Dpom.c118 tmd.tm_year = strtol(odate, NULL, 10) - 1900; in main()
119 tmd.tm_mon = strtol(odate + 5, NULL, 10) - 1; in main()
120 tmd.tm_mday = strtol(odate + 8, NULL, 10); in main()
128 tmd.tm_hour = strtol(otime, NULL, 10); in main()
129 tmd.tm_min = strtol(otime + 3, NULL, 10); in main()
130 tmd.tm_sec = strtol(otime + 6, NULL, 10); in main()
/freebsd/contrib/bsddialog/utility/
H A Dutil_cli.c401 conf->x = (int)strtol(optarg, NULL, 10); in parseargs()
407 conf->y = (int)strtol(optarg, NULL, 10); in parseargs()
418 (int)strtol(optarg, NULL, 10)); in parseargs()
465 (int)strtol(optarg, NULL, 10)); in parseargs()
469 (int)strtol(optarg, NULL, 10)); in parseargs()
479 (int)strtol(optarg, NULL, 10)); in parseargs()
488 i = (int)strtol(optarg, NULL, 10); in parseargs()
532 (int)strtol(optarg, NULL, 10)); in parseargs()
539 (int)strtol(optarg, NULL, 10)); in parseargs()
546 (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/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/lib/libc/stdlib/
H A DMakefile.inc59 strtol.c \
99 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
142 MLINKS+=strtol.3 strtoll.3 \
143 strtol.3 strtoq.3 \
144 strtol.3 strtoimax.3
/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/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.c170 frequency = strtol(optarg, NULL, 10); in main()
173 duration_ms = strtol(optarg, NULL, 10); in main()
179 sample_rate = strtol(optarg, NULL, 10); in main()
185 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/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/usr.bin/sockstat/
H A Dsockstat.c51 port = strtol(p, &endptr, 10); in parse_ports()
60 end = strtol(p, &endptr, 10); in parse_ports()
/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/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/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/sbin/ipf/iplang/
H A Diplang_y.y711 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/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/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp174 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()

12345678910>>...28