Home
last modified time | relevance | path

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

/scripts/kconfig/lxdialog/
Dmenubox.c190 max_choice = MIN(menu_height, item_count()); in dialog_menu()
241 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
248 if (choice >= item_count() - max_choice / 2) in dialog_menu()
249 scroll = first_item = item_count() - max_choice; in dialog_menu()
262 print_arrows(dialog, item_count(), scroll, in dialog_menu()
293 if (item_count() != 0 && in dialog_menu()
314 (scroll + max_choice < item_count())) { in dialog_menu()
337 if (scroll + max_choice < item_count()) { in dialog_menu()
351 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
186 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
222 print_arrows(dialog, choice, item_count(), in dialog_checklist()
233 if (scroll + choice >= item_count() - 1) in dialog_checklist()
250 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h170 int item_count(void);
Dutil.c656 int item_count(void) in item_count() function
/scripts/kconfig/
Dnconf.c938 if (toprow >= item_count(curses_menu)-mwin_max_lines) in center_item()
939 toprow = item_count(curses_menu)-mwin_max_lines; in center_item()
Dmconf.c671 if (item_count() != 0) { in conf()