Lines Matching refs:matching_vector
316 const bfd_target **matching_vector = NULL; in bfd_check_format_matches() local
343 amt = sizeof (*matching_vector) * 2 * _bfd_target_vector_entries; in bfd_check_format_matches()
344 matching_vector = (const bfd_target **) bfd_malloc (amt); in bfd_check_format_matches()
345 if (!matching_vector) in bfd_check_format_matches()
460 if (matching_vector) in bfd_check_format_matches()
461 matching_vector[match_count] = abfd->xvec; in bfd_check_format_matches()
483 if (matching_vector) in bfd_check_format_matches()
484 matching_vector[ar_match_index] = *target; in bfd_check_format_matches()
514 if (matching_vector && match_count > 1) in bfd_check_format_matches()
515 memcpy (matching_vector, in bfd_check_format_matches()
516 matching_vector + _bfd_target_vector_entries, in bfd_check_format_matches()
517 sizeof (*matching_vector) * match_count); in bfd_check_format_matches()
533 if (matching_vector[i] == right_targ in bfd_check_format_matches()
548 if (matching_vector && match_count > 1 && best_count != match_count) in bfd_check_format_matches()
554 right_targ = matching_vector[i]; in bfd_check_format_matches()
597 free (matching_vector); in bfd_check_format_matches()
624 free (matching_vector); in bfd_check_format_matches()
635 *matching = (char **) matching_vector; in bfd_check_format_matches()
636 matching_vector[match_count] = NULL; in bfd_check_format_matches()
641 const char *name = matching_vector[match_count]->name; in bfd_check_format_matches()
642 *(const char **) &matching_vector[match_count] = name; in bfd_check_format_matches()
646 free (matching_vector); in bfd_check_format_matches()