Lines Matching defs:ref
325 CheckAppHintAttr(BNode &node, const entry_ref *ref)
328 CHK(path.SetTo(ref) == B_OK);
704 // status_t GetAppHint(entry_ref *ref) const
705 // * NULL ref => B_BAD_VALUE
717 entry_ref ref;
718 CHK(nodeInfo.GetAppHint(&ref) == B_NO_INIT);
726 entry_ref ref;
727 CHK(nodeInfo.GetAppHint(&ref) == B_ENTRY_NOT_FOUND);
738 entry_ref ref;
739 CHK(nodeInfo.GetAppHint(&ref) == B_OK);
740 CHK(ref == testRef1);
745 CHK(nodeInfo.GetAppHint(&ref) == B_OK);
746 CHK(ref == testRef2);
750 // status_t SetAppHint(const entry_ref *ref)
751 // * NULL ref => B_OK
759 entry_ref ref;
760 CHK(nodeInfo.GetAppHint(&ref) == B_ENTRY_NOT_FOUND);
769 // * invalid/abstract ref => != B_OK
775 // invalid ref
778 // abstract ref
781 entry_ref ref;
782 CHK(nodeInfo.GetAppHint(&ref) == B_OK);
783 CHK(ref == abstractRef);
791 TestTrackerIcon(BNodeInfo &nodeInfo, entry_ref *ref, icon_size size,
802 CHK(BNodeInfo::GetTrackerIcon(ref, &icon1, B_MINI_ICON) == B_OK);
812 CHK(BNodeInfo::GetTrackerIcon(ref, &icon3, B_LARGE_ICON) == B_OK);
832 entry_ref ref;
833 CHK(entry.GetRef(&ref) == B_OK);
838 TestTrackerIcon(info, &ref, B_MINI_ICON, &miniIcon);
839 TestTrackerIcon(info, &ref, B_LARGE_ICON, &largeIcon);
855 // static status_t GetTrackerIcon(const entry_ref *ref, BBitmap *icon,
857 // * NULL ref => B_BAD_VALUE
880 // static status_t GetTrackerIcon(const entry_ref *ref, BBitmap *icon,