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