Lines Matching refs:num_methods
1469 size_t num_methods = 0;
1487 methods = os_realloc_array(methods, num_methods + 1,
1494 methods[num_methods].method = eap_peer_get_type(
1495 start, &methods[num_methods].vendor);
1496 if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
1497 methods[num_methods].method == EAP_TYPE_NONE) {
1505 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
1506 methods[num_methods].method == EAP_TYPE_LEAP)
1510 num_methods++;
1518 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods));
1523 methods[num_methods].vendor = EAP_VENDOR_IETF;
1524 methods[num_methods].method = EAP_TYPE_NONE;
1525 num_methods++;
1538 for (i = 0; prev_methods == num_methods && i < prev_methods;
1540 for (j = 0; j < num_methods; j++) {
1548 if (match == num_methods) {
1554 (u8 *) methods, num_methods * sizeof(*methods));