Searched refs:oldIndex (Results 1 - 10 of 10) sorted by relevance
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | TemplateList.h | 58 bool MoveItem(int32 oldIndex, int32 newIndex); 249 TemplateList<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument 251 if (oldIndex >= 0 && oldIndex < fItemCount 253 if (oldIndex < newIndex - 1) { 254 item_t item = fItems[oldIndex]; 255 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1); 257 } else if (oldIndex > newIndex) { 258 item_t item = fItems[oldIndex]; [all...] |
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | List.h | 53 bool MoveItem(int32 oldIndex, int32 newIndex); 244 List<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument 246 if (oldIndex >= 0 && oldIndex < fItemCount 248 if (oldIndex < newIndex - 1) { 249 item_t item = fItems[oldIndex]; 250 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1); 252 } else if (oldIndex > newIndex) { 253 item_t item = fItems[oldIndex]; [all...] |
/haiku/src/apps/terminal/ |
H A D | TerminalRoster.cpp | 394 int32 oldIndex = 0; local 396 while (oldIndex < fInfos.CountItems() || newIndex < infos.CountItems()) { 397 Info* oldInfo = fInfos.ItemAt(oldIndex); 402 if (!fInfos.AddItem(newInfo, oldIndex++)) 409 oldIndex++; 411 delete fInfos.RemoveItemAt(oldIndex); 423 oldIndex++;
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | ShareAttrDir.cpp | 254 int32 oldIndex = 0; local 257 while (oldIndex < oldCount || newIndex < newCount) { 258 Attribute* oldAttr = (oldCount > 0 ? oldAttributes[oldIndex] : NULL); 268 oldIndex++; 276 oldIndex++;
|
/haiku/src/system/kernel/debug/ |
H A D | debug_commands.cpp | 196 int32 oldIndex = sCurrentPipeSegment; local 203 sCurrentPipeSegment = oldIndex;
|
/haiku/src/servers/app/stackandtile/ |
H A D | SATGroup.cpp | 180 int32 oldIndex = fWindowList.IndexOf(window); local 181 ASSERT(oldIndex != index); 182 return fWindowList.MoveItem(oldIndex, index);
|
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 7904 int32 oldIndex = (addr_t)(*oldList)->ItemAt(index); local 7906 if (!newList->HasItem((void*)(addr_t)oldIndex)) { 7907 BPose* pose = poseList->ItemAt(oldIndex); 7912 listLoc.Set(0, oldIndex * fListElemHeight); 9352 BPoseView::CheckPoseSortOrder(BPose* pose, int32 oldIndex) argument 9354 _CheckPoseSortOrder(CurrentPoseList(), pose, oldIndex); local 9359 BPoseView::_CheckPoseSortOrder(PoseList* poseList, BPose* pose, int32 oldIndex) argument 9367 poseList->RemoveItemAt(oldIndex); 9369 int32 orientation = BSearchList(poseList, pose, &afterIndex, oldIndex); 9377 if (newIndex == oldIndex) { 9479 BSearchList(PoseList* poseList, const BPose* pose, int32* resultingIndex, int32 oldIndex) argument [all...] |
H A D | PoseView.h | 544 int32 oldIndex);
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 2265 int32 oldIndex = (int32) (bounds.top / fItemHeight); 2268 int32 scrollValue = (newIndex > oldIndex) ? stepSize : -stepSize; 2270 int32 nslots = abs(newIndex - oldIndex);
|
/haiku/src/servers/input/ |
H A D | InputServer.cpp | 1131 int32 oldIndex = index; local 1140 if (index == oldIndex)
|
Completed in 189 milliseconds