Home
last modified time | relevance | path

Searched refs:item2 (Results 1 – 18 of 18) sorted by relevance

/haiku/src/tests/kits/support/pointerlist/
H A DPointerListSortTest.cpp4 static int SortItemTestPositive(const void *item1, const void *item2) in SortItemTestPositive() argument
9 static int SortItemTestNegative(const void *item1, const void *item2) in SortItemTestNegative() argument
14 static int SortItemTestEqual(const void *item1, const void *item2) in SortItemTestEqual() argument
H A DPointerListTest.cpp146 Item* item2 = (Item*)list2.ItemAt(i); in Equals() local
147 if (item1 == item2) continue; in Equals()
148 if (item1 == NULL || !item1->Equals(item2)) return false; in Equals()
/haiku/src/tests/apps/installer/
H A DCopyEngine.cpp80 …PartitionMenuItem *item2 = new PartitionMenuItem(NULL, "target", NULL, new BMessage(TARGET_PARTITI… in ScanDisksPartitions() local
81 targetMenu->AddItem(item2); in ScanDisksPartitions()
/haiku/src/servers/input/
H A DMethodReplicant.cpp292 MethodMenuItem* item2 = NULL; in UpdateMethodMenu() local
294 item2 = new MethodMenuItem(cookie, item->Label(), item->Icon(), in UpdateMethodMenu()
297 item2 = new MethodMenuItem(cookie, item->Label(), item->Icon()); in UpdateMethodMenu()
300 fMenu.AddItem(item2, index); in UpdateMethodMenu()
301 item2->SetMarked(item->IsMarked()); in UpdateMethodMenu()
/haiku/src/add-ons/input_server/devices/virtualkeyboard/
H A DVirtualKeyboardWindow.cpp27 KeymapListItem* item2 = *(KeymapListItem**)b; in compare_key_list_items() local
29 return BLocale::Default()->StringCompare(item1->Text(), item2->Text()); in compare_key_list_items()
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp142 const DeviceListItem* item2 = *static_cast<const DeviceListItem* const *> in Compare() local
145 return (int)bdaddrUtils::Compare(item1->fAddress, item2->fAddress); in Compare()
/haiku/src/apps/devices/
H A DResourceUsageWindow.cpp175 const RangeItem *item2 = *static_cast<const RangeItem * const *>(secondArg); in Compare() local
177 if (item1->fLowAddress < item2->fLowAddress) { in Compare()
179 } else if (item1->fLowAddress > item2->fLowAddress) { in Compare()
H A DDevicesView.cpp163 DevicesView::SortItemsCompare(const BListItem *item1, const BListItem *item2) in SortItemsCompare() argument
166 const BStringItem* stringItem2 = dynamic_cast<const BStringItem*>(item2); in SortItemsCompare()
/haiku/src/apps/debugger/user_interface/gui/team_settings_window/
H A DImageStopConfigView.cpp38 BStringItem* item2 = *(BStringItem**)b; in SortStringItems() local
40 return strcmp(item1->Text(), item2->Text()); in SortStringItems()
/haiku/src/kits/tracker/
H A DNavMenu.cpp724 const ModelMenuItem* item2 = dynamic_cast<const ModelMenuItem*>(i2); in CompareFolderNamesFirstOne() local
726 if (item1 != NULL && item2 != NULL) { in CompareFolderNamesFirstOne()
728 item2->TargetModel()); in CompareFolderNamesFirstOne()
H A DUtilities.cpp1388 CompareLabels(const BMenuItem* item1, const BMenuItem* item2) in CompareLabels() argument
1390 return strcasecmp(item1->Label(), item2->Label()); in CompareLabels()
H A DContainerWindow.cpp129 CompareContainerWindowNodeRef(const BContainerWindow* item1, const BContainerWindow* item2) in CompareContainerWindowNodeRef() argument
132 const node_ref* ref2 = item2->TargetModel()->NodeRef(); in CompareContainerWindowNodeRef()
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.h216 int SortPackageItems(const BListItem* item1, const BListItem* item2);
H A DSoftwareUpdaterWindow.cpp1086 SortPackageItems(const BListItem* item1, const BListItem* item2) in SortPackageItems() argument
1089 PackageItem* second = (PackageItem*)item2; in SortPackageItems()
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.cpp73 const PlaylistItem* item2 = *(const PlaylistItem**)_item2; in playlist_item_compare() local
79 make_item_compare_string(item2, string2, bufferSize); in playlist_item_compare()
/haiku/src/system/boot/loader/
H A Dmenu.cpp578 const BlocklistMenuItem* item2 in Less() local
582 if (item1->IsDirectoryItem() != item2->IsDirectoryItem()) in Less()
586 return strcasecmp(item1->Label(), item2->Label()) < 0; in Less()
/haiku/src/preferences/keymap/
H A DKeymapWindow.cpp83 KeymapListItem* item2 = *(KeymapListItem**)b; in compare_key_list_items() local
84 return BLocale::Default()->StringCompare(item1->Text(), item2->Text()); in compare_key_list_items()
/haiku/src/kits/interface/
H A DMenu.cpp119 bool operator () (const BMenuItem* item1, const BMenuItem* item2) { in operator ()()
120 return fCompareFunc(item1, item2) < 0; in operator ()()