Home
last modified time | relevance | path

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

/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator_test.cc22 static constexpr size_t kSlotCount = 5; variable
24 typedef nanoapp_testing::ChunkAllocator<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()
Dchunk_allocator.h63 template <size_t kAllocSize, size_t kSlotCount>
67 : ChunkAllocatorBase(kAllocSize, kSlotCount, mRawMemoryArray) {} in ChunkAllocator()
98 uint8_t mRawMemoryArray[kAllocSize * kSlotCount];
100 static_assert(kSlotCount <= MaxSlotCount(), "kSlotCount is too high");