Searched refs:CAlloc (Results 1 – 12 of 12) sorted by relevance
/openthread-3.7.0/src/core/common/ |
D | heap.cpp | 43 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); }
|
D | heap_allocatable.hpp | 75 void *buf = Heap::CAlloc(1, sizeof(Type)); in Allocate() 94 void *buf = Heap::CAlloc(1, sizeof(Type)); in AllocateAndInit()
|
D | heap.hpp | 54 void *CAlloc(size_t aCount, size_t aSize);
|
D | heap_string.cpp | 55 char *newBuffer = static_cast<char *>(Heap::CAlloc(sizeof(char), newSize)); in Set()
|
D | heap_data.cpp | 120 uint8_t *newBuffer = static_cast<uint8_t *>(Heap::CAlloc(aNewLength, sizeof(uint8_t))); in UpdateBuffer()
|
D | heap_array.hpp | 524 newArray = static_cast<Type *>(Heap::CAlloc(aCapacity, sizeof(Type))); in Allocate()
|
D | message.cpp | 119 buffer = static_cast<Buffer *>(Heap::CAlloc(1, sizeof(Buffer))) in NewBuffer()
|
/openthread-3.7.0/tests/unit/ |
D | test_heap.cpp | 56 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/ |
D | heap_api.cpp | 63 void *otHeapCAlloc(size_t aCount, size_t aSize) { return ot::Heap::CAlloc(aCount, aSize); } in otHeapCAlloc()
|
/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/utils/ |
D | heap.hpp | 196 void *CAlloc(size_t aCount, size_t aSize);
|
D | heap.cpp | 64 void *Heap::CAlloc(size_t aCount, size_t aSize) in CAlloc() function in ot::Utils::Heap
|