Lines Matching defs:key
670 static int hist_browser__handle_hotkey(struct hist_browser *browser, bool warn_lost_event, char *title, size_t size, int key)
672 switch (key) {
743 bool warn_lost_event, int key)
757 if (key && hist_browser__handle_hotkey(browser, warn_lost_event, title, sizeof(title), key))
761 key = ui_browser__run(&browser->b, delay_secs);
763 if (hist_browser__handle_hotkey(browser, warn_lost_event, title, sizeof(title), key))
768 return key;
2955 int key = -1;
3003 /* reset abort key so that it can get Ctrl-C as a key */
3032 key = 0; // reset key
3033 do_hotkey: // key came straight from options ui__popup_menu()
3035 key = hist_browser__run(browser, helpline, warn_lost_event, key);
3042 switch (key) {
3061 if (key - '0' == symbol_conf.group_sort_idx)
3064 symbol_conf.group_sort_idx = key - '0';
3075 key = K_RELOAD;
3171 key = do_switch_data(browser, actions);
3172 if (key == K_SWITCH_INPUT_DATA)
3231 if (key == K_ESC &&
3277 helpline = "Press '?' for help on key bindings";
3374 choice = ui__popup_menu(nr_options, options, &key);
3382 key = act->fn(browser, act);
3383 } while (key == 1);
3385 if (key == K_SWITCH_INPUT_DATA)
3393 return key;
3464 int key;
3471 key = ui_browser__run(&menu->b, delay_secs);
3473 switch (key) {
3498 key = perf_evsel__hists_browse(pos, nr_events, help,
3505 switch (key) {
3544 return key;
3673 int key = -1;
3688 /* reset abort key so that it can get Ctrl-C as a key */
3695 key = hist_browser__run(browser, "? - help", true, 0);
3697 switch (key) {