Lines Matching refs:completion
81 CompleteFile *cf; /* The resources used for filename completion */
102 * the builtin file-completion callback function to modify its behavior.
113 /* to the completion suffixes. */
162 * Create a new string-completion object.
222 * Allocate a filename-completion resource object.
233 * Delete a string-completion object.
259 * functions. It adds one possible completion of the token that is being
260 * completed to an array of completions. If the completion needs any
279 * appends this string to the completion to indicate
282 * cont_suffix const char * If this turns out to be the only completion,
285 * file-completion callback registers a directory
300 char *string; /* A newly allocated copy of the completion string */
330 * Allocate memory to store the combined completion prefix and the
349 match->completion = string;
363 * cpl WordCompletion * The completion resource object.
385 return strcmp(m1->completion, m2->completion);
392 * cpl WordCompletion * The completion resource object.
419 * Find the common prefix of all of the matching completion matches,
424 * cpl WordCompletion * The completion resource object.
473 "Insufficient memory to record common completion suffix.",
486 * Discard the contents of the array of possible completion matches.
489 * cpl WordCompletion * The word-completion resource object.
511 * Given an input line and the point at which it completion is to be
515 * cpl WordCompletion * The completion resource object.
523 * record completion matches.
558 * Have the matching function record possible completion matches in
595 * cpl WordCompletion * The completion resource object.
675 * Return a description of the string-completion error that occurred.
678 * cpl WordCompletion * The string-completion resource object.
688 * When an error occurs while performing a completion, you registerf a
693 * cpl WordCompletion * The string-completion resource object that was
704 * This is the builtin completion callback function which performs file
705 * completion.
712 * file-completion behavior, or a pointer to a
786 * Perform the completion.
970 * cpl WordCompletion * The completion resource object.
976 const char *completion; /* The completion string of the last unique match */
995 completion = matches[0].completion;
1003 if(strcmp(completion, match->completion) != 0 ||
1008 completion = match->completion;
1054 int len = strlen(match->completion) + strlen(match->type_suffix);
1132 * How long are the completion and type-suffix strings?
1134 int clen = strlen(match->completion);
1137 * Write the completion string.
1139 if(write_fn(data, match->completion, clen) != clen)