Home
last modified time | relevance | path

Searched refs:item_count (Results 1 – 6 of 6) sorted by relevance

/scripts/kconfig/lxdialog/
Dmenubox.c203 max_choice = MIN(menu_height, item_count()); in dialog_menu()
254 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
261 if (choice >= item_count() - max_choice / 2) in dialog_menu()
262 scroll = first_item = item_count() - max_choice; in dialog_menu()
275 print_arrows(dialog, item_count(), scroll, in dialog_menu()
306 if (item_count() != 0 && in dialog_menu()
327 (scroll + max_choice < item_count())) { in dialog_menu()
350 if (scroll + max_choice < item_count()) { in dialog_menu()
364 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c140 max_choice = MIN(list_height, item_count()); in dialog_checklist()
199 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
235 print_arrows(dialog, choice, item_count(), in dialog_checklist()
246 if (scroll + choice >= item_count() - 1) in dialog_checklist()
263 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h189 int item_count(void);
Dutil.c669 int item_count(void) in item_count() function
/scripts/kconfig/
Dnconf.c936 if (toprow >= item_count(curses_menu)-mwin_max_lines) in center_item()
937 toprow = item_count(curses_menu)-mwin_max_lines; in center_item()
Dmconf.c673 if (item_count() != 0) { in conf()