Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc240 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()
Dpersistent_memory_allocator.h171 static bool IsMemoryAcceptable(const void* data, size_t size,