• Home
  • Raw
  • Download

Lines Matching refs:cmdline

447     static char cmdline[MAX_CMDLINE_LEN];  in edit_cmdline()  local
451 strlcpy(cmdline, input, MAX_CMDLINE_LEN); in edit_cmdline()
452 cmdline[MAX_CMDLINE_LEN - 1] = '\0'; in edit_cmdline()
454 len = cursor = strlen(cmdline); in edit_cmdline()
470 CMDLINE_ROW, pad_line(cmdline, 0, max(len, prev_len))); in edit_cmdline()
472 CMDLINE_ROW, pad_line(cmdline, 0, cursor)); in edit_cmdline()
486 return cmdline; in edit_cmdline()
495 memmove(cmdline + cursor - 1, cmdline + cursor, in edit_cmdline()
506 memmove(cmdline + cursor, cmdline + cursor + 1, len - cursor); in edit_cmdline()
515 cmdline[len] = '\0'; in edit_cmdline()
524 while (cursor && my_isspace(cmdline[cursor - 1])) in edit_cmdline()
527 while (cursor && !my_isspace(cmdline[cursor - 1])) in edit_cmdline()
530 memmove(cmdline + cursor, cmdline + prevcursor, in edit_cmdline()
548 putchar(cmdline[cursor++]); in edit_cmdline()
554 cmdline[len = cursor] = '\0'; in edit_cmdline()
594 cmdline[len] = key; in edit_cmdline()
595 cmdline[++len] = '\0'; in edit_cmdline()
600 memmove(cmdline + cursor + 1, cmdline + cursor, in edit_cmdline()
602 cmdline[cursor++] = key; in edit_cmdline()
740 return cm->menu_entries[cm->defentry]->cmdline; /* Default entry */ in do_hidden_menu()
752 const char *cmdline = NULL; in run_menu() local
763 return cm->menu_entries[cm->defentry]->cmdline; in run_menu()
773 cmdline = do_hidden_menu(); in run_menu()
774 if (cmdline) in run_menu()
775 return cmdline; in run_menu()
793 cmdline = in run_menu()
794 cm->ontimeout ? cm->ontimeout : cm->menu_entries[entry]->cmdline; in run_menu()
901 cmdline = NULL; in run_menu()
905 cmdline = me->cmdline; in run_menu()
923 key = show_message_file(me->cmdline, me->background); in run_menu()
1056 cmdline = edit_cmdline(me->cmdline, top); in run_menu()
1057 done = !!cmdline; in run_menu()
1099 return cmdline; in run_menu()
1104 const char *cmdline; in main() local
1146 cmdline = run_menu(); in main()
1154 if (cmdline) { in main()
1155 uint32_t type = parse_image_type(cmdline); in main()
1157 execute(cmdline, type, false); in main()