Lines Matching refs:SimpleBestFitAllocator
123 class SimpleBestFitAllocator class
129 explicit SimpleBestFitAllocator(size_t size);
130 ~SimpleBestFitAllocator();
232 mAllocator(new SimpleBestFitAllocator(size)) {} in MemoryDealer()
263 SimpleBestFitAllocator* MemoryDealer::allocator() const { in allocator()
270 return SimpleBestFitAllocator::getAllocationAlignment(); in getAllocationAlignment()
276 const int SimpleBestFitAllocator::kMemoryAlign = 32;
278 SimpleBestFitAllocator::SimpleBestFitAllocator(size_t size) in SimpleBestFitAllocator() function in android::SimpleBestFitAllocator
287 SimpleBestFitAllocator::~SimpleBestFitAllocator() in ~SimpleBestFitAllocator()
302 size_t SimpleBestFitAllocator::size() const in size()
307 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) in allocate()
314 status_t SimpleBestFitAllocator::deallocate(size_t offset) in deallocate()
324 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) in alloc()
381 SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start) in dealloc()
422 void SimpleBestFitAllocator::dump(const char* what) const in dump()
428 void SimpleBestFitAllocator::dump_l(const char* what) const in dump_l()
435 void SimpleBestFitAllocator::dump(String8& result, in dump()
442 void SimpleBestFitAllocator::dump_l(String8& result, in dump_l()