Lines Matching refs:num_methods
1574 size_t num_methods = 0; in wpa_config_parse_eap() local
1592 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1599 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1600 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1601 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1602 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1610 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1611 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1615 num_methods++; in wpa_config_parse_eap()
1623 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
1628 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()
1629 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()
1630 num_methods++; in wpa_config_parse_eap()
1643 for (i = 0; prev_methods == num_methods && i < prev_methods; in wpa_config_parse_eap()
1645 for (j = 0; j < num_methods; j++) { in wpa_config_parse_eap()
1653 if (match == num_methods) { in wpa_config_parse_eap()
1659 (u8 *) methods, num_methods * sizeof(*methods)); in wpa_config_parse_eap()