Lines Matching defs:line

94 				const char *prefix, const char *line,
98 const char *line, int word_start, int word_end,
115 const char *line; /* The line from which the prefix was extracted */
116 int word_start; /* The index in line[] of the start of the username */
117 int word_end; /* The index in line[] following the end of the prefix */
206 * lies between specified indexes of a given command-line string.
211 * line const char * The string containing the incomplete filename.
212 * word_start int The index of the first character in line[]
214 * word_end int The index of the character in line[] that
217 * escaped int If true, backslashes in line[] are
237 const char *line, int word_start, int word_end,
240 const char *lptr; /* A pointer into line[] */
242 /* in line[]. */
246 if(!cpl || !cf || !line || word_end < word_start) {
264 lptr = line + word_start;
274 * Advance over the username in the input line.
306 return cf_complete_username(cf, cpl, cf->usrnam, line, word_start+1,
334 word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN;
366 * Advance over the environment variable name in the input line.
394 * input line.
425 * we can't complete the line, since there is no way to separate append
440 if(cpl_add_completion(cpl, line, lptr-line, word_end, FS_DIR_SEP,
452 return cf_complete_entry(cf, cpl, line, word_start, word_end, escaped,
512 * line const char * The command-line in which the username appears.
513 * word_start int The index within line[] of the start of the
515 * word_end int The index within line[] of the character which
524 const char *prefix, const char *line,
535 args.line = line;
574 if(cpl_add_completion(cpl, args->line, args->word_start, args->word_end,
589 * line const char * The input line, as received by the callback
591 * word_start int The index within line[] of the start of the
594 * word_end int The index within line[] of the character which
608 const char *line, int word_start, int word_end,
737 if(cpl_add_completion(cpl, line, word_start, word_end, cf->buff->name,