Lines Matching refs:ObjPtr
41 class ObjPtr {
51 OBJPTR_INLINE ObjPtr() REQUIRES_SHARED(Locks::mutator_lock_) : reference_(0u) {} in ObjPtr() function
57 OBJPTR_INLINE ObjPtr(std::nullptr_t) in ObjPtr() function
63 OBJPTR_INLINE ObjPtr(Type* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
67 OBJPTR_INLINE ObjPtr(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_);
71 OBJPTR_INLINE ObjPtr& operator=(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_);
73 OBJPTR_INLINE ObjPtr& operator=(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
102 static ObjPtr<MirrorType> DownCast(ObjPtr<SourceType> ptr) REQUIRES_SHARED(Locks::mutator_lock_);
106 static ObjPtr<MirrorType> DownCast(SourceType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
120 template <class T> friend class ObjPtr; // Required for reference_ access in copy cons/operator. variable
123 static_assert(std::is_trivially_copyable<ObjPtr<void>>::value,
130 size_t operator()(const ObjPtr<MirrorType>& ptr) const NO_THREAD_SAFETY_ANALYSIS;
136 operator==(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
142 operator==(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs)
148 operator==(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs)
152 OBJPTR_INLINE bool operator==(ObjPtr<MirrorType> ptr, std::nullptr_t) {
157 OBJPTR_INLINE bool operator==(std::nullptr_t, ObjPtr<MirrorType> ptr) {
164 operator!=(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
170 operator!=(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs)
176 operator!=(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs)
180 OBJPTR_INLINE bool operator!=(ObjPtr<MirrorType> ptr, std::nullptr_t) {
185 OBJPTR_INLINE bool operator!=(std::nullptr_t, ObjPtr<MirrorType> ptr) {
190 OBJPTR_INLINE std::ostream& operator<<(std::ostream& os, ObjPtr<MirrorType> ptr);