Searched refs:max_choice (Results 1 – 3 of 3) sorted by relevance
107 for (i = 0; i < max_choice; i++) { in print_list()119 (long) (scrollamt + max_choice), in print_list()199 int max_choice; in dlg_checklist() local311 max_choice = MAX(max_choice, 1); in dlg_checklist()368 choice = max_choice - 1; in dlg_checklist()400 if (i < max_choice) { in dlg_checklist()498 && (key - '1' < max_choice)) { in dlg_checklist()517 i = -MIN(scrollamt, max_choice); in dlg_checklist()544 if (i < 0 || i >= max_choice) { in dlg_checklist()549 choice = max_choice - 1; in dlg_checklist()[all …]
104 int max_choice) in print_list() argument111 for (i = 0; i < max_choice; i++) { in print_list()203 int max_choice; in dlg_treeview() local339 scrollamt = choice - max_choice + 1; in dlg_treeview()340 choice = max_choice - 1; in dlg_treeview()377 if (i < max_choice) { in dlg_treeview()459 && (key - '1' < max_choice)) { in dlg_treeview()478 i = -MIN(scrollamt, max_choice); in dlg_treeview()504 if (i < 0 || i >= max_choice) { in dlg_treeview()509 choice = max_choice - 1; in dlg_treeview()[all …]
248 for (i = 0; i < max_choice; i++) { in print_menu()276 scrollamt + max_choice, in print_menu()359 int max_choice; in dlg_menu() local439 max_choice = MIN(all.menu_height, in dlg_menu()442 max_choice /= INPUT_ROWS; in dlg_menu()510 choice = max_choice - 1; in dlg_menu()549 if (i < max_choice) { in dlg_menu()599 && (key - '1' < max_choice)) { in dlg_menu()646 if (i < 0 || i >= max_choice) { in dlg_menu()651 choice = max_choice - 1; in dlg_menu()[all …]