/hostap-latest/src/fst/ |
D | fst_ctrl_aux.c | 56 ARRAY_SIZE(session_event_names)); in fst_session_event_type_name() 62 return fst_get_str_name(reason, reason_names, ARRAY_SIZE(reason_names)); in fst_reason_name() 69 ARRAY_SIZE(session_state_names)); in fst_session_state_name()
|
/hostap-latest/src/utils/ |
D | utils_module_tests.c | 897 for (i = 0; i < ARRAY_SIZE(json_test_cases); i++) { in json_tests() 1071 for (i = 0; i < ARRAY_SIZE(const_time_fill_msb_tests); i++) { in const_time_tests() 1083 for (i = 0; i < ARRAY_SIZE(const_time_is_zero_tests); i++) { in const_time_tests() 1095 for (i = 0; i < ARRAY_SIZE(const_time_eq_tests); i++) { in const_time_tests() 1113 for (i = 0; i < ARRAY_SIZE(const_time_eq_bin_tests); i++) { in const_time_tests() 1126 for (i = 0; i < ARRAY_SIZE(const_time_select_tests); i++) { in const_time_tests() 1139 for (i = 0; i < ARRAY_SIZE(const_time_select_int_tests); i++) { in const_time_tests() 1152 for (i = 0; i < ARRAY_SIZE(const_time_select_u8_tests); i++) { in const_time_tests() 1165 for (i = 0; i < ARRAY_SIZE(const_time_select_s8_tests); i++) { in const_time_tests() 1178 for (i = 0; i < ARRAY_SIZE(const_time_select_bin_tests); i++) { in const_time_tests() [all …]
|
D | os_unix.c | 355 setgroups(ARRAY_SIZE(groups), groups); in os_program_init() 561 for (idx = 0; idx < ARRAY_SIZE(wpa_trace_test_fail[is_alloc]); idx++) { in testing_test_fail() 565 if (idx >= ARRAY_SIZE(wpa_trace_test_fail[is_alloc])) in testing_test_fail() 576 for (j = 0; j < ARRAY_SIZE(ignore_list) && i < res; j++) { in testing_test_fail() 668 idx < ARRAY_SIZE(wpa_trace_test_fail[is_alloc])) { in testing_set_fail_pattern() 699 for (idx = 0; idx < ARRAY_SIZE(wpa_trace_test_fail[is_alloc]); idx++) { in testing_get_fail_pattern()
|
D | common.h | 610 #if !defined(ARRAY_SIZE) 611 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
|
/hostap-latest/wpa_supplicant/ |
D | op_classes.c | 85 num_chan = ARRAY_SIZE(center_channels_6ghz); in verify_80mhz() 88 num_chan = ARRAY_SIZE(center_channels_5ghz); in verify_80mhz() 154 num_chan = ARRAY_SIZE(center_channels_6ghz); in verify_160mhz() 157 num_chan = ARRAY_SIZE(center_channels_5ghz); in verify_160mhz() 222 num_chan = ARRAY_SIZE(center_channels_6ghz); in verify_320mhz() 395 for (i = 0; i < ARRAY_SIZE(channels); i++) { in wpas_op_class_supported()
|
D | rrm.c | 578 num_chan = is_6ghz ? ARRAY_SIZE(channels_80mhz_6ghz) : in wpas_op_class_freqs() 579 ARRAY_SIZE(channels_80mhz_5ghz); in wpas_op_class_freqs() 583 num_chan = is_6ghz ? ARRAY_SIZE(channels_160mhz_6ghz) : in wpas_op_class_freqs() 584 ARRAY_SIZE(channels_160mhz_5ghz); in wpas_op_class_freqs() 587 num_chan = ARRAY_SIZE(channels_320mhz_6ghz); in wpas_op_class_freqs()
|
D | wpa_cli_cmds.c | 154 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_network() 435 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_set() 766 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_get() 1485 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_dup_network() 1543 int i, num_fields = ARRAY_SIZE(cred_fields); in wpa_cli_complete_cred() 1696 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_get_capability() 1697 int num_iftypes = ARRAY_SIZE(iftypes); in wpa_cli_complete_get_capability() 2201 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_p2p_set()
|
D | wpa_cli.c | 578 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_set() 679 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_get() 1568 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_network() 1619 int i, num_fields = ARRAY_SIZE(network_fields); in wpa_cli_complete_dup_network() 1683 int i, num_fields = ARRAY_SIZE(cred_fields); in wpa_cli_complete_cred() 1843 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_get_capability() 1844 int num_iftypes = ARRAY_SIZE(iftypes); in wpa_cli_complete_get_capability() 2561 int i, num_fields = ARRAY_SIZE(fields); in wpa_cli_complete_p2p_set() 4161 count = ARRAY_SIZE(wpa_cli_commands); in wpa_list_cmd_list()
|
/hostap-latest/src/crypto/ |
D | crypto_module_tests.c | 288 for (i = 0; i < ARRAY_SIZE(omac1_test_vectors); i++) { in test_omac1() 387 for (i = 0; i < ARRAY_SIZE(vectors); i++) { in test_cbc() 477 for (i = 0; i < ARRAY_SIZE(vectors); i++) { in test_ecb() 947 for (i = 0; i < ARRAY_SIZE(tests); i++) { in test_md5() 1261 #define NUM_PASSPHRASE_TESTS ARRAY_SIZE(passphrase_tests) 1346 #define NUM_RFC6070_TESTS ARRAY_SIZE(rfc6070_tests) 1845 for (i = 0; i < ARRAY_SIZE(tests); i++) { in test_sha256() 1871 for (i = 0; i < ARRAY_SIZE(hmac_tests); i++) { in test_sha256() 1985 for (i = 0; i < ARRAY_SIZE(hmac_tests); i++) { in test_sha384() 2462 for (i = 0; i < ARRAY_SIZE(hpke_tests); i++) { in test_hpke()
|
D | aes-siv.c | 131 if (num_elem > ARRAY_SIZE(_addr) - 1 || in aes_siv_encrypt() 176 if (iv_c_len < AES_BLOCK_SIZE || num_elem > ARRAY_SIZE(_addr) - 1 || in aes_siv_decrypt()
|
D | dh_groups.c | 1172 #define NUM_DH_GROUPS ARRAY_SIZE(dh_groups)
|
/hostap-latest/src/l2_packet/ |
D | l2_packet_linux.c | 65 .len = ARRAY_SIZE(dhcp_sock_filter_insns), 83 .len = ARRAY_SIZE(ndisc_sock_filter_insns), 103 .len = ARRAY_SIZE(pkt_type_filter_insns), 360 .len = ARRAY_SIZE(ethertype_sock_filter_insns), in l2_packet_init_bridge()
|
/hostap-latest/src/eap_common/ |
D | eap_teap_common.c | 268 return tls_cipher_suite_match(sha1_cs, ARRAY_SIZE(sha1_cs), cs); in tls_cipher_suite_mac_sha1() 293 return tls_cipher_suite_match(sha256_cs, ARRAY_SIZE(sha256_cs), cs); in tls_cipher_suite_mac_sha256() 313 return tls_cipher_suite_match(sha384_cs, ARRAY_SIZE(sha384_cs), cs); in tls_cipher_suite_mac_sha384() 743 return tls_cipher_suite_match(ok_cs, ARRAY_SIZE(ok_cs), cs); in eap_teap_allowed_anon_prov_cipher_suite()
|
D | ikev2_common.c | 24 #define NUM_INTEG_ALGS ARRAY_SIZE(ikev2_integ_algs) 32 #define NUM_PRF_ALGS ARRAY_SIZE(ikev2_prf_algs) 40 #define NUM_ENCR_ALGS ARRAY_SIZE(ikev2_encr_algs)
|
/hostap-latest/tests/ |
D | test-milenage.c | 249 #define NUM_GSM_TESTS ARRAY_SIZE(gsm_test_sets) 693 #define NUM_TESTS ARRAY_SIZE(test_sets)
|
D | test-md4.c | 64 for (i = 0; i < ARRAY_SIZE(tests); i++) { in main()
|
D | test-rc4.c | 201 #define NUM_TESTS ARRAY_SIZE(tests)
|
/hostap-latest/src/common/ |
D | hw_features_common.c | 163 for (k = 0; k < ARRAY_SIZE(allowed); k++) { in allowed_ht40_channel_pair() 1002 count = ARRAY_SIZE(punct_bitmap_80); in is_punct_bitmap_valid() 1008 count = ARRAY_SIZE(punct_bitmap_160); in is_punct_bitmap_valid() 1014 count = ARRAY_SIZE(punct_bitmap_320); in is_punct_bitmap_valid()
|
D | ieee802_11_common.c | 2512 size_t global_op_class_size = ARRAY_SIZE(global_op_class); 2839 size = ARRAY_SIZE(us_op_class); in country_to_global_op_class() 2842 size = ARRAY_SIZE(eu_op_class); in country_to_global_op_class() 2845 size = ARRAY_SIZE(jp_op_class); in country_to_global_op_class() 2848 size = ARRAY_SIZE(cn_op_class); in country_to_global_op_class()
|
/hostap-latest/src/wps/ |
D | wps_module_tests.c | 272 for (i = 0; i < ARRAY_SIZE(wps_attr_parse_test_cases); i++) { in wps_attr_parse_tests()
|
/hostap-latest/wlantest/ |
D | wlantest_cli.c | 611 count = ARRAY_SIZE(sta_counters); in complete_get_sta_counter() 711 count = ARRAY_SIZE(bss_counters); in complete_get_bss_counter() 831 count = ARRAY_SIZE(tdls_counters); in complete_get_tdls_counter() 967 count = ARRAY_SIZE(inject_frames); in complete_inject() 1318 count = ARRAY_SIZE(sta_infos); in complete_info_sta() 1423 count = ARRAY_SIZE(bss_infos); in complete_info_bss() 1749 res = os_calloc(ARRAY_SIZE(wlantest_cli_commands), sizeof(char *)); in wlantest_cli_cmd_list()
|
/hostap-latest/tests/hwsim/tnc/ |
D | hostap2_imc.c | 114 ARRAY_SIZE(message_types)); in TNC_IMC_ProvideBindFunction()
|
D | hostap2_imv.c | 198 ARRAY_SIZE(message_types)); in TNC_IMV_ProvideBindFunction()
|
/hostap-latest/src/tls/ |
D | tlsv1_common.c | 73 #define NUM_TLS_CIPHER_SUITES ARRAY_SIZE(tls_cipher_suites) 99 #define NUM_TLS_CIPHER_DATA ARRAY_SIZE(tls_ciphers)
|
/hostap-latest/src/ap/ |
D | dfs.c | 134 allowed_no = ARRAY_SIZE(allowed_40); in dfs_is_chan_allowed() 138 allowed_no = ARRAY_SIZE(allowed_80); in dfs_is_chan_allowed() 142 allowed_no = ARRAY_SIZE(allowed_160); in dfs_is_chan_allowed()
|