max_choice 108 scripts/kconfig/lxdialog/checklist.c int key = 0, button = 0, choice = 0, scroll = 0, max_choice; max_choice 127 scripts/kconfig/lxdialog/checklist.c max_choice = MIN(list_height, item_count()); max_choice 181 scripts/kconfig/lxdialog/checklist.c for (i = 0; i < max_choice; i++) { max_choice 198 scripts/kconfig/lxdialog/checklist.c for (i = 0; i < max_choice; i++) { max_choice 204 scripts/kconfig/lxdialog/checklist.c if (i < max_choice || key == KEY_UP || key == KEY_DOWN || max_choice 232 scripts/kconfig/lxdialog/checklist.c if (choice == max_choice - 1) { max_choice 238 scripts/kconfig/lxdialog/checklist.c item_set(scroll + max_choice - 1); max_choice 240 scripts/kconfig/lxdialog/checklist.c max_choice - 1, max_choice 247 scripts/kconfig/lxdialog/checklist.c item_set(scroll + max_choice - 1); max_choice 248 scripts/kconfig/lxdialog/checklist.c print_item(list, max_choice - 1, TRUE); max_choice 177 scripts/kconfig/lxdialog/menubox.c int first_item = 0, max_choice; max_choice 190 scripts/kconfig/lxdialog/menubox.c max_choice = MIN(menu_height, item_count()); max_choice 240 scripts/kconfig/lxdialog/menubox.c if ((scroll <= choice) && (scroll + max_choice > choice) && max_choice 241 scripts/kconfig/lxdialog/menubox.c (scroll >= 0) && (scroll + max_choice <= item_count())) { max_choice 247 scripts/kconfig/lxdialog/menubox.c if ((choice >= max_choice)) { max_choice 248 scripts/kconfig/lxdialog/menubox.c if (choice >= item_count() - max_choice / 2) max_choice 249 scripts/kconfig/lxdialog/menubox.c scroll = first_item = item_count() - max_choice; max_choice 251 scripts/kconfig/lxdialog/menubox.c scroll = first_item = choice - max_choice / 2; max_choice 256 scripts/kconfig/lxdialog/menubox.c for (i = 0; i < max_choice; i++) { max_choice 276 scripts/kconfig/lxdialog/menubox.c i = max_choice; max_choice 278 scripts/kconfig/lxdialog/menubox.c for (i = choice + 1; i < max_choice; i++) { max_choice 284 scripts/kconfig/lxdialog/menubox.c if (i == max_choice) max_choice 285 scripts/kconfig/lxdialog/menubox.c for (i = 0; i < max_choice; i++) { max_choice 294 scripts/kconfig/lxdialog/menubox.c (i < max_choice || max_choice 313 scripts/kconfig/lxdialog/menubox.c if ((choice > max_choice - 3) && max_choice 314 scripts/kconfig/lxdialog/menubox.c (scroll + max_choice < item_count())) { max_choice 318 scripts/kconfig/lxdialog/menubox.c print_item(scroll+max_choice - 1, max_choice 319 scripts/kconfig/lxdialog/menubox.c max_choice - 1, FALSE); max_choice 321 scripts/kconfig/lxdialog/menubox.c choice = MIN(choice + 1, max_choice - 1); max_choice 325 scripts/kconfig/lxdialog/menubox.c for (i = 0; (i < max_choice); i++) { max_choice 336 scripts/kconfig/lxdialog/menubox.c for (i = 0; (i < max_choice); i++) { max_choice 337 scripts/kconfig/lxdialog/menubox.c if (scroll + max_choice < item_count()) { max_choice 339 scripts/kconfig/lxdialog/menubox.c print_item(scroll+max_choice-1, max_choice 340 scripts/kconfig/lxdialog/menubox.c max_choice - 1, FALSE); max_choice 342 scripts/kconfig/lxdialog/menubox.c if (choice + 1 < max_choice)