Lines Matching defs:line

106   int escaped;        /* If none-zero, backslashes in the input line are */
114 int file_start; /* The index in the input line of the first character */
118 /* an unescaped space, or the beginning of the line. */
156 * Display a given line of a multi-column list of completions.
261 * special quoting to be valid when displayed in the input line, this
267 * line const char * The input line, as received by the callback
269 * word_start int The index within line[] of the start of the
271 * word_end int The index within line[] of the character which
295 int cpl_add_completion(WordCompletion *cpl, const char *line,
343 strncpy(string, line + word_start, word_end - word_start);
511 * Given an input line and the point at which it completion is to be
516 * line char * The current input line.
517 * word_end int The index of the character in line[] which
522 * to be completed from the input line, and
534 CplMatches *cpl_complete_word(WordCompletion *cpl, const char *line,
538 int line_len; /* The total length of the input line */
540 * How long is the input line?
542 line_len = strlen(line);
546 if(!cpl || !line || !match_fn || word_end < 0 || word_end > line_len) {
561 if(match_fn(cpl, data, line, word_end)) {
649 int lnum; /* The sequential number of the line to print next */
715 * line char * The current input line.
716 * word_end int The index of the character in line[] which
729 /* in line[]. */
741 if(!line || word_end < 0) {
772 * identify it by searching backwards in the input line for an
773 * unescaped space or the start of the line.
776 start_path = _pu_start_of_path(line, word_end);
783 start_path = line + conf->file_start;
788 if(_cf_complete_file(cpl, cpl->cf, line, start_path - line, word_end,
909 * filename prefix starts in the input line. Otherwise by default,
912 * or the start of the line, which ever comes first.
918 * the input line, or -1 to select the default.
1085 * Render one line of a multi-column listing of completions, using a
1092 * lnum int The index of the line to print, starting
1096 * write_fn GlWriteFn * The function to call to write the line, or
1108 * If the line index is out of bounds, there is nothing to be written.
1114 * line had been printed.
1119 * Print the matches in 'ncol' columns, sorted in line order within each
1126 * the last line of a listing will have fewer filled columns
1170 * Start a new line.