Home
last modified time | relevance | path

Searched refs:mPointer (Results 1 – 3 of 3) sorted by relevance

/openthread-3.6.0/src/core/common/
Dptr_wrapper.hpp60 : mPointer(nullptr) in Ptr()
71 : mPointer(aPointer) in Ptr()
82 bool IsNull(void) const { return (mPointer == nullptr); } in IsNull()
90 Type *Get(void) { return mPointer; } in Get()
98 const Type *Get(void) const { return mPointer; } in Get()
106 Type *operator->(void) { return mPointer; } in operator ->()
114 const Type *operator->(void) const { return mPointer; } in operator ->()
124 Type &operator*(void) { return *mPointer; } in operator *()
134 const Type &operator*(void) const { return *mPointer; } in operator *()
145 bool operator==(const Type *aPointer) const { return (mPointer == aPointer); } in operator ==()
[all …]
Dretain_ptr.hpp60 using Ptr<Type>::mPointer;
90 : Ptr<Type>(aOther.mPointer) in RetainPtr()
115 if (aPointer != mPointer) in Reset()
118 mPointer = aPointer; in Reset()
134 Type *pointer = mPointer; in Release()
135 mPointer = nullptr; in Release()
153 Reset(aOther.mPointer); in operator =()
160 if (mPointer != nullptr) in IncrementRetainCount()
162 mPointer->IncrementRetainCount(); in IncrementRetainCount()
168 if ((mPointer != nullptr) && (mPointer->DecrementRetainCount() == 0)) in DecrementRetainCount()
[all …]
Downed_ptr.hpp56 using Ptr<Type>::mPointer;
88 mPointer = aOther.mPointer; in OwnedPtr()
89 aOther.mPointer = nullptr; in OwnedPtr()
110 mPointer = nullptr; in Free()
125 if (mPointer != aPointer) in Reset()
128 mPointer = aPointer; in Reset()
142 Type *pointer = mPointer; in Release()
143 mPointer = nullptr; in Release()
181 if (mPointer != nullptr) in Delete()
183 mPointer->Free(); in Delete()