Searched refs:lastIndex (Results 1 - 17 of 17) sorted by relevance

/haiku/src/kits/interface/layouter/
H A DLayouter.cpp26 int lastIndex = position + length - 1; local
27 return ElementLocation(lastIndex) + ElementSize(lastIndex)
/haiku/src/servers/bluetooth/
H A DBluetoothServer.cpp290 static int32 lastIndex = 0; local
301 for (lastIndex = 0; lastIndex < fLocalDevicesList.CountItems();
302 lastIndex ++) {
305 // lDeviceImpl = fLocalDevicesList.ItemAt(lastIndex);
316 for (int index = lastIndex + 1;
323 lastIndex = index;
330 for (int index = 0; index <= lastIndex ; index ++) {
336 lastIndex = index;
343 if (lastIndex <
[all...]
/haiku/src/apps/diskprobe/
H A DDataEditor.cpp634 int32 lastIndex = fChanges.IndexOf(fLastChange); local
639 lastIndex));
641 for (int32 i = firstIndex; i <= lastIndex; i++) {
648 lastIndex));
650 for (int32 i = firstIndex - 1; i > lastIndex; i--) {
672 int32 lastIndex = fChanges.IndexOf(fLastChange); local
673 if (fChangesFromSaved < 0 && firstIndex != lastIndex) {
675 ASSERT(firstIndex > lastIndex);
678 firstIndex = lastIndex;
679 lastIndex
[all...]
/haiku/src/apps/deskbar/
H A DWindowMenu.cpp248 TWindowMenu::SetExpanded(bool status, int lastIndex) argument
251 fExpandedIndex = lastIndex;
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DExtentStream.cpp190 int32 lastIndex = stream->extent_header.NumEntries() - 1; local
193 lastIndex, stream->extent_index[lastIndex].PhysicalBlock());
194 path[++level] = stream->extent_index[lastIndex].PhysicalBlock();
406 int32 lastIndex = stream->extent_header.NumEntries() - 1; local
409 lastIndex, stream->extent_index[lastIndex].PhysicalBlock());
410 path[++level] = stream->extent_index[lastIndex].PhysicalBlock();
/haiku/headers/os/game/
H A DWindowScreen.h44 int32 lastIndex = 255);
/haiku/src/kits/game/
H A DWindowScreen.cpp318 BWindowScreen::SetColorList(rgb_color *list, int32 firstIndex, int32 lastIndex) argument
321 if (firstIndex < 0 || lastIndex > 255 || firstIndex > lastIndex)
329 for (int32 x = firstIndex; x <= lastIndex; x++) {
337 for (int32 x = firstIndex; x <= lastIndex; x++) {
/haiku/src/kits/interface/
H A DOutlineListView.cpp664 int32 lastIndex = firstIndex; local
665 BList* tree = _BuildTree(superItem, lastIndex);
676 lastIndex = firstIndex;
677 _PopulateTree(tree, fList, lastIndex, true);
688 BRect bottom = ItemFrame(lastIndex - 1);
H A DListView.cpp750 int32 lastIndex = fFirstSelected; local
762 && lastIndex != -1 && index != lastIndex) {
764 BListItem* last = ItemAt(lastIndex);
774 Invalidate(ItemFrame(lastIndex) | ItemFrame(index));
/haiku/src/apps/haikudepot/textview/
H A DTextDocument.cpp612 int32 lastIndex = document->CountParagraphs() - 1; local
613 if (lastIndex > 0) {
614 const Paragraph& otherParagraph = document->ParagraphAt(lastIndex);
/haiku/src/apps/mediaplayer/playlist/
H A DListViews.cpp166 int32 lastIndex = IndexOf(updateRect.RightBottom()); local
168 if (lastIndex < firstIndex)
169 lastIndex = CountItems() - 1;
172 for (int32 i = firstIndex; i <= lastIndex; i++) {
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp763 int32 lastIndex = IndexOf(updateRect.RightBottom()); local
767 if (lastIndex < firstIndex)
768 lastIndex = CountItems() - 1;
770 for (int32 i = firstIndex; i <= lastIndex; i++) {
/haiku/src/add-ons/kernel/busses/usb/
H A Dehci.h105 ehci_itd **isoRequest, uint32 lastIndex,
H A Dehci.cpp1701 uint32 lastIndex, bool directionIn, addr_t bufferPhy, void* bufferLog,
1714 data->last_to_process = lastIndex;
1700 AddPendingIsochronousTransfer(Transfer *transfer, ehci_itd **isoRequest, uint32 lastIndex, bool directionIn, addr_t bufferPhy, void* bufferLog, size_t bufferSize) argument
/haiku/src/apps/haikudepot/ui/
H A DFeaturedPackagesView.cpp131 int32 lastIndex = static_cast<int32>(fPackages.size()) - 1; local
133 && fSelectedIndex < lastIndex) {
/haiku/src/system/kernel/
H A Dsmp.cpp140 int32 lastIndex = (uint32)atomic_get(&sLastIndex) % NUM_LAST_CALLERS; local
143 int32 index = (NUM_LAST_CALLERS + lastIndex - 1 - i) % NUM_LAST_CALLERS;
/haiku/src/kits/tracker/
H A DPoseView.cpp4001 int32 lastIndex = poseList->IndexOf(last); local
4003 int32 from = to < firstIndex ? firstIndex : lastIndex;
6706 int32 lastIndex = CurrentPoseList()->IndexOf( local
6711 if (index == lastIndex) {

Completed in 678 milliseconds