Home
last modified time | relevance | path

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

/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator.h29 class ChunkAllocatorBase {
31 ChunkAllocatorBase(size_t allocSize, size_t slotCount, uint8_t *rawMemory);
64 class ChunkAllocator : ChunkAllocatorBase {
67 : ChunkAllocatorBase(kAllocSize, kSlotCount, mRawMemoryArray) {} in ChunkAllocator()
76 return ChunkAllocatorBase::alloc(bytes); in alloc()
86 return ChunkAllocatorBase::free(ptr); in free()
94 return ChunkAllocatorBase::contains(ptr); in contains()
Dchunk_allocator.cc23 ChunkAllocatorBase::ChunkAllocatorBase(size_t allocSize, size_t slotCount, in ChunkAllocatorBase() function in nanoapp_testing::ChunkAllocatorBase
36 void *ChunkAllocatorBase::alloc(size_t bytes) { in alloc()
56 bool ChunkAllocatorBase::free(void *pointer) { in free()
65 bool ChunkAllocatorBase::contains(const void *pointer) const { in contains()
70 bool ChunkAllocatorBase::getSlot(const void *pointer, size_t *slot) const { in getSlot()