Lines Matching defs:command
78 // separates panic() message from command list to execute
336 // a complete command -- print its help
338 // get the command
342 debugger_command* command = find_debugger_command(buffer, true, ambiguous);
345 if (command != NULL) {
347 print_debugger_command_usage(command->name);
350 kprintf("\nambiguous command\n");
352 kprintf("\nno such command\n");
357 // a partial command -- look for completions
362 debugger_command* command = NULL;
365 while ((command = next_debugger_command(command, buffer, position))
368 int32 nameLength = strlen(command->name);
380 if (previousCommandName[i] != command->name[i]) {
387 previousCommandName = command->name;
396 command = next_debugger_command(NULL, buffer, position);
406 command->name + position, longestName - position);
427 debugger_command* command = NULL;
429 while ((command = next_debugger_command(command, buffer, position))
436 kprintf(" %-*s", (int)longestName, command->name);
888 // Index of the previous command line, if the command returned
910 // the previous command can be repeated
922 // If the command is continuable, remember the current line index.