Lines Matching defs:write_fn
159 GlWriteFn *write_fn, void *data);
637 * write_fn GlWriteFn * The function to call to write the completions,
639 * data void * Anonymous data to pass to write_fn().
645 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data,
658 if(write_fn && result && result->nmatch>0) {
667 if(cpl_format_line(result, &fmt, lnum, write_fn, data))
1096 * write_fn GlWriteFn * The function to call to write the line, or
1098 * data void * Anonymous data to pass to write_fn().
1104 GlWriteFn *write_fn, void *data)
1116 if(!write_fn)
1139 if(write_fn(data, match->completion, clen) != clen)
1144 if(tlen > 0 && write_fn(data, match->type_suffix, tlen) != tlen)
1162 if(write_fn(data, spaces + nspace - n, n) != n)
1175 if(write_fn(data, s, n) != n)