Home
last modified time | relevance | path

Searched refs:FilePersistentMemoryAllocator (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc755 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()
Dpersistent_memory_allocator.h743 class BASE_EXPORT FilePersistentMemoryAllocator
749 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
754 ~FilePersistentMemoryAllocator() override;
769 DISALLOW_COPY_AND_ASSIGN(FilePersistentMemoryAllocator);
Dpersistent_memory_allocator.cc1045 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()
Dpersistent_histogram_allocator.cc698 !FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile()
703 std::make_unique<FilePersistentMemoryAllocator>(std::move(mmfile), size, in CreateWithFile()
/external/libchrome/base/debug/
Dactivity_analyzer.cc127 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile()
132 return CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
Dactivity_tracker.cc1285 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mapped_file, false)) in CreateWithFile()
1287 CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()