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