Home
last modified time | relevance | path

Searched refs:num_methods (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma_perf.c319 unsigned num_methods = 0; in si_test_dma_perf() local
382 if (num_methods > 0) { in si_test_dma_perf()
383 unsigned prev_index = num_methods - 1; in si_test_dma_perf()
410 assert(num_methods < ARRAY_SIZE(methods)); in si_test_dma_perf()
411 methods[num_methods] = best; in si_test_dma_perf()
412 method_max_size[num_methods] = size; in si_test_dma_perf()
413 num_methods++; in si_test_dma_perf()
416 for (unsigned i = 0; i < num_methods; i++) { in si_test_dma_perf()
422 if (i < num_methods - 1) in si_test_dma_perf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Deap_user_db.c26 int num_methods; in set_user_methods() local
33 num_methods = 0; in set_user_methods()
39 user->methods[num_methods].method = in set_user_methods()
41 &user->methods[num_methods].vendor); in set_user_methods()
42 if (user->methods[num_methods].vendor == EAP_VENDOR_IETF && in set_user_methods()
43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods()
66 num_methods++; in set_user_methods()
67 if (num_methods >= EAP_MAX_METHODS) in set_user_methods()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Deap_user_db.c26 int num_methods; in set_user_methods() local
33 num_methods = 0; in set_user_methods()
39 user->methods[num_methods].method = in set_user_methods()
41 &user->methods[num_methods].vendor); in set_user_methods()
42 if (user->methods[num_methods].vendor == EAP_VENDOR_IETF && in set_user_methods()
43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods()
66 num_methods++; in set_user_methods()
67 if (num_methods >= EAP_MAX_METHODS) in set_user_methods()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_tls_common.c1103 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1140 num_methods++; in eap_peer_select_phase2_methods()
1141 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1149 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1150 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1160 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1168 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1171 *num_types = num_methods; in eap_peer_select_phase2_methods()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_tls_common.c1100 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1133 num_methods++; in eap_peer_select_phase2_methods()
1134 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1142 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1143 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1153 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1161 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1164 *num_types = num_methods; in eap_peer_select_phase2_methods()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig.c1469 size_t num_methods = 0; in wpa_config_parse_eap() local
1487 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1494 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1495 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1496 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1497 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1505 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1506 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1510 num_methods++; in wpa_config_parse_eap()
1518 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig.c1520 size_t num_methods = 0; in wpa_config_parse_eap() local
1538 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1545 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1546 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1547 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1548 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1556 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1557 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1561 num_methods++; in wpa_config_parse_eap()
1569 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_config_file.c300 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
421 num_methods = 0; in hostapd_config_read_eap_user()
427 user->methods[num_methods].method = in hostapd_config_read_eap_user()
430 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
431 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
433 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
463 num_methods++; in hostapd_config_read_eap_user()
464 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
471 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c306 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
427 num_methods = 0; in hostapd_config_read_eap_user()
433 user->methods[num_methods].method = in hostapd_config_read_eap_user()
436 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
437 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
439 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
469 num_methods++; in hostapd_config_read_eap_user()
470 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
477 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()