Home
last modified time | relevance | path

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

/system/chre/apps/chqts/src/shared/
Ddumb_allocator.h29 class DumbAllocatorBase {
31 DumbAllocatorBase(size_t allocSize, size_t slotCount, uint8_t *rawMemory);
65 class DumbAllocator : DumbAllocatorBase {
68 : DumbAllocatorBase(kAllocSize, kSlotCount, mRawMemoryArray) {} in DumbAllocator()
77 return DumbAllocatorBase::alloc(bytes); in alloc()
87 return DumbAllocatorBase::free(ptr); in free()
95 return DumbAllocatorBase::contains(ptr); in contains()
Ddumb_allocator.cc23 DumbAllocatorBase::DumbAllocatorBase(size_t allocSize, size_t slotCount, in DumbAllocatorBase() function in nanoapp_testing::DumbAllocatorBase
36 void *DumbAllocatorBase::alloc(size_t bytes) { in alloc()
56 bool DumbAllocatorBase::free(void *pointer) { in free()
65 bool DumbAllocatorBase::contains(const void *pointer) const { in contains()
70 bool DumbAllocatorBase::getSlot(const void *pointer, size_t *slot) const { in getSlot()