Lines Matching refs:match
299 CplMatch *match; /* The container of the new match */ in cpl_add_completion() local
348 match = cpl->result.matches + cpl->result.nmatch++; in cpl_add_completion()
349 match->completion = string; in cpl_add_completion()
350 match->suffix = string + word_end - word_start; in cpl_add_completion()
351 match->type_suffix = type_suffix; in cpl_add_completion()
1002 CplMatch *match = matches + src; in cpl_zap_duplicates() local
1003 if(strcmp(completion, match->completion) != 0 || in cpl_zap_duplicates()
1004 strcmp(type_suffix, match->type_suffix) != 0) { in cpl_zap_duplicates()
1006 matches[dst] = *match; in cpl_zap_duplicates()
1008 completion = match->completion; in cpl_zap_duplicates()
1009 type_suffix = match->type_suffix; in cpl_zap_duplicates()
1053 CplMatch *match = result->matches + i; in cpl_plan_listing() local
1054 int len = strlen(match->completion) + strlen(match->type_suffix); in cpl_plan_listing()
1130 CplMatch *match = result->matches + m; in cpl_format_line() local
1134 int clen = strlen(match->completion); in cpl_format_line()
1135 int tlen = strlen(match->type_suffix); in cpl_format_line()
1139 if(write_fn(data, match->completion, clen) != clen) in cpl_format_line()
1144 if(tlen > 0 && write_fn(data, match->type_suffix, tlen) != tlen) in cpl_format_line()