Home
last modified time | relevance | path

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

/busybox-1.35.0/libbb/
Dlineedit.c830 const char *basecmd; in complete_cmd_dir_file() local
836 basecmd = strrchr(command, '/'); in complete_cmd_dir_file()
837 if (!basecmd) { in complete_cmd_dir_file()
840 basecmd = command; in complete_cmd_dir_file()
843 basecmd++; in complete_cmd_dir_file()
845 dirbuf = xstrndup(command, basecmd - command); in complete_cmd_dir_file()
852 baselen = strlen(basecmd); in complete_cmd_dir_file()
858 if (strncmp(basecmd, p, baselen) == 0) in complete_cmd_dir_file()
871 if (strncmp(basecmd, b, baselen) == 0) in complete_cmd_dir_file()
903 if (!basecmd[0] && DOT_OR_DOTDOT(name_found)) in complete_cmd_dir_file()
[all …]