/aosp_15_r20/external/cronet/base/metrics/ |
H A D | persistent_memory_allocator_unittest.cc | 828 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 D | persistent_memory_allocator.h | 861 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 D | persistent_memory_allocator.cc | 1158 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 D | persistent_histogram_allocator_fuzzer.cc | 33 base::FilePersistentMemoryAllocator::kReadWriteExisting); in LLVMFuzzerTestOneInput()
|
H A D | persistent_histogram_allocator.cc | 788 !FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile() 799 std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
|
/aosp_15_r20/external/libchrome/base/metrics/ |
H A 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()
|
H A 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);
|
H A 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()
|
H A D | persistent_histogram_allocator.cc | 698 !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/ |
D | persistent_memory_allocator.h | 746 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/ |
D | persistent_memory_allocator.h | 746 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 D | file_metrics_provider.cc | 519 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 D | activity_analyzer.cc | 127 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, true)) { in CreateWithFile() 132 return CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
|
H A D | activity_tracker.cc | 1285 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mapped_file, false)) in CreateWithFile() 1287 CreateWithAllocator(std::make_unique<FilePersistentMemoryAllocator>( in CreateWithFile()
|