Searched refs:OwnedPtr (Results 1 – 15 of 15) sorted by relevance
/openthread-3.6.0/src/core/common/ |
D | owned_ptr.hpp | 54 template <class Type> class OwnedPtr : public Ptr<Type> class 63 OwnedPtr(void) = default; 73 explicit OwnedPtr(Type *aPointer) in OwnedPtr() function in ot::OwnedPtr 86 OwnedPtr(OwnedPtr &&aOther) in OwnedPtr() function in ot::OwnedPtr 98 ~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;
|
D | owning_list.hpp | 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()
|
/openthread-3.6.0/tests/unit/ |
D | test_smart_ptrs.cpp | 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 …]
|
D | test_linked_list.cpp | 315 OwnedPtr<Entry> ptr; in TestOwningList()
|
/openthread-3.6.0/src/core/net/ |
D | ip6.hpp | 204 Error SendRaw(OwnedPtr<Message> aMessage); 219 Error HandleDatagram(OwnedPtr<Message> aMessagePtr, 363 static Error TakeOrCopyMessagePtr(OwnedPtr<Message> &aTargetPtr, 364 OwnedPtr<Message> &aMessagePtr, 369 Error PassToHost(OwnedPtr<Message> &aMessagePtr, 375 Error HandleExtensionHeaders(OwnedPtr<Message> &aMessagePtr, 394 OwnedPtr<Message> &aMessagePtr,
|
D | ip6.cpp | 497 IgnoreError(HandleDatagram(OwnedPtr<Message>(message))); in HandleSendQueue() 706 IgnoreError(HandleDatagram(OwnedPtr<Message>(message), aMessageInfo.mLinkInfo, in HandleFragment() 809 Error Ip6::HandleExtensionHeaders(OwnedPtr<Message> &aMessagePtr, in HandleExtensionHeaders() 857 Error Ip6::TakeOrCopyMessagePtr(OwnedPtr<Message> &aTargetPtr, in TakeOrCopyMessagePtr() 858 OwnedPtr<Message> &aMessagePtr, in TakeOrCopyMessagePtr() 876 OwnedPtr<Message> &aMessagePtr, in HandlePayload() 886 OwnedPtr<Message> messagePtr; in HandlePayload() 931 Error Ip6::PassToHost(OwnedPtr<Message> &aMessagePtr, in PassToHost() 944 OwnedPtr<Message> messagePtr; in PassToHost() 1047 Error Ip6::SendRaw(OwnedPtr<Message> aMessagePtr) in SendRaw() [all …]
|
D | dnssd_server.hpp | 381 OwnedPtr<Message> mMessage;
|
D | nat64_translator.cpp | 102 error = Get<Ip6::Ip6>().SendRaw(OwnedPtr<Message>(&aMessage).PassOwnership()); in SendMessage()
|
/openthread-3.6.0/src/core/thread/ |
D | mesh_forwarder_mtd.cpp | 40 void MeshForwarder::SendMessage(OwnedPtr<Message> aMessagePtr) in SendMessage()
|
D | child_supervision.cpp | 70 OwnedPtr<Message> messagePtr; in SendMessage()
|
D | mesh_forwarder_ftd.cpp | 49 void MeshForwarder::SendMessage(OwnedPtr<Message> aMessagePtr) in SendMessage() 190 IgnoreError(Get<Ip6::Ip6>().HandleDatagram(OwnedPtr<Message>(&message))); in HandleResolved() 692 OwnedPtr<Message> messagePtr; in HandleMesh()
|
D | mesh_forwarder.hpp | 203 void SendMessage(OwnedPtr<Message> aMessagePtr);
|
D | mesh_forwarder.cpp | 1683 return Get<Ip6::Ip6>().HandleDatagram(OwnedPtr<Message>(&aMessage), &aLinkInfo); in HandleDatagram() 1725 OwnedPtr<Message> messagePtr; in SendEmptyMessage()
|
/openthread-3.6.0/src/core/api/ |
D | ip6_api.cpp | 144 … error = AsCoreType(aInstance).Get<Ip6::Ip6>().SendRaw(OwnedPtr<Message>(AsCoreTypePtr(aMessage))); in otIp6Send()
|
/openthread-3.6.0/src/core/meshcop/ |
D | border_agent.cpp | 176 OwnedPtr<ForwardContext> forwardContext(static_cast<ForwardContext *>(aContext)); in HandleCoapResponse() 523 OwnedPtr<ForwardContext> forwardContext; in ForwardToLeader()
|