Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/base/metrics/
H A Dpersistent_memory_allocator_unittest.cc828 FilePersistentMemoryAllocator file(std::move(mmfile), 0, 0, "", in TEST()
829 FilePersistentMemoryAllocator::kReadWrite); in TEST()
885 FilePersistentMemoryAllocator allocator( in TEST()
887 FilePersistentMemoryAllocator::kReadWrite); in TEST()
905 EXPECT_TRUE(FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)); in TEST()
907 FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, false)); in TEST()
949 if (FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)) { in TEST()
952 FilePersistentMemoryAllocator allocator( in TEST()
954 read_only ? FilePersistentMemoryAllocator::kReadOnly in TEST()
955 : FilePersistentMemoryAllocator::kReadWrite); in TEST()
[all …]
H A Dpersistent_memory_allocator.h861 class BASE_EXPORT FilePersistentMemoryAllocator
867 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
873 FilePersistentMemoryAllocator(const FilePersistentMemoryAllocator&) = delete;
874 FilePersistentMemoryAllocator& operator=(
875 const FilePersistentMemoryAllocator&) = delete;
877 ~FilePersistentMemoryAllocator() override;
H A Dpersistent_memory_allocator.cc1158 FilePersistentMemoryAllocator::FilePersistentMemoryAllocator( in FilePersistentMemoryAllocator() function in base::FilePersistentMemoryAllocator
1173 FilePersistentMemoryAllocator::~FilePersistentMemoryAllocator() = default;
1176 bool FilePersistentMemoryAllocator::IsFileAcceptable( in IsFileAcceptable()
1182 void FilePersistentMemoryAllocator::Cache() { in Cache()
1209 void FilePersistentMemoryAllocator::FlushPartial(size_t length, bool sync) { in FlushPartial()
H A Dpersistent_histogram_allocator_fuzzer.cc33 base::FilePersistentMemoryAllocator::kReadWriteExisting); in LLVMFuzzerTestOneInput()
H A Dpersistent_histogram_allocator.cc788 !FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile()
799 std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
/aosp_15_r20/external/libchrome/base/metrics/
H A 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()
H A Dpersistent_memory_allocator.h743 class BASE_EXPORT FilePersistentMemoryAllocator
749 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
754 ~FilePersistentMemoryAllocator() override;
769 DISALLOW_COPY_AND_ASSIGN(FilePersistentMemoryAllocator);
H A 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()
H A Dpersistent_histogram_allocator.cc698 !FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile()
703 std::make_unique<FilePersistentMemoryAllocator>(std::move(mmfile), size, in CreateWithFile()
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h746 class BASE_EXPORT FilePersistentMemoryAllocator
752 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
757 ~FilePersistentMemoryAllocator() override;
772 DISALLOW_COPY_AND_ASSIGN(FilePersistentMemoryAllocator);
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/3/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h746 class BASE_EXPORT FilePersistentMemoryAllocator
752 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
757 ~FilePersistentMemoryAllocator() override;
772 DISALLOW_COPY_AND_ASSIGN(FilePersistentMemoryAllocator);
/aosp_15_r20/external/cronet/components/metrics/
H A Dfile_metrics_provider.cc519 if (!base::FilePersistentMemoryAllocator::IsFileAcceptable(*mapped, in CheckAndMapMetricSource()
525 std::unique_ptr<base::FilePersistentMemoryAllocator> memory_allocator = in CheckAndMapMetricSource()
526 std::make_unique<base::FilePersistentMemoryAllocator>( in CheckAndMapMetricSource()
528 read_only ? base::FilePersistentMemoryAllocator::kReadOnly in CheckAndMapMetricSource()
529 : base::FilePersistentMemoryAllocator::kReadWriteExisting); in CheckAndMapMetricSource()
/aosp_15_r20/external/libchrome/base/debug/
H A Dactivity_analyzer.cc127 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile()
132 return CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
H A Dactivity_tracker.cc1285 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mapped_file, false)) in CreateWithFile()
1287 CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()