Searched refs:FilePersistentMemoryAllocator (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 755 FilePersistentMemoryAllocator file(std::move(mmfile), 0, 0, "", false); in TEST() 811 FilePersistentMemoryAllocator allocator(std::move(mmfile), region.size, 0, in TEST() 830 EXPECT_TRUE(FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)); in TEST() 832 FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, false)); in TEST() 874 if (FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)) { in TEST() 877 FilePersistentMemoryAllocator allocator(std::move(mmfile), 0, 0, "", in TEST() 916 if (FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)) { in TEST() 919 FilePersistentMemoryAllocator allocator(std::move(mmfile), 0, 0, "", in TEST() 977 FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)); in TEST_F() 979 FilePersistentMemoryAllocator allocator(std::move(mmfile), 0, 0, "", in TEST_F()
|
D | persistent_memory_allocator.h | 743 class BASE_EXPORT FilePersistentMemoryAllocator 749 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file, 754 ~FilePersistentMemoryAllocator() override; 769 DISALLOW_COPY_AND_ASSIGN(FilePersistentMemoryAllocator);
|
D | persistent_memory_allocator.cc | 1045 FilePersistentMemoryAllocator::FilePersistentMemoryAllocator( in FilePersistentMemoryAllocator() function in base::FilePersistentMemoryAllocator 1060 FilePersistentMemoryAllocator::~FilePersistentMemoryAllocator() = default; 1063 bool FilePersistentMemoryAllocator::IsFileAcceptable( in IsFileAcceptable() 1069 void FilePersistentMemoryAllocator::FlushPartial(size_t length, bool sync) { in FlushPartial()
|
D | persistent_histogram_allocator.cc | 698 !FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile() 703 std::make_unique<FilePersistentMemoryAllocator>(std::move(mmfile), size, in CreateWithFile()
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 1285 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mapped_file, false)) in CreateWithFile() 1287 CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
|