Lines Matching defs:command

24 static void acpi_db_display_command_info(const char *command, u8 display_all);
26 static void acpi_db_display_help(char *command);
29 acpi_db_match_command_help(const char *command,
194 * of help to output for the command.
253 {1, " Help [Command]", "This help screen or individual command\n"},
254 {1, " History", "Display command history buffer\n"},
260 {1, " Quit or Exit", "Exit this command\n"},
274 {1, " ! <CommandNumber>", "Execute command from history buffer\n"},
275 {1, " !!", "Execute last command again\n"},
329 * PARAMETERS: command - Command string to match
332 * RETURN: TRUE if command matched, FALSE otherwise
334 * DESCRIPTION: Attempt to match a command in the help table in order to
335 * print help information for a single command.
340 acpi_db_match_command_help(const char *command,
356 /* Match command name (full command or substring) */
358 while ((*command) && (*invocation) && (*invocation != ' ')) {
359 if (tolower((int)*command) != tolower((int)*invocation)) {
364 command++;
384 * PARAMETERS: command - Command string to match
390 * DESCRIPTION: Display help information for a Debugger command.
394 static void acpi_db_display_command_info(const char *command, u8 display_all)
401 matched = acpi_db_match_command_help(command, next);
414 * PARAMETERS: command - Optional command string to display help.
415 * if not specified, all debugger command
420 * DESCRIPTION: Display help for a single debugger command, or all of them.
424 static void acpi_db_display_help(char *command)
428 if (!command) {
444 acpi_db_display_command_info(command, TRUE);
457 * DESCRIPTION: Command line parsing. Get the next token on the command line
597 * RETURN: Count of arguments to the command
599 * DESCRIPTION: Get the next command line from the user. Gets entire line
632 /* Uppercase the actual command */
648 * PARAMETERS: user_command - User command line
650 * RETURN: Index into command array, -1 if not found
652 * DESCRIPTION: Search command array for a command match
709 /* Find command and add to the history buffer */
715 * We don't want to add the !! command to the history buffer. It
717 * previous command.
736 /* Decode and dispatch the command */
858 case CMD_HISTORY_EXE: /* ! command */
868 case CMD_HISTORY_LAST: /* !! command */
1064 acpi_os_printf("Event command not implemented\n");
1180 acpi_os_printf("%s: unknown command\n", acpi_gbl_db_args[0]);
1199 * DESCRIPTION: Debugger execute thread. Waits for a command line, then
1230 /* TBD: [Restructure] Need a separate command line buffer for step mode */
1234 /* Wait the readiness of the command */
1241 /* Just call to the command line interpreter */
1249 /* Notify the completion of the command */
1258 ACPI_EXCEPTION((AE_INFO, status, "While parsing command line"));