Home
last modified time | relevance | path

Searched refs:kSlotCount (Results 1 – 2 of 2) sorted by relevance

/system/chre/apps/chqts/src/shared/
Ddumb_allocator_test.cc22 static constexpr size_t kSlotCount = 5; variable
24 typedef nanoapp_testing::DumbAllocator<kAllocSize, kSlotCount> DA;
40 void *ptrs[kSlotCount]; in TEST()
41 for (size_t i = 0; i < kSlotCount; i++) { in TEST()
52 constexpr size_t kFreeIndex = kSlotCount / 2; in TEST()
59 for (size_t i = 0; i < kSlotCount; i++) { in TEST()
Ddumb_allocator.h64 template<size_t kAllocSize, size_t kSlotCount>
68 : DumbAllocatorBase(kAllocSize, kSlotCount, mRawMemoryArray) {} in DumbAllocator()
99 uint8_t mRawMemoryArray[kAllocSize * kSlotCount];
101 static_assert(kSlotCount <= MaxSlotCount(), "kSlotCount is too high");