Home
last modified time | relevance | path

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

/lk-master/lib/console/
A Dconsole.c246 const console_cmd *curr_cmd = block->list; in match_command() local
248 if ((availability_mask & curr_cmd[i].availability_mask) == 0) { in match_command()
251 if (strcmp(command, curr_cmd[i].cmd_str) == 0) { in match_command()
252 return &curr_cmd[i]; in match_command()
791 const console_cmd *curr_cmd = block->list; in cmd_help_impl() local
794 if ((availability_mask & curr_cmd[i].availability_mask) == 0) { in cmd_help_impl()
798 if (curr_cmd[i].help_str) in cmd_help_impl()
799 printf("\t%-16s: %s\n", curr_cmd[i].cmd_str, curr_cmd[i].help_str); in cmd_help_impl()

Completed in 3 milliseconds