Home
last modified time | relevance | path

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

/system/libhidl/libhidlcache/
DMemoryDealer.cpp45 class SimpleBestFitAllocator { class
49 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::SimpleBestFitAllocator
117 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 …]
/system/libhidl/libhidlcache/include/hidlcache/
DMemoryDealer.h27 class SimpleBestFitAllocator; variable
51 SimpleBestFitAllocator* mAllocator;