Home
last modified time | relevance | path

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

/hardware/google/aemu/host-common/
Daddress_space_shared_slots_host_memory_allocator.cpp155 uint64_t MemBlock::allocate(const size_t requestedSize) { in allocate() argument
156 FreeSubblocks_t::iterator i = findFreeSubblock(&freeSubblocks, requestedSize); in allocate()
165 if (subblockSize > requestedSize) { in allocate()
166 if (!freeSubblocks.insert({subblockOffset + requestedSize, in allocate()
167 subblockSize - requestedSize}).second) { in allocate()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_shared_slots_host_memory_allocator.h46 uint64_t allocate(size_t requestedSize);