Lines Matching refs:last_char
147 int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in var_complete() argument
151 space = last_char == '\0' || isblank(last_char); in var_complete()
165 static int dollar_complete(int argc, char * const argv[], char last_char, in dollar_complete() argument
170 last_char == '\0' || isblank(last_char)) in dollar_complete()
180 char * const argv[], char last_char, in complete_subcmdv() argument
210 if (argc > 1 || last_char == '\0' || isblank(last_char)) { in complete_subcmdv()
216 return (*cmdtp->complete)(argc, argv, last_char, maxv, cmdv); in complete_subcmdv()
256 static int complete_cmdv(int argc, char * const argv[], char last_char, in complete_cmdv() argument
262 last_char, maxv, cmdv); in complete_cmdv()
358 char last_char; in cmd_auto_complete() local
365 last_char = buf[cnt - 1]; in cmd_auto_complete()
367 last_char = '\0'; in cmd_auto_complete()
376 i = dollar_complete(argc, argv, last_char, in cmd_auto_complete()
380 i = complete_cmdv(argc, argv, last_char, in cmd_auto_complete()
397 if (last_char != '\0' && !isblank(last_char)) in cmd_auto_complete()
407 if (last_char != '\0' && !isblank(last_char)) in cmd_auto_complete()