Searched refs:OwnedPtr (Results 1 – 5 of 5) sorted by relevance
54 template <class Type> class OwnedPtr : public Ptr<Type> class63 OwnedPtr(void) = default;73 explicit OwnedPtr(Type *aPointer) in OwnedPtr() function in ot::OwnedPtr86 OwnedPtr(OwnedPtr &&aOther) in OwnedPtr() function in ot::OwnedPtr98 ~OwnedPtr(void) { Delete(); } in ~OwnedPtr()153 OwnedPtr &&PassOwnership(void) { return static_cast<OwnedPtr &&>(*this); } in PassOwnership()168 OwnedPtr &operator=(OwnedPtr &&aOther) in operator =()174 OwnedPtr(const OwnedPtr &) = delete;175 OwnedPtr(OwnedPtr &) = delete;176 OwnedPtr &operator=(const OwnedPtr &) = delete;
95 OwnedPtr<Type> Pop(void) { return OwnedPtr<Type>(LinkedList<Type>::Pop()); } in Pop()108 …OwnedPtr<Type> PopAfter(Type *aPrevEntry) { return OwnedPtr<Type>(LinkedList<Type>::PopAfter(aPrev… in PopAfter()127 template <typename Indicator> OwnedPtr<Type> RemoveMatching(const Indicator &aIndicator) in RemoveMatching()129 return OwnedPtr<Type>(LinkedList<Type>::RemoveMatching(aIndicator)); in RemoveMatching()
103 OwnedPtr<TestObject> ptr; in TestOwnedPtr()112 OwnedPtr<TestObject> ptr(&obj1); in TestOwnedPtr()123 OwnedPtr<TestObject> ptr1(&obj1); in TestOwnedPtr()124 OwnedPtr<TestObject> ptr2(ptr1.PassOwnership()); in TestOwnedPtr()136 OwnedPtr<TestObject> ptr(&obj1); in TestOwnedPtr()157 OwnedPtr<TestObject> ptr(&obj1); in TestOwnedPtr()183 OwnedPtr<TestObject> ptr1(&obj1); in TestOwnedPtr()184 OwnedPtr<TestObject> ptr2; in TestOwnedPtr()203 OwnedPtr<TestObject> ptr1(&obj1); in TestOwnedPtr()204 OwnedPtr<TestObject> ptr2(&obj2); in TestOwnedPtr()[all …]
315 OwnedPtr<Entry> ptr; in TestOwningList()
383 OwnedPtr<Message> mMessage;