/openthread-3.7.0/src/core/net/ |
D | mdns.hpp | 865 class AddressArray : public Heap::Array<Ip6::Address> 906 void UpdateProperty(Heap::String &aStringProperty, const char *aString); 907 void UpdateProperty(Heap::Data &aDataProperty, const uint8_t *aData, uint16_t aLength); 1038 Heap::Data mKeyData; 1045 …class HostEntry : public Entry, public LinkedListEntry<HostEntry>, public Heap::Allocatable<HostEn… 1059 bool Matches(const Heap::String &aName) const; 1093 Heap::String mName; 1101 …class ServiceEntry : public Entry, public LinkedListEntry<ServiceEntry>, public Heap::Allocatable<… 1136 …class SubType : public LinkedListEntry<SubType>, public Heap::Allocatable<SubType>, private ot::No… 1145 Heap::String mLabel; [all …]
|
D | srp_server.hpp | 189 private Heap::Allocatable<Service>, 195 friend class Heap::Allocatable<Service>; 426 Heap::String mInstanceName; 427 Heap::String mInstanceLabel; 428 Heap::String mServiceName; 429 Heap::Array<Heap::String> mSubTypes; 431 Heap::Data mTxtData; 462 private Heap::Allocatable<Host>, 467 friend class Heap::Allocatable<Host>; 615 Heap::String mFullName; [all …]
|
D | srp_advertising_proxy.cpp | 937 Heap::Array<Ip6::Address> hostAddresses; in RegisterHost() 997 Heap::Array<Heap::String> subTypeHeapStrings; in RegisterService() 998 Heap::Array<const char *> subTypeLabels; in RegisterService() 1008 for (const Heap::String &subTypeName : aService.mSubTypes) in RegisterService() 1011 Heap::String labelString; in RegisterService() 1015 IgnoreError(subTypeHeapStrings.PushBack(static_cast<Heap::String &&>(labelString))); in RegisterService()
|
D | srp_advertising_proxy.hpp | 232 …struct AdvInfo : public Heap::Allocatable<AdvInfo>, public LinkedListEntry<AdvInfo>, public GetPro…
|
D | nd6.hpp | 861 Heap::Array<uint8_t, kCapacityIncrement> mArray;
|
D | srp_server.cpp | 1071 Heap::String *newSubTypeLabel = service->mSubTypes.PushBack(); in ProcessServiceDiscoveryInstructions() 1422 for (const Heap::String &subType : service.mSubTypes) in InformUpdateHandlerOrCommit() 1844 const Heap::String *subType = mSubTypes.At(aIndex); in GetSubTypeServiceNameAt() 1924 for (const Heap::String &subType : mSubTypes) in HasSubTypeServiceName() 1966 for (const Heap::String &subType : mSubTypes) in Log()
|
/openthread-3.7.0/src/core/common/ |
D | heap_string.cpp | 40 namespace Heap { namespace 55 char *newBuffer = static_cast<char *>(Heap::CAlloc(sizeof(char), newSize)); in Set() 59 Heap::Free(mStringBuffer); in Set() 73 Heap::Free(mStringBuffer); in Set() 83 Heap::Free(mStringBuffer); in Free()
|
D | heap_allocatable.hpp | 45 namespace Heap { namespace 75 void *buf = Heap::CAlloc(1, sizeof(Type)); in Allocate() 94 void *buf = Heap::CAlloc(1, sizeof(Type)); in AllocateAndInit() 124 Heap::Free(this); in Free()
|
D | heap_data.cpp | 40 namespace Heap { namespace 102 Heap::Free(mData.GetBytes()); in Free() 112 Heap::Free(mData.GetBytes()); in UpdateBuffer() 120 uint8_t *newBuffer = static_cast<uint8_t *>(Heap::CAlloc(aNewLength, sizeof(uint8_t))); in UpdateBuffer()
|
D | heap_array.hpp | 49 namespace Heap { namespace 97 Heap::Free(mArray); in Free() 524 newArray = static_cast<Type *>(Heap::CAlloc(aCapacity, sizeof(Type))); in Allocate() 533 Heap::Free(mArray); in Allocate()
|
D | heap.hpp | 43 namespace Heap { namespace
|
D | heap.cpp | 39 namespace Heap { namespace
|
D | heap_string.hpp | 44 namespace Heap { namespace
|
D | heap_data.hpp | 44 namespace Heap { namespace
|
/openthread-3.7.0/tests/unit/ |
D | test_heap_string.cpp | 42 void PrintString(const char *aName, const Heap::String &aString) in PrintString() 54 void VerifyString(const char *aName, const Heap::String &aString, const char *aExpectedString) in VerifyString() 76 Heap::String GetName(void) in GetName() 78 Heap::String name; in GetName() 87 Heap::String str1; in TestHeapString() 88 Heap::String str2; in TestHeapString() 153 void PrintData(const Heap::Data &aData) { DumpBuffer("data", aData.GetBytes(), aData.GetLength()); } in PrintData() 158 Heap::Data GetData(void) in GetData() 160 Heap::Data data; in GetData() 167 void VerifyData(const Heap::Data &aData, const uint8_t *aBytes, uint16_t aLength) in VerifyData() [all …]
|
D | test_heap_array.cpp | 87 void VerifyEntry(const EntryType &aEntry, const Heap::Array<EntryType, 2> &aArray, int aExpectedVal… in VerifyEntry() 100 template <> void VerifyEntry(const uint16_t &aEntry, const Heap::Array<uint16_t, 2> &aArray, int aE… in VerifyEntry() 106 template <> void VerifyEntry(const Entry &aEntry, const Heap::Array<Entry, 2> &aArray, int aExpecte… in VerifyEntry() 115 template <typename EntryType, typename... Args> void VerifyArray(const Heap::Array<EntryType, 2> &a… in VerifyArray() 183 Heap::Array<uint16_t, 2> array; in TestHeapArrayOfUint16() 184 Heap::Array<uint16_t, 2> array2; in TestHeapArrayOfUint16() 329 array2.TakeFrom(static_cast<Heap::Array<uint16_t, 2> &&>(array)); in TestHeapArrayOfUint16() 349 Heap::Array<Entry, 2> array; in TestHeapArray() 350 Heap::Array<Entry, 2> array2; in TestHeapArray() 468 array2.TakeFrom(static_cast<Heap::Array<Entry, 2> &&>(array)); in TestHeapArray()
|
D | test_heap.cpp | 51 ot::Utils::Heap heap; in TestAllocateSingle() 91 ot::Utils::Heap heap; in TestAllocateRandomly()
|
/openthread-3.7.0/src/core/utils/ |
D | heap.cpp | 47 Heap::Heap(void) in Heap() function in ot::Utils::Heap 64 void *Heap::CAlloc(size_t aCount, size_t aSize) in CAlloc() 122 void Heap::BlockInsert(Block &aPrev, Block &aBlock) in BlockInsert() 135 Block &Heap::BlockPrev(const Block &aBlock) in BlockPrev() 147 void Heap::Free(void *aPointer) in Free()
|
D | heap.hpp | 68 friend class Heap; 176 class Heap : private NonCopyable class 183 Heap(void); 212 Heap &self = *AsNonConst(this); in IsClean()
|
/openthread-3.7.0/src/core/api/ |
D | heap_api.cpp | 63 void *otHeapCAlloc(size_t aCount, size_t aSize) { return ot::Heap::CAlloc(aCount, aSize); } in otHeapCAlloc() 65 void otHeapFree(void *aPointer) { ot::Heap::Free(aPointer); } in otHeapFree()
|
/openthread-3.7.0/src/core/crypto/ |
D | mbedtls.cpp | 61 mbedtls_platform_set_calloc_free(Heap::CAlloc, Heap::Free); in MbedTls()
|
/openthread-3.7.0/src/core/instance/ |
D | instance.cpp | 63 OT_DEFINE_ALIGNED_VAR(sHeapRaw, sizeof(Utils::Heap), uint64_t); 64 Utils::Heap *Instance::sHeap{nullptr}; 284 Utils::Heap &Instance::GetHeap(void) in GetHeap() 288 sHeap = new (&sHeapRaw) Utils::Heap(); in GetHeap()
|
D | instance.hpp | 358 static Utils::Heap &GetHeap(void); 458 static Utils::Heap *sHeap;
|
/openthread-3.7.0/src/core/meshcop/ |
D | border_agent.hpp | 259 class ForwardContext : public InstanceLocatorInit, public Heap::Allocatable<ForwardContext>
|
/openthread-3.7.0/src/core/border_router/ |
D | routing_manager.hpp | 797 public Heap::Allocatable<Entry<Type>> 1128 public Heap::Array<RioPrefix> 1462 Heap::Data mExtraRaOptions;
|