Lines Matching defs:num_methods
1283 size_t num_methods = 0;
1301 methods = os_realloc_array(methods, num_methods + 1,
1308 methods[num_methods].method = eap_peer_get_type(
1309 start, &methods[num_methods].vendor);
1310 if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
1311 methods[num_methods].method == EAP_TYPE_NONE) {
1319 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
1320 methods[num_methods].method == EAP_TYPE_LEAP)
1324 num_methods++;
1332 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods));
1337 methods[num_methods].vendor = EAP_VENDOR_IETF;
1338 methods[num_methods].method = EAP_TYPE_NONE;
1339 num_methods++;
1352 for (i = 0; prev_methods == num_methods && i < prev_methods;
1354 for (j = 0; j < num_methods; j++) {
1362 if (match == num_methods) {
1368 (u8 *) methods, num_methods * sizeof(*methods));