Home
last modified time | relevance | path

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

/external/u-boot/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.h176 int item_count(void);
Dutil.c656 int item_count(void) in item_count() function
/external/toybox/kconfig/lxdialog/
Dmenubox.c201 max_choice = MIN(menu_height, item_count()); in dialog_menu()
252 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
259 if (choice >= item_count() - max_choice / 2) in dialog_menu()
260 scroll = first_item = item_count() - max_choice; in dialog_menu()
273 print_arrows(dialog, item_count(), scroll, in dialog_menu()
324 (scroll + max_choice < item_count())) { in dialog_menu()
347 if (scroll + max_choice < item_count()) { in dialog_menu()
361 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c134 max_choice = MIN(list_height, item_count()); in dialog_checklist()
192 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
228 print_arrows(dialog, choice, item_count(), in dialog_checklist()
239 if (scroll + choice >= item_count() - 1) in dialog_checklist()
256 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h176 int item_count(void);
Dutil.c598 int item_count(void) in item_count() function
/external/icu/icu4c/source/common/
Ducnvsel.cpp82 int32_t item_count; in generateSelectorData() local
101 item_count = uset_getItemCount(unicode_point_set); in generateSelectorData()
103 for (j = 0; j < item_count; ++j) { in generateSelectorData()
126 int32_t item_count = uset_getItemCount(excludedCodePoints); in generateSelectorData() local
127 for (int32_t j = 0; j < item_count; ++j) { in generateSelectorData()
/external/libprotobuf-mutator/src/
Dmutator.h68 virtual size_t MutateEnum(size_t index, size_t item_count);
Dmutator.cc633 size_t Mutator::MutateEnum(size_t index, size_t item_count) { in MutateEnum() argument
634 if (item_count <= 1) return 0; in MutateEnum()
635 return (index + 1 + GetRandomIndex(random_, item_count - 1)) % item_count; in MutateEnum()
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc802 int item_count; in _hb_uniscribe_shape() local
818 &item_count); in _hb_uniscribe_shape()
837 for (int i = 0; i < item_count; i++) in _hb_uniscribe_shape()
/external/u-boot/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.c673 if (item_count() != 0) { in conf()
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp1165 const GLuint item_count = DE_LENGTH_OF_ARRAY(invalid_elements); in iterate() local
1166 GLuint invalid_elements_set[invalid_buffers_count][item_count]; in iterate()
1169 for (GLuint item_index = 0; item_index < item_count; ++item_index) in iterate()