Home
last modified time | relevance | path

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

/openthread-latest/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.hpp73 void *buf = Heap::CAlloc(1, sizeof(Type)); in Allocate()
91 void *buf = Heap::CAlloc(1, sizeof(Type)); in AllocateAndInit()
Dheap.hpp53 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.hpp495 newArray = static_cast<Type *>(Heap::CAlloc(aCapacity, sizeof(Type))); in Allocate()
Dmessage.cpp109 buffer = static_cast<Buffer *>(Heap::CAlloc(1, sizeof(Buffer))) in NewBuffer()
/openthread-latest/tests/unit/
Dtest_heap.cpp55 void *p = heap.CAlloc(1, 0); in TestAllocateSingle()
59 p = heap.CAlloc(0, 1); in TestAllocateSingle()
67 void *p = heap.CAlloc(1, size); in TestAllocateSingle()
102 last->mNext = static_cast<Node *>(heap.CAlloc(1, size)); in TestAllocateRandomly()
/openthread-latest/src/core/api/
Dheap_api.cpp63 void *otHeapCAlloc(size_t aCount, size_t aSize) { return ot::Heap::CAlloc(aCount, aSize); } in otHeapCAlloc()
/openthread-latest/src/core/crypto/
Dmbedtls.cpp61 mbedtls_platform_set_calloc_free(Heap::CAlloc, Heap::Free); in MbedTls()
/openthread-latest/src/core/utils/
Dheap.hpp183 void *CAlloc(size_t aCount, size_t aSize);
Dheap.cpp63 void *Heap::CAlloc(size_t aCount, size_t aSize) in CAlloc() function in ot::Utils::Heap