Home
last modified time | relevance | path

Searched refs:CAlloc (Results 1 – 12 of 12) sorted by relevance

/openthread-3.7.0/src/core/common/
Dheap.cpp43 void *CAlloc(size_t aCount, size_t aSize) { return otPlatCAlloc(aCount, aSize); } in CAlloc() function
49 void *CAlloc(size_t aCount, size_t aSize) { return Instance::GetHeap().CAlloc(aCount, aSize); }
Dheap_allocatable.hpp75 void *buf = Heap::CAlloc(1, sizeof(Type)); in Allocate()
94 void *buf = Heap::CAlloc(1, sizeof(Type)); in AllocateAndInit()
Dheap.hpp54 void *CAlloc(size_t aCount, size_t aSize);
Dheap_string.cpp55 char *newBuffer = static_cast<char *>(Heap::CAlloc(sizeof(char), newSize)); in Set()
Dheap_data.cpp120 uint8_t *newBuffer = static_cast<uint8_t *>(Heap::CAlloc(aNewLength, sizeof(uint8_t))); in UpdateBuffer()
Dheap_array.hpp524 newArray = static_cast<Type *>(Heap::CAlloc(aCapacity, sizeof(Type))); in Allocate()
Dmessage.cpp119 buffer = static_cast<Buffer *>(Heap::CAlloc(1, sizeof(Buffer))) in NewBuffer()
/openthread-3.7.0/tests/unit/
Dtest_heap.cpp56 void *p = heap.CAlloc(1, 0); in TestAllocateSingle()
60 p = heap.CAlloc(0, 1); in TestAllocateSingle()
68 void *p = heap.CAlloc(1, size); in TestAllocateSingle()
104 last->mNext = static_cast<Node *>(heap.CAlloc(1, size)); in TestAllocateRandomly()
/openthread-3.7.0/src/core/api/
Dheap_api.cpp63 void *otHeapCAlloc(size_t aCount, size_t aSize) { return ot::Heap::CAlloc(aCount, aSize); } in otHeapCAlloc()
/openthread-3.7.0/src/core/crypto/
Dmbedtls.cpp61 mbedtls_platform_set_calloc_free(Heap::CAlloc, Heap::Free); in MbedTls()
/openthread-3.7.0/src/core/utils/
Dheap.hpp196 void *CAlloc(size_t aCount, size_t aSize);
Dheap.cpp64 void *Heap::CAlloc(size_t aCount, size_t aSize) in CAlloc() function in ot::Utils::Heap