/haiku/src/tests/kits/support/pointerlist/ |
H A D | PointerListSortTest.cpp | 4 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 D | PointerListTest.cpp | 146 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 D | CopyEngine.cpp | 80 …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 D | MethodReplicant.cpp | 292 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 D | VirtualKeyboardWindow.cpp | 27 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 D | DeviceListItem.cpp | 142 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 D | ResourceUsageWindow.cpp | 175 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 D | DevicesView.cpp | 163 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 D | ImageStopConfigView.cpp | 38 BStringItem* item2 = *(BStringItem**)b; in SortStringItems() local 40 return strcmp(item1->Text(), item2->Text()); in SortStringItems()
|
/haiku/src/kits/tracker/ |
H A D | NavMenu.cpp | 724 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 D | Utilities.cpp | 1388 CompareLabels(const BMenuItem* item1, const BMenuItem* item2) in CompareLabels() argument 1390 return strcasecmp(item1->Label(), item2->Label()); in CompareLabels()
|
H A D | ContainerWindow.cpp | 129 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 D | SoftwareUpdaterWindow.h | 216 int SortPackageItems(const BListItem* item1, const BListItem* item2);
|
H A D | SoftwareUpdaterWindow.cpp | 1086 SortPackageItems(const BListItem* item1, const BListItem* item2) in SortPackageItems() argument 1089 PackageItem* second = (PackageItem*)item2; in SortPackageItems()
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | Playlist.cpp | 73 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 D | menu.cpp | 578 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 D | KeymapWindow.cpp | 83 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 D | Menu.cpp | 119 bool operator () (const BMenuItem* item1, const BMenuItem* item2) { in operator ()() 120 return fCompareFunc(item1, item2) < 0; in operator ()()
|