Lines Matching refs:num_methods
956 size_t num_methods = 0;
974 methods = os_realloc_array(methods, num_methods + 1,
981 methods[num_methods].method = eap_peer_get_type(
982 start, &methods[num_methods].vendor);
983 if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
984 methods[num_methods].method == EAP_TYPE_NONE) {
992 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF &&
993 methods[num_methods].method == EAP_TYPE_LEAP)
997 num_methods++;
1005 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods));
1010 methods[num_methods].vendor = EAP_VENDOR_IETF;
1011 methods[num_methods].method = EAP_TYPE_NONE;
1012 num_methods++;
1015 (u8 *) methods, num_methods * sizeof(*methods));