/openthread-3.4.0/tests/unit/ |
D | test_pool.cpp | 91 entry = aPool.Allocate(); in TestPool() 99 …VerifyOrQuit(aPool.Allocate() == nullptr, "Pool::Allocate() did not fail when all pool entries wer… in TestPool() 109 entries[i] = aPool.Allocate(); in TestPool() 116 …VerifyOrQuit(aPool.Allocate() == nullptr, "Pool::Allocate() did not fail when all pool entries wer… in TestPool()
|
D | test_priority_queue.cpp | 188 …msgNet[i] = messagePool->Allocate(ot::Message::kTypeIp6, 0, ot::Message::Settings(ot::Message::kPr… in TestPriorityQueue() 190 …msgHigh[i] = messagePool->Allocate(ot::Message::kTypeIp6, 0, ot::Message::Settings(ot::Message::kP… in TestPriorityQueue() 193 …messagePool->Allocate(ot::Message::kTypeIp6, 0, ot::Message::Settings(ot::Message::kPriorityNormal… in TestPriorityQueue() 195 …msgLow[i] = messagePool->Allocate(ot::Message::kTypeIp6, 0, ot::Message::Settings(ot::Message::kPr… in TestPriorityQueue() 202 msgNet[i] = messagePool->Allocate(ot::Message::kTypeIp6); in TestPriorityQueue() 205 msgHigh[i] = messagePool->Allocate(ot::Message::kTypeIp6); in TestPriorityQueue() 208 msgNor[i] = messagePool->Allocate(ot::Message::kTypeIp6); in TestPriorityQueue() 211 msgLow[i] = messagePool->Allocate(ot::Message::kTypeIp6); in TestPriorityQueue()
|
D | test_message.cpp | 68 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestMessage() 140 VerifyOrQuit((message2 = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestMessage() 272 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestMessage() 293 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestMessage() 331 message = instance->Get<MessagePool>().Allocate(Message::kTypeIp6); in TestAppender()
|
D | test_hmac_sha256.cpp | 97 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestSha256() 240 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestHmacSha256()
|
D | test_aes.cpp | 149 message = instance->Get<ot::MessagePool>().Allocate(ot::Message::kTypeIp6); in TestMacCommandFrame() 204 message = instance->Get<ot::MessagePool>().Allocate(ot::Message::kTypeIp6); in TestInPlaceAesCcmProcessing()
|
D | test_spinel_buffer.cpp | 179 message = sMessagePool->Allocate(Message::kTypeIp6); in WriteTestFrame1() 223 message1 = sMessagePool->Allocate(Message::kTypeIp6); in WriteTestFrame2() 228 message2 = sMessagePool->Allocate(Message::kTypeIp6); in WriteTestFrame2() 268 message1 = sMessagePool->Allocate(Message::kTypeIp6); in WriteTestFrame3() 529 message = sMessagePool->Allocate(Message::kTypeIp6); in TestBuffer() 734 message = sMessagePool->Allocate(Message::kTypeIp6); in TestBuffer()
|
D | test_tlv.cpp | 54 VerifyOrQuit((message = instance->Get<MessagePool>().Allocate(Message::kTypeIp6)) != nullptr); in TestTlv()
|
D | test_dns.cpp | 147 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestDnsName() 509 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestDnsCompressedName() 770 VerifyOrQuit((message2 = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestDnsCompressedName() 871 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestHeaderAndResourceRecords() 1297 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestDnsTxtEntry()
|
D | test_heap_string.cpp | 215 VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestHeapData()
|
D | test_frame_builder.cpp | 58 message = instance->Get<MessagePool>().Allocate(Message::kTypeIp6); in TestFrameBuilder()
|
D | test_message_queue.cpp | 116 msg = sMessagePool->Allocate(ot::Message::kTypeIp6); in TestMessageQueue()
|
D | test_lowpan.cpp | 127 Message *message = sInstance->Get<MessagePool>().Allocate(Message::kTypeIp6); in Init() 181 … VerifyOrQuit((message = sInstance->Get<MessagePool>().Allocate(Message::kTypeIp6)) != nullptr); in Test() 204 …VerifyOrQuit((compressedMsg = sInstance->Get<MessagePool>().Allocate(Message::kTypeIp6)) != nullpt… in Test() 228 … VerifyOrQuit((message = sInstance->Get<MessagePool>().Allocate(Message::kTypeIp6)) != nullptr); in Test()
|
/openthread-3.4.0/src/core/common/ |
D | heap_array.hpp | 162 Error ReserveCapacity(IndexType aCapacity) { return Allocate(aCapacity); } in ReserveCapacity() 289 SuccessOrExit(error = Allocate(mCapacity + kCapacityIncrements)); in PushBack() 316 SuccessOrExit(error = Allocate(mCapacity + kCapacityIncrements)); in PushBack() 343 SuccessOrExit(Allocate(mCapacity + kCapacityIncrements)); in PushBack() 518 Error Allocate(IndexType aCapacity) in Allocate() function in ot::Heap::Array
|
D | heap_allocatable.hpp | 73 template <typename... Args> static Type *Allocate(Args &&...aArgs) in Allocate() function in ot::Heap::Allocatable
|
D | message.cpp | 75 Message *MessagePool::Allocate(Message::Type aType, uint16_t aReserveHeader, const Message::Setting… in Allocate() function in ot::MessagePool 101 Message *MessagePool::Allocate(Message::Type aType) { return Allocate(aType, 0, Message::Settings::… in Allocate() function in ot::MessagePool 103 Message *MessagePool::Allocate(Message::Type aType, uint16_t aReserveHeader) in Allocate() function in ot::MessagePool 105 return Allocate(aType, aReserveHeader, Message::Settings::GetDefault()); in Allocate() 125 buffer = mBufferPool.Allocate() in NewBuffer() 770 messageCopy = GetMessagePool()->Allocate(GetType(), GetReserved(), settings); in Clone()
|
D | pool.hpp | 107 Type *Allocate(void) { return mFreeList.Pop(); } in Allocate() function in ot::Pool
|
D | message.hpp | 1709 …Message *Allocate(Message::Type aType, uint16_t aReserveHeader, const Message::Settings &aSettings… 1719 Message *Allocate(Message::Type aType); 1730 Message *Allocate(Message::Type aType, uint16_t aReserveHeader);
|
/openthread-3.4.0/src/core/utils/ |
D | srp_client_buffers.cpp | 54 ServiceEntry *entry = mServicePool.Allocate(); in AllocateService()
|
/openthread-3.4.0/src/core/thread/ |
D | router_table.hpp | 83 Router *Allocate(void); 93 Router *Allocate(uint8_t aRouterId);
|
D | child_supervision.cpp | 75 message = Get<MessagePool>().Allocate(Message::kTypeSupervision, sizeof(uint8_t)); in SendMessage()
|
D | router_table.cpp | 134 Router *RouterTable::Allocate(void) in Allocate() function in ot::RouterTable 166 router = Allocate(selectedRouterId); in Allocate() 173 Router *RouterTable::Allocate(uint8_t aRouterId) in Allocate() function in ot::RouterTable
|
/openthread-3.4.0/src/core/meshcop/ |
D | dataset_updater.cpp | 67 message = Get<MessagePool>().Allocate(Message::kTypeOther); in RequestUpdate()
|
/openthread-3.4.0/examples/platforms/utils/ |
D | link_metrics.cpp | 203 dataInfo = GetLinkMetricsDataInfoPool().Allocate(); in otLinkMetricsConfigureEnhAckProbing()
|
/openthread-3.4.0/src/core/net/ |
D | netif.cpp | 364 entry = mExtMulticastAddressPool.Allocate(); in SubscribeExternalMulticast() 487 entry = mExtUnicastAddressPool.Allocate(); in AddExternalUnicastAddress()
|
/openthread-3.4.0/src/core/coap/ |
D | coap_secure.cpp | 183 …VerifyOrExit((message = Get<MessagePool>().Allocate(Message::kTypeIp6, Message::GetHelpDataReserve… in HandleDtlsReceive()
|