Lines Matching refs:match
297 CplMatch *match; /* The container of the new match */ in cpl_add_completion() local
346 match = cpl->result.matches + cpl->result.nmatch++; in cpl_add_completion()
347 match->completion = string; in cpl_add_completion()
348 match->suffix = string + word_end - word_start; in cpl_add_completion()
349 match->type_suffix = type_suffix; in cpl_add_completion()
1000 CplMatch *match = matches + src; in cpl_zap_duplicates() local
1001 if(strcmp(completion, match->completion) != 0 || in cpl_zap_duplicates()
1002 strcmp(type_suffix, match->type_suffix) != 0) { in cpl_zap_duplicates()
1004 matches[dst] = *match; in cpl_zap_duplicates()
1006 completion = match->completion; in cpl_zap_duplicates()
1007 type_suffix = match->type_suffix; in cpl_zap_duplicates()
1051 CplMatch *match = result->matches + i; in cpl_plan_listing() local
1052 int len = strlen(match->completion) + strlen(match->type_suffix); in cpl_plan_listing()
1128 CplMatch *match = result->matches + m; in cpl_format_line() local
1132 int clen = strlen(match->completion); in cpl_format_line()
1133 int tlen = strlen(match->type_suffix); in cpl_format_line()
1137 if(write_fn(data, match->completion, clen) != clen) in cpl_format_line()
1142 if(tlen > 0 && write_fn(data, match->type_suffix, tlen) != tlen) in cpl_format_line()