Home
last modified time | relevance | path

Searched +full:1 +full:ac (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_argv.c29 int ac = 0; in test_argv() local
33 argv_free(av, ac); \ in test_argv()
35 ac = -1; \ in test_argv()
39 ASSERT_INT_EQ(argv_split("", &ac, &av, 0), 0); in test_argv()
40 ASSERT_INT_EQ(ac, 0); in test_argv()
44 ASSERT_INT_EQ(argv_split(" ", &ac, &av, 0), 0); in test_argv()
45 ASSERT_INT_EQ(ac, 0); in test_argv()
52 ASSERT_INT_EQ(argv_split("leamas", &ac, &av, 0), 0); in test_argv()
53 ASSERT_INT_EQ(ac, 1); in test_argv()
56 ASSERT_PTR_EQ(av[1], NULL); in test_argv()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwmm_ac.c2 * Wi-Fi Multimedia Admission Control (WMM-AC)
37 return (tspec->ts_info[0] >> 1) & 0x0f; in wmm_ac_get_tsid()
49 return (tspec->ts_info[1] >> 3) & 0x07; in wmm_ac_get_user_priority()
76 u8 ac = up_to_ac[up]; in wmm_ac_add_ts() local
82 if (wpa_s->tspecs[ac][idx]) { in wmm_ac_add_ts()
84 "WMM AC: tspec (ac=%d, dir=%d) already exists!", in wmm_ac_add_ts()
85 ac, dir); in wmm_ac_add_ts()
86 return -1; in wmm_ac_add_ts()
92 return -1; in wmm_ac_add_ts()
97 "WMM AC: Add TS: addr=" MACSTR in wmm_ac_add_ts()
[all …]
/freebsd/usr.sbin/devctl/
H A Ddevctl.c7 * 1. Redistributions of source code must retain the above copyright
39 int (*handler)(int ac, char **av);
53 devctl_ ## name ## _table_handler(int ac, char **av) \
56 SET_LIMIT(DEVCTL_DATASET(name)), ac, av)); \
61 struct devctl_command **end, int ac, char **av);
87 exit(1); in usage()
92 struct devctl_command **end, int ac, char **av) in devctl_table_handler() argument
96 if (ac < 2) { in devctl_table_handler()
101 if (strcmp((*cmd)->name, av[1]) == 0) in devctl_table_handler()
102 return ((*cmd)->handler(ac - 1, av + 1)); in devctl_table_handler()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A DT.int-expr9 $1 == "pat" { pattern = $2; next }
11 check = ($1 ~ pattern)
12 printf("%s ~ /%s/ -> should be %d, is %d\n", $1, pattern, $2, check)
18 ac 1
22 ac 1
26 ac 1
30 ac 1
34 ac 1
35 abc 1
38 ac 1
[all …]
/freebsd/share/misc/
H A Dusb_hid_usages11 1 Generic Desktop
171 0x51 1 Iron
185 0x5F 1 Wood
263 0x1E Keyboard 1 and !
322 0x59 Keypad 1 and End
587 0x9A Confirmation Tone 1
593 0xB1 Phone Key 1
806 0x1AB AC Spell Check
835 0x201 AC New
836 0x202 AC Open
[all …]
/freebsd/sbin/ipfw/
H A Dmain.c96 * Returns 0 if successful, 1 if empty command, errx() in case of errors.
108 int ch, ac; in ipfw_main() local
118 return 1; /* need at least one argument */ in ipfw_main()
126 char *arg = oldav[1]; /* The string is the first arg. */ in ipfw_main()
128 int copy = 0; /* 1 if we need to copy, 0 otherwise */ in ipfw_main()
148 return 1; in ipfw_main()
152 * processing, this is just the number of blanks plus 1. in ipfw_main()
154 for (i = 0, ac = 1; i < l; i++) in ipfw_main()
156 ac++; in ipfw_main()
165 ac++; /* add 1 for the program name */ in ipfw_main()
[all …]
H A Dnat64lsn.c12 * 1. Redistributions of source code must retain the above copyright
58 static void nat64lsn_create(const char *name, uint8_t set, int ac, char **av);
59 static void nat64lsn_config(const char *name, uint8_t set, int ac, char **av);
95 od = (ipfw_obj_data *)(oh + 1); in nat64lsn_print_states()
96 stg = (ipfw_nat64lsn_stg_v1 *)(od + 1); in nat64lsn_print_states()
112 ste = (ipfw_nat64lsn_state_v1 *)(stg + 1); in nat64lsn_print_states()
175 if ((buf = calloc(1, sz)) == NULL) in nat64lsn_states_cb()
179 oh->opheader.version = 1; /* Force using ov new API */ in nat64lsn_states_cb()
180 od = (ipfw_obj_data *)(oh + 1); in nat64lsn_states_cb()
184 *((uint64_t *)(od + 1)) = next_idx; in nat64lsn_states_cb()
[all …]
H A Dnat64stl.c11 * 1. Redistributions of source code must retain the above copyright
55 static void nat64stl_create(const char *name, uint8_t set, int ac, char **av);
56 static void nat64stl_config(const char *name, uint8_t set, int ac, char **av);
78 (a)->__u6_addr.__u6_addr32[1] == 0 && \
122 ipfw_nat64stl_handler(int ac, char *av[]) in ipfw_nat64stl_handler() argument
129 set = g_co.use_set - 1; in ipfw_nat64stl_handler()
132 ac--; av++; in ipfw_nat64stl_handler()
143 ac--; av++; in ipfw_nat64stl_handler()
151 ac--; av++; in ipfw_nat64stl_handler()
152 nat64stl_create(name, set, ac, av); in ipfw_nat64stl_handler()
[all …]
H A Dnat.c94 mib[1] = PF_ROUTE; in set_addr_dynamic()
102 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) in set_addr_dynamic()
103 err(1, "iflist-sysctl-estimate"); in set_addr_dynamic()
104 buf = safe_calloc(1, needed); in set_addr_dynamic()
105 if (sysctl(mib, 6, buf, &needed, NULL, 0) == -1) in set_addr_dynamic()
106 err(1, "iflist-sysctl-get"); in set_addr_dynamic()
126 sdl = (struct sockaddr_dl *)(ifm + 1); in set_addr_dynamic()
135 errx(1, "unknown interface name %s", ifn); in set_addr_dynamic()
153 char *cp = (char *)(ifam + 1); in set_addr_dynamic()
155 for (i = 1; i < RTA_IFA; i <<= 1) { in set_addr_dynamic()
[all …]
H A Ddummynet.c152 CODEL_ECN_ENABLED = 1
157 PIE_ECN_ENABLED = 1,
165 #define PIE_SCALE (1L<<PIE_FIX_POINT_BITS)
184 * returns -1 if s is not a valid time, otherwise, return time in us
194 return -1; in time_to_us()
198 return -1; in time_to_us()
204 return -1; in time_to_us()
218 return -1; in time_to_us()
233 ep = safe_calloc(1, l); in get_extra_parms()
252 us_to_time(ep->par[1], strt in get_extra_parms()
1025 process_extra_parms(int * ac,char ** av,struct dn_extra_parms * ep,uint16_t type) process_extra_parms() argument
1277 ipfw_config_pipe(int ac,char ** av) ipfw_config_pipe() argument
1882 parse_range(int ac,char * av[],uint32_t * v,int len) parse_range() argument
1936 dummynet_list(int ac,char * av[],int show_counters) dummynet_list() argument
[all...]
/freebsd/share/man/man4/
H A Diwlwifi.412 .\" 1. Redistributions of source code must retain the above copyright
35 .Nd Intel IEEE 802.11a/b/g/n/ac/ax/be wireless network driver
139 .\" seen[$2]=1; printf ".It\n%s\n", $2; }' iwlwifi_pci_ids_name.txt
142 Intel(R) Dual Band Wireless AC 7260
148 Intel(R) Dual Band Wireless AC 3160
154 Intel(R) Dual Band Wireless AC 3165
156 Intel(R) Dual Band Wireless AC 3168
158 Intel(R) Dual Band Wireless AC 7265
164 Intel(R) Dual Band Wireless AC 8260
168 Intel(R) Dual Band Wireless AC 4165
[all …]
H A Diwm.410 .\" 1. Redistributions of source code must retain the above copyright
34 .Nd Intel IEEE 802.11ac wireless network driver
84 driver supports running most Intel Wireless AC series network devices in
101 Intel Dual Band Wireless AC 3160
103 Intel Dual Band Wireless AC 3165
105 Intel Dual Band Wireless AC 3168
107 Intel Dual Band Wireless AC 7260
109 Intel Dual Band Wireless AC 7265
111 Intel Dual Band Wireless AC 8260
113 Intel Dual Band Wireless AC 8265
[all …]
H A Dmac_do.450 .Xr mdo 1
64 .Dl Ao rules Ac \ ⟶\ Oo Ao rule Ac Oo So ";" Sc Ao rule Ac Oc Ns * Oc
80 .Dl Ao rule Ac \ ⟶\ Ao from Ac So > Sc Ao to Ac
81 .Ss Rule's Ao from Ac Part
87 .Dl Ao from Ac \ ⟶\ Ao type Ac So = Sc Ao id Ac
91 .Dl Ao type Ac \ ⟶\ Op So uid Sc | So gid Sc
101 .Ss Rule's Ao to Ac Part
107 .Dl Ao to Ac \ ⟶\ Ao target_clause Ac Oo So "," Sc Ao target_clause Ac Oc Ns *
120 .Dl Ao target_clause Ac \ ⟶\ So any Sc
121 .Dl Ao target_clause Ac \ ⟶\ Ao flags Ac Ao type Ac So = Sc Ao id Ac
[all …]
/freebsd/sbin/devfs/
H A Drule.c10 * 1. Redistributions of source code must retain the above copyright
52 static void rulespec_intok(struct devfs_rule *dr, int ac, char **av,
75 { NULL, -1 }
81 rule_main(int ac, char **av) in rule_main() argument
87 optreset = optind = 1; in rule_main()
88 while ((ch = getopt(ac, av, "s:")) != -1) in rule_main()
96 ac -= optind; in rule_main()
98 if (ac < 1) in rule_main()
103 exit((*c->handler)(ac, av)); in rule_main()
104 errx(1, "unknown command: %s", av[0]); in rule_main()
[all …]
/freebsd/usr.bin/split/tests/
H A Dsplit_test.sh9 # 1. Redistributions of source code must retain the above copyright
36 printf "ccc\n" > foo-ac
42 atf_check -o file:foo-ac cat split-ac
51 jot -ns "" -b "c" 12 > foo-ac
57 atf_check -o file:foo-ac cat split-ac
72 jot -ns "" -b "c" 4100 > foo-ac
77 atf_check -o file:foo-ac cat split-ac
85 echo "the lazy dog" > foo-ac
88 atf_check split -l 1 foo split-
91 atf_check -o file:foo-ac cat split-ac
[all …]
/freebsd/tests/sys/aio/
H A Daio_test.c8 * 1. Redistributions of source code must retain the above copyright
113 * (1) on a match, (0) on a mismatch.
127 return (1); in aio_test_buffer()
135 aio_context_init(struct aio_context *ac, int read_fd, in aio_context_init() argument
142 bzero(ac, sizeof(*ac)); in aio_context_init()
143 ac->ac_read_fd = read_fd; in aio_context_init()
144 ac->ac_write_fd = write_fd; in aio_context_init()
145 ac->ac_buflen = buflen; in aio_context_init()
147 ac->ac_seed = random(); in aio_context_init()
148 aio_fill_buffer(ac->ac_buffer, buflen, ac->ac_seed); in aio_context_init()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp44 static AnnotationCache AC; in getAnnotationCache() local
45 return AC; in getAnnotationCache()
50 auto &AC = getAnnotationCache(); in clearAnnotationCache() local
51 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache()
52 AC.Cache.erase(Mod); in clearAnnotationCache()
66 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
67 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
69 assert((MetadataNode->getNumOperands() % 2) == 1 && in cacheAnnotationFromMD()
71 // start index = 1, to skip the global variable key in cacheAnnotationFromMD()
73 for (unsigned i = 1, e = MetadataNode->getNumOperands(); i != e; i += 2) { in cacheAnnotationFromMD()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dwmm.c47 int ac; in wmm_set_regulatory_limit() local
49 for (ac = 0; ac < WMM_AC_NUM; ac++) { in wmm_set_regulatory_limit()
50 wmm[ac].cwmin = MAX(wmm_conf[ac].cwmin, wmm_reg[ac].min_cwmin); in wmm_set_regulatory_limit()
51 wmm[ac].cwmax = MAX(wmm_conf[ac].cwmax, wmm_reg[ac].min_cwmax); in wmm_set_regulatory_limit()
52 wmm[ac].aifs = MAX(wmm_conf[ac].aifs, wmm_reg[ac].min_aifs); in wmm_set_regulatory_limit()
53 wmm[ac].txop_limit = in wmm_set_regulatory_limit()
54 MIN(wmm_conf[ac].txop_limit, wmm_reg[ac].max_txop); in wmm_set_regulatory_limit()
55 wmm[ac].admission_control_mandatory = in wmm_set_regulatory_limit()
56 wmm_conf[ac].admission_control_mandatory; in wmm_set_regulatory_limit()
117 wmm->oui[1] = 0x50; in hostapd_eid_wmm()
[all …]
/freebsd/share/man/man5/
H A Drc.conf.57 .\" 1. Redistributions of source code must retain the above copyright
80 .Ao Ar dir Ac Ns Pa /rc.conf.d
82 .Ao Ar dir Ac
105 .Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac
114 .Xr sh 1
193 .It Ao Ar name Ac Ns Va _chroot
197 .It Ao Ar name Ac Ns Va _cpuset
201 .Xr cpuset 1
205 .It Ao Ar name Ac Ns Va _fib
208 .Xr setfib 1
[all …]
/freebsd/usr.bin/tip/libacu/
H A Dv831.c13 * 1. Redistributions of source code must retain the above copyright
42 static pid_t child = -1;
60 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
69 close(AC); in v831_dialer()
98 close(AC); in v831_dialer()
103 while ((pid = wait(&status)) != child && pid != -1) in v831_dialer()
106 close(AC); in v831_dialer()
109 return (1); in v831_dialer()
117 longjmp(jmpbuf, 1); in alarmtr()
148 printf("[abort: AC=%d]\n", AC); in v831_abort()
[all …]
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dprivsafe.c163 * Our ASN.1 library implements a special decoder for sequence
194 * possible values. There is a ~1/256 chance of a Heimdal
212 return 1; in chk_heimdal_seqnum()
216 return 1; in chk_heimdal_seqnum()
220 return 1; in chk_heimdal_seqnum()
226 k5_privsafe_check_seqnum(krb5_context ctx, krb5_auth_context ac, in k5_privsafe_check_seqnum() argument
231 exp_seq = ac->remote_seq_number; in k5_privsafe_check_seqnum()
236 if (ac->auth_context_flags & KRB5_AUTH_CONN_SANE_SEQ) in k5_privsafe_check_seqnum()
251 return 1; in k5_privsafe_check_seqnum()
256 if (!(ac->auth_context_flags & KRB5_AUTH_CONN_HEIMDAL_SEQ) in k5_privsafe_check_seqnum()
[all …]
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Dexport_sec_context.c10 * 1. Redistributions of source code must retain the above copyright
46 krb5_auth_context ac; in _gsskrb5_export_sec_context() local
70 ac = ctx->auth_context; in _gsskrb5_export_sec_context()
75 if (ac->local_address) in _gsskrb5_export_sec_context()
77 if (ac->remote_address) in _gsskrb5_export_sec_context()
79 if (ac->keyblock) in _gsskrb5_export_sec_context()
81 if (ac->local_subkey) in _gsskrb5_export_sec_context()
83 if (ac->remote_subkey) in _gsskrb5_export_sec_context()
94 kret = krb5_store_int32 (sp, ac->flags); in _gsskrb5_export_sec_context()
99 if (ac->local_address) { in _gsskrb5_export_sec_context()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dmk_req_ext.c10 * 1. Redistributions of source code must retain the above copyright
50 krb5_auth_context ac; in _krb5_mk_req_internal() local
57 ac = *auth_context; in _krb5_mk_req_internal()
59 ret = krb5_auth_con_init(context, &ac); in _krb5_mk_req_internal()
63 if(ac->local_subkey == NULL && (ap_req_options & AP_OPTS_USE_SUBKEY)) { in _krb5_mk_req_internal()
65 ac, in _krb5_mk_req_internal()
71 krb5_free_keyblock(context, ac->keyblock); in _krb5_mk_req_internal()
72 ret = krb5_copy_keyblock(context, &in_creds->session, &ac->keyblock); in _krb5_mk_req_internal()
82 if(ac->keyblock->keytype == ETYPE_DES_CBC_CRC) { in _krb5_mk_req_internal()
91 } else if(ac->keyblock->keytype == ETYPE_ARCFOUR_HMAC_MD5 || in _krb5_mk_req_internal()
[all …]
/freebsd/usr.sbin/mfiutil/
H A Dmfi_drive.c10 * 1. Redistributions of source code must retain the above copyright
171 if (drive[1] == '\0') in mfi_lookup_drive()
227 mbox[1] = device_id >> 8; in mbox_store_device_id()
235 mbox[1] = ref->v.device_id >> 8; in mbox_store_pdref()
255 return (-1); in mfi_pd_get_list()
259 return (-1); in mfi_pd_get_list()
290 && (src[srclen-1] == ' ' || src[srclen-1] == '\0')) in cam_strvis()
293 while (srclen > 0 && dstlen > 1) { in cam_strvis()
425 fail_drive(int ac, char **av) in fail_drive() argument
428 if (ac != 2) { in fail_drive()
[all …]
/freebsd/usr.sbin/ngctl/
H A Dmain.c12 * 1. Any and all reproductions of the source or object code must include the
76 static int DoCommand(int ac, char **av);
81 static int ReadCmd(int ac, char **av);
82 static int HelpCmd(int ac, char **av);
83 static int QuitCmd(int ac, char **av);
142 main(int ac, char *av[]) in main() argument
145 int interactive = isatty(0) && isatty(1); in main()
156 while ((ch = getopt(ac, av, "df:j:n:")) != -1) { in main()
159 NgSetDebug(NgSetDebug(-1) + 1); in main()
183 ac -= optind; in main()
[all …]

12345678910>>...42