Lines Matching refs:chosen_item
513 int chosen_item = -1; in get_menu_selection() local
515 while (chosen_item < 0) { in get_menu_selection()
540 chosen_item = selected; in get_menu_selection()
546 chosen_item = action; in get_menu_selection()
551 return chosen_item; in get_menu_selection()
623 int chosen_item = 0; in browse_directory() local
625 chosen_item = get_menu_selection(headers, zips, 1, chosen_item, device); in browse_directory()
627 char* item = zips[chosen_item]; in browse_directory()
629 if (chosen_item == 0) { // item 0 is always "../" in browse_directory()
662 int chosen_item = get_menu_selection(headers, items, 1, 0, device); in yes_no() local
663 return (chosen_item == 1); in yes_no()
736 int chosen_item = get_menu_selection(headers, entries, 1, 0, device); in choose_recovery_file() local
737 if (strcmp(entries[chosen_item], "Back") == 0) break; in choose_recovery_file()
741 ui->ShowFile(entries[chosen_item]); in choose_recovery_file()
796 int chosen_item = get_menu_selection(nullptr, device->GetMenuItems(), 0, 0, device); in prompt_and_wait() local
801 Device::BuiltinAction chosen_action = device->InvokeMenuItem(chosen_item); in prompt_and_wait()