Searched refs:maxIndex (Results 1 - 22 of 22) sorted by relevance

/haiku-fatelf/src/kits/interface/textview_support/
H A DLineBuffer.cpp56 int32 maxIndex = fItemCount - 1; local
59 while (minIndex < maxIndex) {
60 index = (minIndex + maxIndex) >> 1;
67 maxIndex = index;
78 int32 maxIndex = fItemCount - 1; local
81 while (minIndex < maxIndex) {
82 index = (minIndex + maxIndex) >> 1;
89 maxIndex = index;
H A DStyleBuffer.cpp48 int32 maxIndex = fItemCount; local
51 while (minIndex < maxIndex) {
52 index = (minIndex + maxIndex) >> 1;
63 maxIndex = index;
/haiku-fatelf/src/kits/interface/layouter/
H A DComplexLayouter.h63 void _BackupValues(int32 maxIndex);
64 void _RestoreValues(int32 maxIndex);
H A DComplexLayouter.cpp892 ComplexLayouter::_BackupValues(int32 maxIndex) argument
894 for (int32 i = 0; i <= maxIndex; i++) {
904 ComplexLayouter::_RestoreValues(int32 maxIndex) argument
906 for (int32 i = 0; i <= maxIndex; i++) {
/haiku-fatelf/src/system/runtime_loader/
H A Delf_versioning.cpp62 uint32 maxIndex = 0; local
74 if (versionIndex > maxIndex)
75 maxIndex = versionIndex;
95 if (versionIndex > maxIndex)
96 maxIndex = versionIndex;
105 if (maxIndex == 0)
110 = (elf_version_info*)malloc(sizeof(elf_version_info) * (maxIndex + 1));
115 image->num_versions = maxIndex + 1;
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar2316.c382 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
462 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
464 while (ss < (int16_t)maxIndex)
474 if (tgtIndex > maxIndex) { /* need to extrapolate above */
478 (ss-maxIndex)*Vpd_step);
H A Dar2317.c360 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
440 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
442 while (ss < (int16_t)maxIndex)
452 if (tgtIndex > maxIndex) { /* need to extrapolate above */
456 (ss-maxIndex)*Vpd_step);
H A Dar2413.c376 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
456 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
458 while (ss < (int16_t)maxIndex)
468 if (tgtIndex > maxIndex) { /* need to extrapolate above */
472 (ss-maxIndex)*Vpd_step);
H A Dar2425.c381 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
457 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
459 while (ss < (int16_t)maxIndex)
469 if (tgtIndex > maxIndex) { /* need to extrapolate above */
473 (ss-maxIndex)*Vpd_step);
H A Dar5413.c420 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
500 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
502 while (ss < (int16_t)maxIndex)
512 if (tgtIndex > maxIndex) { /* need to extrapolate above */
516 (ss-maxIndex)*Vpd_step);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_reset.c658 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
763 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
765 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {
775 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
778 (ss - maxIndex +1) * vpdStep));
/haiku-fatelf/src/kits/interface/
H A DOutlineListView.cpp868 int32 maxIndex = fList.CountItems() - 1; local
869 if (fFirstSelected > maxIndex)
870 fFirstSelected = maxIndex;
871 if (fLastSelected > maxIndex)
872 fLastSelected = maxIndex;
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DDisk.cpp529 int32 maxIndex = 0; local
532 maxIndex = i;
536 fSuperBlock.block_size = (1 << (maxIndex + 10));
/haiku-fatelf/src/apps/deskbar/
H A DSwitcher.cpp1478 int32 maxIndex = fManager->GroupList()->CountItems() - 1; local
1480 BRect lastFrame = fIconView->FrameOf(maxIndex);
1551 int32 maxIndex = fManager->CountWindows(groupIndex) - 1; local
1554 if (maxIndex >= 0)
1555 lastFrame = fWindow->WindowView()->FrameOf(maxIndex);
1557 if (maxIndex >= 0 && lastFrame.bottom > rect.bottom) {
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dtest.cpp246 findKey(void *key, int32 length, int32 maxIndex) argument
248 for (int32 i = length;i < maxIndex;i += MAX_STRING - MIN_STRING) {
/haiku-fatelf/src/system/kernel/
H A Delf.cpp864 uint32 maxIndex = 0; local
876 if (versionIndex > maxIndex)
877 maxIndex = versionIndex;
897 if (versionIndex > maxIndex)
898 maxIndex = versionIndex;
907 if (maxIndex == 0)
912 = (elf_version_info*)malloc(sizeof(elf_version_info) * (maxIndex + 1));
917 image->num_versions = maxIndex + 1;
/haiku-fatelf/src/add-ons/translators/gif/
H A DSavePalette.cpp496 int maxIndex = max_c(size / 3, fSize) - 1; local
497 for (int i = 0; i <= maxIndex; i++) {
502 int rest = (maxIndex + 1) * 3;
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c2360 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
2461 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
2463 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {
2473 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
2476 (ss - maxIndex +1) * vpdStep));
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DInode.cpp335 int32 index = 0, maxIndex = 0; local
342 maxIndex = index;
380 RemoveSmallData(max, maxIndex);
H A DBlockAllocator.cpp1227 int32 maxIndex = (indirect.Length() << fVolume->BlockShift()) / sizeof(block_run);
1229 for (int32 index = 0; index < maxIndex; ) {
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DInode.cpp564 int32 index = 0, maxIndex = 0; local
571 maxIndex = index;
611 _RemoveSmallData(node, max, maxIndex);
H A DBlockAllocator.cpp1993 int32 maxIndex
1997 for (int32 index = 0; index < maxIndex; ) {

Completed in 139 milliseconds