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,
196 * of help to output for the command.
255 {1, " Help [Command]", "This help screen or individual command\n"},
256 {1, " History", "Display command history buffer\n"},
262 {1, " Quit or Exit", "Exit this command\n"},
276 {1, " ! <CommandNumber>", "Execute command from history buffer\n"},
277 {1, " !!", "Execute last command again\n"},
332 * PARAMETERS: command - Command string to match
335 * RETURN: TRUE if command matched, FALSE otherwise
337 * DESCRIPTION: Attempt to match a command in the help table in order to
338 * print help information for a single command.
343 acpi_db_match_command_help(const char *command,
359 /* Match command name (full command or substring) */
361 while ((*command) && (*invocation) && (*invocation != ' ')) {
362 if (tolower((int)*command) != tolower((int)*invocation)) {
367 command++;
387 * PARAMETERS: command - Command string to match
393 * DESCRIPTION: Display help information for a Debugger command.
397 static void acpi_db_display_command_info(const char *command, u8 display_all)
404 matched = acpi_db_match_command_help(command, next);
417 * PARAMETERS: command - Optional command string to display help.
418 * if not specified, all debugger command
423 * DESCRIPTION: Display help for a single debugger command, or all of them.
427 static void acpi_db_display_help(char *command)
431 if (!command) {
447 acpi_db_display_command_info(command, TRUE);
460 * DESCRIPTION: Command line parsing. Get the next token on the command line
600 * RETURN: Count of arguments to the command
602 * DESCRIPTION: Get the next command line from the user. Gets entire line
635 /* Uppercase the actual command */
651 * PARAMETERS: user_command - User command line
653 * RETURN: Index into command array, -1 if not found
655 * DESCRIPTION: Search command array for a command match
712 /* Find command and add to the history buffer */
718 * We don't want to add the !! command to the history buffer. It
720 * previous command.
739 /* Decode and dispatch the command */
861 case CMD_HISTORY_EXE: /* ! command */
871 case CMD_HISTORY_LAST: /* !! command */
1067 acpi_os_printf("Event command not implemented\n");
1188 acpi_os_printf("%s: unknown command\n", acpi_gbl_db_args[0]);
1207 * DESCRIPTION: Debugger execute thread. Waits for a command line, then
1238 /* TBD: [Restructure] Need a separate command line buffer for step mode */
1242 /* Wait the readiness of the command */
1249 /* Just call to the command line interpreter */
1257 /* Notify the completion of the command */
1266 ACPI_EXCEPTION((AE_INFO, status, "While parsing command line"));