Lines Matching refs:num_methods
958 size_t num_methods = 0; in wpa_config_parse_eap() local
976 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
983 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
984 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
985 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
986 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
994 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
995 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
999 num_methods++; in wpa_config_parse_eap()
1007 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
1012 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()
1013 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()
1014 num_methods++; in wpa_config_parse_eap()
1017 (u8 *) methods, num_methods * sizeof(*methods)); in wpa_config_parse_eap()