Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c1015 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1048 num_methods++; in eap_peer_select_phase2_methods()
1049 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1057 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1058 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1068 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1076 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1079 *num_types = num_methods; in eap_peer_select_phase2_methods()
/external/webrtc/webrtc/modules/utility/source/
Djvm_android.cc185 const char* name, const JNINativeMethod *methods, int num_methods) { in RegisterNatives() argument
189 jni_->RegisterNatives(clazz, methods, num_methods); in RegisterNatives()
/external/webrtc/webrtc/modules/utility/include/
Djvm_android.h100 const char* name, const JNINativeMethod *methods, int num_methods);
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c1283 size_t num_methods = 0; in wpa_config_parse_eap() local
1301 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1308 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1309 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1310 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1311 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1319 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1320 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1324 num_methods++; in wpa_config_parse_eap()
1332 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
[all …]
/external/webrtc/webrtc/base/
Dsocketadapters.cc741 uint8_t ver, num_methods; in HandleHello() local
743 !request->ReadUInt8(&num_methods)) { in HandleHello()
755 if (num_methods > 0 && !request->ReadUInt8(&method)) { in HandleHello()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c223 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
348 num_methods = 0; in hostapd_config_read_eap_user()
354 user->methods[num_methods].method = in hostapd_config_read_eap_user()
357 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
358 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
360 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
390 num_methods++; in hostapd_config_read_eap_user()
391 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
398 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()