Lines Matching refs:num_matches
81 static void print_tag_list(int new_tag, int use_tagstack, int num_matches, char_u **matches);
83 static int add_llist_tags(char_u *tag, int num_matches, char_u **matches);
166 static int num_matches = 0; in do_tag() local
183 FreeWild(num_matches, matches); in do_tag()
187 num_matches = 0; in do_tag()
199 prev_num_matches = num_matches; in do_tag()
365 FreeWild(num_matches, matches); in do_tag()
369 num_matches = 0; in do_tag()
522 || (cur_match >= num_matches && max_num_matches != MAXCOL) in do_tag()
578 for (j = 0; j < num_matches; ++j) in do_tag()
595 FreeWild(num_matches, matches); in do_tag()
596 num_matches = new_num_matches; in do_tag()
600 if (num_matches <= 0) in do_tag()
613 if (type == DT_CSCOPE && num_matches > 1) in do_tag()
624 else if (type == DT_SELECT || (type == DT_JUMP && num_matches > 1)) in do_tag()
626 print_tag_list(new_tag, use_tagstack, num_matches, matches); in do_tag()
632 if (add_llist_tags(tag, num_matches, matches) == FAIL) in do_tag()
644 if (i <= 0 || i > num_matches || got_int) in do_tag()
661 if (cur_match >= num_matches) in do_tag()
669 if (num_matches == 1) in do_tag()
675 cur_match = num_matches - 1; in do_tag()
716 && (num_matches > 1 || ic) in do_tag()
722 num_matches, in do_tag()
726 if ((num_matches > prev_num_matches || new_tag) in do_tag()
727 && num_matches > 1) in do_tag()
766 || cur_match < num_matches - 1))) in do_tag()
819 int num_matches, in print_tag_list() argument
849 for (i = 0; i < num_matches && !got_int; ++i) in print_tag_list()
1012 int num_matches, in add_llist_tags() argument
1035 for (i = 0; i < num_matches; ++i) in add_llist_tags()
1550 int *num_matches, // return: number of matches found in find_tags() argument
2814 *num_matches = match_count; in find_tags()
3999 int num_matches, i, ret; in get_tags() local
4006 ret = find_tags(pat, &num_matches, &matches, in get_tags()
4008 if (ret == OK && num_matches > 0) in get_tags()
4010 for (i = 0; i < num_matches; ++i) in get_tags()