Home
last modified time | relevance | path

Searched refs:text (Results 1 – 5 of 5) sorted by relevance

/libedit-20250104-3.1/examples/
Dfileman.c243 fileman_completion (const char* text, int start, int end __attribute__((__unused__))) in fileman_completion() argument
254 matches = completion_matches ((char*)text, command_generator); in fileman_completion()
264 command_generator (const char *text, int state) in command_generator() argument
275 len = strlen (text); in command_generator()
284 if (strncmp (name, text, len) == 0) in command_generator()
/libedit-20250104-3.1/src/
Dfilecomplete.c326 fn_filename_completion_function(const char *text, int state) in fn_filename_completion_function() argument
337 pos = strrchr(text, '/'); in fn_filename_completion_function()
350 len = (size_t)(pos - text); /* including last slash */ in fn_filename_completion_function()
360 (void)strlcpy(dirname, text, len + 1); in fn_filename_completion_function()
363 if (*text == 0) in fn_filename_completion_function()
366 filename = strdup(text); in fn_filename_completion_function()
463 completion_matches(const char *text, char *(*genfunc)(const char *, int)) in completion_matches() argument
471 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) { in completion_matches()
Dreadline.c1891 if (text[0] == '\0') in username_completion_function()
1894 if (*text == '~') in username_completion_function()
1895 text++; in username_completion_function()
1902 && text[0] == pass->pw_name[0] in username_completion_function()
1903 && strcmp(text, pass->pw_name) == 0) in username_completion_function()
2077 rl_insert_text(const char *text) in rl_insert_text() argument
2079 if (!text || *text == 0) in rl_insert_text()
2085 if (el_insertstr(e, text) < 0) in rl_insert_text()
2087 return (int)strlen(text); in rl_insert_text()
2342 if (!text || *text == 0) in rl_replace_line()
[all …]
/libedit-20250104-3.1/m4/
Dlibtool.m4591 # '#!' sequence but before initialization text begins. After this
592 # macro, additional text can be appended to FILE to form the body of
780 # text mode, it properly converts lines to CR/LF. This bash problem
5479 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
6114 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
6161 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6179 # ever link correctly. If we're not using GNU ld we use -z text
6182 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7490 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7511 # ever link correctly. If we're not using GNU ld we use -z text
[all …]
/libedit-20250104-3.1/
Dconfigure2343 test_restrict (ccp restrict text)
2347 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
11190 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
11192 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
11234 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11281 no_undefined_flag='$wl-z,text'
11299 # ever link correctly. If we're not using GNU ld we use -z text