Searched refs:SimpleBestFitAllocator (Results 1 – 2 of 2) sorted by relevance
45 class SimpleBestFitAllocator { class49 explicit SimpleBestFitAllocator(size_t size);50 ~SimpleBestFitAllocator();84 MemoryDealer::MemoryDealer(size_t size) : mAllocator(new SimpleBestFitAllocator(size)) {} in MemoryDealer()103 return SimpleBestFitAllocator::getAllocationAlignment(); in getAllocationAlignment()107 const int SimpleBestFitAllocator::kMemoryAlign = 32;109 SimpleBestFitAllocator::SimpleBestFitAllocator(size_t size) { in SimpleBestFitAllocator() function in android::hardware::SimpleBestFitAllocator117 SimpleBestFitAllocator::~SimpleBestFitAllocator() { in ~SimpleBestFitAllocator()132 size_t SimpleBestFitAllocator::size() const { in size()136 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) { in allocate()[all …]
27 class SimpleBestFitAllocator; variable51 SimpleBestFitAllocator* mAllocator;