Lines Matching +defs:name +defs:text
164 * in the parsed text when it is passed to the completion function.
1864 tilde_expand(char *name)
1866 return fn_tilde_expand(name);
1870 filename_completion_function(const char *name, int state)
1872 return fn_filename_completion_function(name, state);
1877 * which starts with supplied text
1878 * text contains a partial username preceded by random character
1883 username_completion_function(const char *text, int state)
1891 if (text[0] == '\0')
1894 if (*text == '~')
1895 text++;
1906 && text[0] == pass->pw_name[0]
1907 && strcmp(text, pass->pw_name) == 0)
2081 rl_insert_text(const char *text)
2083 if (!text || *text == 0)
2089 if (el_insertstr(e, text) < 0)
2091 return (int)strlen(text);
2124 rl_add_defun(const char *name, rl_command_func_t *fun, int c)
2130 el_set(e, EL_ADDFN, name, name, rl_bind_wrapper);
2132 el_set(e, EL_BIND, dest, name, NULL);
2344 rl_replace_line(const char * text, int clear_undo __attribute__((__unused__)))
2346 if (!text || *text == 0)
2352 el_replacestr(e, text);
2455 rl_filename_completion_function (const char *text, int state)
2457 return fn_filename_completion_function(text, state);
2611 rl_set_keymap_name(const char *name, Keymap k)
2613 return name && k ? 0 : 0;