Searched refs:maxIndex (Results 1 - 19 of 19) sorted by path

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_reset.c665 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
770 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
772 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {
782 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
785 (ss - maxIndex +1) * vpdStep));
/haiku/src/add-ons/translators/gif/
H A DSavePalette.cpp522 int maxIndex = max_c(size / 3, fSize) - 1; local
523 for (int i = 0; i <= maxIndex; i++) {
528 int rest = (maxIndex + 1) * 3;
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp543 int32 maxIndex = 0; local
546 maxIndex = i;
550 fSuperBlock.block_size = (1 << (maxIndex + 10));
/haiku/src/kits/interface/layouter/
H A DComplexLayouter.h63 void _BackupValues(int32 maxIndex);
64 void _RestoreValues(int32 maxIndex);
H A DComplexLayouter.cpp898 ComplexLayouter::_BackupValues(int32 maxIndex) argument
900 for (int32 i = 0; i <= maxIndex; i++) {
910 ComplexLayouter::_RestoreValues(int32 maxIndex) argument
912 for (int32 i = 0; i <= maxIndex; i++) {
/haiku/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.cpp52 int32 maxIndex = fItemCount; local
55 while (minIndex < maxIndex) {
56 index = (minIndex + maxIndex) >> 1;
64 maxIndex = index;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar2316.c384 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
464 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
466 while (ss < (int16_t)maxIndex)
476 if (tgtIndex > maxIndex) { /* need to extrapolate above */
480 (ss-maxIndex)*Vpd_step);
H A Dar2317.c362 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
442 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
444 while (ss < (int16_t)maxIndex)
454 if (tgtIndex > maxIndex) { /* need to extrapolate above */
458 (ss-maxIndex)*Vpd_step);
H A Dar2413.c378 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
458 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
460 while (ss < (int16_t)maxIndex)
470 if (tgtIndex > maxIndex) { /* need to extrapolate above */
474 (ss-maxIndex)*Vpd_step);
H A Dar2425.c383 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
459 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
461 while (ss < (int16_t)maxIndex)
471 if (tgtIndex > maxIndex) { /* need to extrapolate above */
475 (ss-maxIndex)*Vpd_step);
H A Dar5413.c421 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
501 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
503 while (ss < (int16_t)maxIndex)
513 if (tgtIndex > maxIndex) { /* need to extrapolate above */
517 (ss-maxIndex)*Vpd_step);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c2449 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
2550 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
2552 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {
2562 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
2565 (ss - maxIndex +1) * vpdStep));
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DCheckVisitor.cpp569 int32 maxIndex
573 for (int32 index = 0; index < maxIndex; ) {
H A DInode.cpp568 int32 index = 0, maxIndex = 0; local
575 maxIndex = index;
615 _RemoveSmallData(node, max, maxIndex);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1459 int32 maxIndex = fManager->GroupList()->CountItems() - 1; local
1461 BRect lastFrame = fIconView->FrameOf(maxIndex);
1542 int32 maxIndex = fManager->CountWindows(groupIndex) - 1; local
1545 if (maxIndex >= 0)
1546 lastFrame = fWindow->WindowView()->FrameOf(maxIndex);
1548 if (maxIndex >= 0 && lastFrame.bottom > rect.bottom) {
/haiku/src/kits/interface/
H A DOutlineListView.cpp904 int32 maxIndex = fList.CountItems() - 1; local
905 if (fFirstSelected > maxIndex)
906 fFirstSelected = maxIndex;
908 if (fLastSelected > maxIndex)
909 fLastSelected = maxIndex;
/haiku/src/system/kernel/
H A Delf.cpp864 uint32 maxIndex = 0; local
876 if (versionIndex > maxIndex)
877 maxIndex = versionIndex;
895 if (versionIndex > maxIndex)
896 maxIndex = versionIndex;
905 if (maxIndex == 0)
910 = (elf_version_info*)malloc(sizeof(elf_version_info) * (maxIndex + 1));
915 image->num_versions = maxIndex + 1;
/haiku/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)
109 size_t size = sizeof(elf_version_info) * (maxIndex + 1);
117 image->num_versions = maxIndex + 1;

Completed in 246 milliseconds