Searched refs:IsMemoryAcceptable (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 290 bool PersistentMemoryAllocator::IsMemoryAcceptable(const void* base, in IsMemoryAcceptable() function in base::PersistentMemoryAllocator 349 CHECK(IsMemoryAcceptable(memory.base, size, page_size, readonly)); in PersistentMemoryAllocator() 436 if (!IsMemoryAcceptable(memory.base, mem_size_, mem_page_, readonly)) in PersistentMemoryAllocator() 1038 return IsMemoryAcceptable(memory.memory(), memory.mapped_size(), 0, false); in IsSharedMemoryAcceptable() 1066 return IsMemoryAcceptable(file.data(), file.length(), 0, read_only); in IsFileAcceptable()
|
D | persistent_memory_allocator.h | 296 static bool IsMemoryAcceptable(const void* data, size_t size,
|