Lines Matching refs:matches
1218 char **matches = NULL, **contexts = NULL; in cs_find_common() local
1222 cs_fill_results(pat, totmatches, nummatches, &matches, in cs_find_common()
1225 if (matches == NULL) in cs_find_common()
1228 (void)cs_manage_matches(matches, contexts, matched, Store); in cs_find_common()
1614 char **matches, in cs_manage_matches() argument
1628 assert(matches != NULL); in cs_manage_matches()
1632 mp = matches; in cs_manage_matches()
1808 char **matches = NULL; in cs_fill_results() local
1819 if ((matches = ALLOC_MULT(char *, totmatches)) == NULL) in cs_fill_results()
1835 matches[totsofar] = cs_make_vim_style_matches(fullname, slno, in cs_fill_results()
1847 if (matches[totsofar] != NULL) in cs_fill_results()
1860 VIM_CLEAR(matches); in cs_fill_results()
1864 *matches_p = matches; in cs_fill_results()
1904 cs_print_tags_priv(char **matches, char **cntxts, int num_matches) in cs_print_tags_priv() argument
1921 if ((tbuf = alloc(strlen(matches[0]) + 1)) == NULL) in cs_print_tags_priv()
1924 strcpy(tbuf, matches[0]); in cs_print_tags_priv()
1955 if ((tbuf = alloc(strlen(matches[idx]) + 1)) == NULL) in cs_print_tags_priv()
1957 (void)strcpy(tbuf, matches[idx]); in cs_print_tags_priv()