Lines Matching +defs:name +defs:text
59 * if ``user'' isn't valid user name or ``txt'' doesn't start
85 /* text until string after slash */
318 * return first found file name starting by the ``text'' or NULL if no
325 fn_filename_completion_function(const char *text, int state)
336 pos = strrchr(text, '/');
349 len = (size_t)(pos - text); /* including last slash */
359 (void)strlcpy(dirname, text, len + 1);
362 if (*text == 0)
365 filename = strdup(text);
447 append_char_function(const char *name)
450 char *expname = *name == '~' ? fn_tilde_expand(name) : NULL;
453 if (stat(expname ? expname : name, &stbuf) == -1)
464 * returns list of completions for text given
468 completion_matches(const char *text, char *(*genfunc)(const char *, int))
476 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) {
805 * There was some common match, but the name was