Home
last modified time | relevance | path

Searched refs:GetCapacity (Results 1 – 5 of 5) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_heap_array.cpp125 printf(" - Array (len:%u, capacity:%u) = { ", aArray.GetLength(), aArray.GetCapacity()); in VerifyArray()
192 VerifyOrQuit(array.GetCapacity() == 0); in TestHeapArrayOfUint16()
200 VerifyOrQuit(array.GetCapacity() == 2); in TestHeapArrayOfUint16()
204 VerifyOrQuit(array.GetCapacity() == 2); in TestHeapArrayOfUint16()
208 VerifyOrQuit(array.GetCapacity() == 4); in TestHeapArrayOfUint16()
217 VerifyOrQuit(array.GetCapacity() == 4); in TestHeapArrayOfUint16()
223 VerifyOrQuit(array.GetCapacity() == 6); in TestHeapArrayOfUint16()
230 VerifyOrQuit(array.GetCapacity() == 6); in TestHeapArrayOfUint16()
239 VerifyOrQuit(array.GetCapacity() == 6); in TestHeapArrayOfUint16()
244 VerifyOrQuit(array.GetCapacity() == 8); in TestHeapArrayOfUint16()
[all …]
Dtest_heap.cpp65 for (size_t size = 1; size <= heap.GetCapacity(); ++size) in TestAllocateSingle()
/openthread-3.6.0/src/core/utils/
Dheap.hpp222 size_t GetCapacity(void) const { return kFirstBlockSize; } in GetCapacity() function in ot::Utils::Heap
/openthread-3.6.0/src/core/common/
Dheap_array.hpp149 IndexType GetCapacity(void) const { return mCapacity; } in GetCapacity() function in ot::Heap::Array
Dmessage.cpp189 rval = static_cast<uint16_t>(Instance::GetHeap().GetCapacity() / sizeof(Buffer)); in GetTotalBufferCount()