| /freebsd-13.1/contrib/wpa/hostapd/ |
| H A D | config_file.c | 223 vlan_id = atoi(pos); in hostapd_config_read_maclist() 1612 infoid = atoi(buf); in parse_anqp_elem() 1662 val = atoi(pos); in parse_qos_map_set() 3338 val = atoi(pos); in hostapd_config_fill() 3349 if (atoi(pos)) in hostapd_config_fill() 3879 if (atoi(pos)) in hostapd_config_fill() 3884 if (atoi(pos)) in hostapd_config_fill() 3892 if (atoi(pos)) in hostapd_config_fill() 3897 if (atoi(pos)) in hostapd_config_fill() 4430 if (atoi(pos)) in hostapd_config_fill() [all …]
|
| /freebsd-13.1/contrib/unbound/util/ |
| H A D | configparser.y | 565 if(atoi($2) == 0) 752 if(atoi($2) == 0) 987 if(atoi($2) == 0) 1051 if(atoi($2) == 0) 1478 if(atoi($2) == 0) 1491 if(atoi($2) == 0) 1523 if(atoi($2) == 0) 1617 if(atoi($2) == 0) 2547 if(atoi($2) <= 0) 2712 else if(atoi($2) > 65535 || atoi($2) < 0) [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/db/ |
| H A D | h_db.c | 286 recno = atoi(p + 1); in main() 645 ib.flags = atoi(eq); in setinfo() 661 ib.lorder = atoi(eq); in setinfo() 665 ib.psize = atoi(eq); in setinfo() 671 ih.bsize = atoi(eq); in setinfo() 679 ih.nelem = atoi(eq); in setinfo() 687 ih.lorder = atoi(eq); in setinfo() 693 rh.flags = atoi(eq); in setinfo() 701 rh.lorder = atoi(eq); in setinfo() 709 rh.bval = atoi(eq); in setinfo() [all …]
|
| /freebsd-13.1/lib/libc/db/test/ |
| H A D | dbtest.c | 277 recno = atoi(p + 1); 600 ib.flags = atoi(eq); 616 ib.lorder = atoi(eq); 620 ib.psize = atoi(eq); 626 ih.bsize = atoi(eq); 634 ih.nelem = atoi(eq); 642 ih.lorder = atoi(eq); 648 rh.flags = atoi(eq); 656 rh.lorder = atoi(eq); 664 rh.bval = atoi(eq); [all …]
|
| /freebsd-13.1/tools/tools/ioat/ |
| H A D | ioatcontrol.c | 89 t->buffer_size = atoi(argv[2]); in main_raw() 124 t.coalesce_period = atoi(optarg); in main() 199 t.channel_index = atoi(argv[0]); in main() 210 t.transactions = atoi(argv[1]); in main() 213 t.buffer_size = atoi(argv[2]); in main() 221 t.chain_depth = atoi(argv[3]); in main() 229 t.duration = atoi(argv[4]); in main()
|
| /freebsd-13.1/tools/tools/ath/athprom/ |
| H A D | athprom.c | 617 printAntennaControl(fd, atoi(var+14)); in eevar() 708 eepromN.baseEepHeader.macAddr[atoi(var+7)]); in eevar() 718 fprintf(fd, "%2.2X", eepromN.custData[atoi(var+8)]); in eevar() 748 int vpd = atoi(var+6); in eevar() 756 pDataPerXPD[singleXpd].pwr_t4[atoi(var+7)]); in eevar() 758 int vpd = atoi(var+3); in eevar() 780 printEdgePower(fd, atoi(var+11)); in eevar() 782 printEdgeFlag(fd, atoi(var+10)); in eevar() 784 printEdge(fd, atoi(var+6)); in eevar() 803 fprintf(fd, "%02d", pDataPerChannel[atoi(var+5)]. in eevar() [all …]
|
| /freebsd-13.1/tools/tools/wtap/vis_map/ |
| H A D | vis_map.c | 98 l.id1 = atoi(argv[2]); in main() 99 l.id2 = atoi(argv[3]); in main() 108 l.id1 = atoi(argv[2]); in main() 109 l.id2 = atoi(argv[3]); in main()
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | ctrl_iface.c | 285 if (atoi(cmd)) { in wpas_ctrl_pno() 633 bk = atoi(pos); in wpa_supplicant_ctrl_iface_set() 638 vi = atoi(pos); in wpa_supplicant_ctrl_iface_set() 643 vo = atoi(pos); in wpa_supplicant_ctrl_iface_set() 2556 id = atoi(cmd); in wpa_supplicant_ctrl_iface_bssid() 3213 id = atoi(cmd); in wpa_supplicant_ctrl_iface_mesh_group_add() 3519 id = atoi(cmd); in wpa_supplicant_ctrl_iface_remove_network() 3611 id = atoi(cmd); in wpa_supplicant_ctrl_iface_set_network() 3656 id = atoi(cmd); in wpa_supplicant_ctrl_iface_get_network() 3844 id = atoi(cmd); in wpa_supplicant_ctrl_iface_remove_cred() [all …]
|
| /freebsd-13.1/tests/sys/cddl/zfs/bin/ |
| H A D | file_trunc.c | 112 bsize = atoi(optarg); in parse_options() 116 count = atoi(optarg); in parse_options() 120 fsize = atoi(optarg); in parse_options() 124 offset = atoi(optarg); in parse_options() 132 seed = atoi(optarg); in parse_options()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/file_trunc/ |
| H A D | file_trunc.c | 112 bsize = atoi(optarg); in parse_options() 116 count = atoi(optarg); in parse_options() 120 fsize = atoi(optarg); in parse_options() 124 offset = atoi(optarg); in parse_options() 132 seed = atoi(optarg); in parse_options()
|
| /freebsd-13.1/tools/tools/net80211/wlaninject/ |
| H A D | wlaninject.c | 197 return atoi(type) & 3; in str2type() 217 return atoi(subtype) & 0xf; in str2subtype() 254 switch (atoi(rate)) { in str2rate() 559 chan = atoi(optarg); in main() 611 *(uint16_t*)wh->i_dur = htole16(atoi(optarg)); in main() 636 wh->i_seq[0] |= atoi(optarg) & 0xf; in main() 645 len = atoi(optarg); in main() 697 *x = htole16(atoi(optarg)); in main() 705 *x = htole16(atoi(optarg)); in main() 717 *x = htole16(atoi(optarg)); in main() [all …]
|
| /freebsd-13.1/usr.sbin/rmt/ |
| H A D | rmt.c | 113 tape = open(device, atoi(mode), 0666); in main() 130 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos)); in main() 137 n = atoi(count); in main() 155 n = atoi(count); in main() 170 mtop.mt_op = atoi(op); in main() 171 mtop.mt_count = atoi(count); in main()
|
| /freebsd-13.1/lib/libc/db/test/hash.tests/ |
| H A D | thash4.c | 74 ctl.bsize = atoi(*argv++); 75 ctl.ffactor = atoi(*argv++); 76 ctl.nelem = atoi(*argv++); 77 ctl.cachesize = atoi(*argv++);
|
| H A D | tcreat3.c | 70 ctl.bsize = atoi(*argv++); 71 ctl.ffactor = atoi(*argv++); 72 ctl.nelem = atoi(*argv++);
|
| /freebsd-13.1/sys/tests/runtest/ |
| H A D | runtest.c | 71 kern_test.tot_threads_running = atoi(optarg); in main() 74 callout_test.number_of_callouts = atoi(optarg); in main() 77 callout_test.test_number = atoi(optarg); in main()
|
| /freebsd-13.1/contrib/ldns/ |
| H A D | duration.c | 140 duration->years = (time_t) atoi(str+1); in ldns_duration_create_from_string() 146 duration->months = (time_t) atoi(str+1); in ldns_duration_create_from_string() 152 duration->days = (time_t) atoi(str+1); in ldns_duration_create_from_string() 162 duration->hours = (time_t) atoi(str+1); in ldns_duration_create_from_string() 168 duration->minutes = (time_t) atoi(str+1); in ldns_duration_create_from_string() 174 duration->seconds = (time_t) atoi(str+1); in ldns_duration_create_from_string() 185 duration->weeks = (time_t) atoi(str+1); in ldns_duration_create_from_string()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/ |
| H A D | stride_dd.c | 72 bsize = atoi(optarg); in parse_options() 76 count = atoi(optarg); in parse_options() 88 stride = atoi(optarg); in parse_options() 92 seek = atoi(optarg); in parse_options()
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | ipft_tx.c | 77 return (u_short)atoi(name); in tx_portnum() 229 ip->ip_p = atoi(*cpp); in parseline() 285 tcp->th_seq = htonl(atoi(*cpp + 4)); in parseline() 290 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseline() 302 ic->icmp_code = atoi(t + 1); in parseline() 373 ip6->ip6_nxt = atoi(*cpp); in parseipv6() 456 tcp->th_seq = htonl(atoi(*cpp + 4)); in parseipv6() 461 tcp->th_ack = htonl(atoi(*cpp + 4)); in parseipv6() 473 ic6->icmp6_code = atoi(t + 1); in parseipv6()
|
| /freebsd-13.1/contrib/sendmail/src/ |
| H A D | readcf.c | 1499 m->m_maxrcpt = atoi(p); 1509 m->m_nice = atoi(p); 3317 DefGid = atoi(val); 3430 LogLevel = atoi(val); 3587 DefUid = atoi(val); 3640 QueueLA = atoi(val); 3644 RefuseLA = atoi(val); 3648 DelayLA = atoi(val); 4309 MaxSLBits = atoi(val); 4535 FastSplit = atoi(val); [all …]
|
| /freebsd-13.1/sbin/dhclient/ |
| H A D | parse.c | 461 tm.tm_wday = atoi(val); in parse_date() 471 tm.tm_year = atoi(val); in parse_date() 492 tm.tm_mon = atoi(val) - 1; in parse_date() 511 tm.tm_mday = atoi(val); in parse_date() 521 tm.tm_hour = atoi(val); in parse_date() 540 tm.tm_min = atoi(val); in parse_date() 559 tm.tm_sec = atoi(val); in parse_date()
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/usr.sbin/ancontrol/ |
| H A D | ancontrol.c | 946 cfg->an_opmode = atoi(arg); in an_setconfig() 955 cfg->an_scanmode = atoi(arg); in an_setconfig() 959 switch(atoi(arg)) { in an_setconfig() 992 cfg->an_tx_power = atoi(arg); in an_setconfig() 995 cfg->an_rtsthresh = atoi(arg); in an_setconfig() 1026 switch (atoi (arg)) { in an_setconfig() 1048 | atoi(arg); in an_setconfig() 1076 switch(atoi(arg)) { in an_setspeed() 1397 if (atoi(arg) == 4) { in an_enable_tx_key() 1413 k->mac[0]=atoi(arg); in an_enable_tx_key() [all …]
|
| /freebsd-13.1/contrib/ntp/util/ |
| H A D | ntptime.c | 130 ntx.constant = atoi(ntp_optarg); in main() 139 ntx.esterror = atoi(ntp_optarg); in main() 149 ntx.maxerror = atoi(ntp_optarg); in main() 154 ntx.offset = atoi(ntp_optarg); in main() 163 ntx.status = atoi(ntp_optarg); in main() 170 ntx.constant = atoi(ntp_optarg); in main()
|
| /freebsd-13.1/tools/regression/environ/ |
| H A D | envctl.c | 147 switch (atoi(optarg)) { in main() 186 atoi(argv[optind])), eol); in main() 192 atoi(argv[optind + 1])), eol); in main()
|
| /freebsd-13.1/usr.bin/cpuset/ |
| H A D | cpuset.c | 104 curnum = atoi(l); in parselist() 315 id = atoi(optarg); in main() 341 id = pid = atoi(optarg); in main() 350 id = setid = atoi(optarg); in main() 355 id = tid = atoi(optarg); in main() 360 id = atoi(optarg); in main()
|