Lines Matching refs:GlobalHistogramAllocator
354 DCHECK_EQ(this, GlobalHistogramAllocator::Get()); in AllocateHistogram()
628 DCHECK_NE(GlobalHistogramAllocator::Get(), this); in GetOrCreateStatisticsRecorderHistogram()
654 GlobalHistogramAllocator::~GlobalHistogramAllocator() = default;
657 void GlobalHistogramAllocator::CreateWithPersistentMemory( in CreateWithPersistentMemory()
664 new GlobalHistogramAllocator(std::make_unique<PersistentMemoryAllocator>( in CreateWithPersistentMemory()
669 void GlobalHistogramAllocator::CreateWithLocalMemory( in CreateWithLocalMemory()
673 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithLocalMemory()
679 bool GlobalHistogramAllocator::CreateWithFile( in CreateWithFile()
702 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithFile()
710 bool GlobalHistogramAllocator::CreateWithActiveFile(const FilePath& base_path, in CreateWithActiveFile()
727 return base::GlobalHistogramAllocator::CreateWithFile(active_path, size, id, in CreateWithActiveFile()
732 bool GlobalHistogramAllocator::CreateWithActiveFileInDir(const FilePath& dir, in CreateWithActiveFileInDir()
743 FilePath GlobalHistogramAllocator::ConstructFilePath(const FilePath& dir, in ConstructFilePath()
750 FilePath GlobalHistogramAllocator::ConstructFilePathForUploadDir( in ConstructFilePathForUploadDir()
762 bool GlobalHistogramAllocator::ParseFilePath(const FilePath& path, in ParseFilePath()
793 void GlobalHistogramAllocator::ConstructFilePaths(const FilePath& dir, in ConstructFilePaths()
812 void GlobalHistogramAllocator::ConstructFilePathsForUploadDir( in ConstructFilePathsForUploadDir()
836 bool GlobalHistogramAllocator::CreateSpareFile(const FilePath& spare_path, in CreateSpareFile()
862 bool GlobalHistogramAllocator::CreateSpareFileInDir(const FilePath& dir, in CreateSpareFileInDir()
872 void GlobalHistogramAllocator::CreateWithSharedMemoryHandle( in CreateWithSharedMemoryHandle()
882 Set(WrapUnique(new GlobalHistogramAllocator( in CreateWithSharedMemoryHandle()
888 void GlobalHistogramAllocator::Set( in Set()
889 std::unique_ptr<GlobalHistogramAllocator> allocator) { in Set()
903 GlobalHistogramAllocator* GlobalHistogramAllocator::Get() { in Get()
904 return reinterpret_cast<GlobalHistogramAllocator*>( in Get()
909 std::unique_ptr<GlobalHistogramAllocator>
910 GlobalHistogramAllocator::ReleaseForTesting() { in ReleaseForTesting()
911 GlobalHistogramAllocator* histogram_allocator = Get(); in ReleaseForTesting()
930 void GlobalHistogramAllocator::SetPersistentLocation(const FilePath& location) { in SetPersistentLocation()
934 const FilePath& GlobalHistogramAllocator::GetPersistentLocation() const { in GetPersistentLocation()
938 bool GlobalHistogramAllocator::WriteToPersistentLocation() { in WriteToPersistentLocation()
963 void GlobalHistogramAllocator::DeletePersistentLocation() { in DeletePersistentLocation()
981 GlobalHistogramAllocator::GlobalHistogramAllocator( in GlobalHistogramAllocator() function in base::GlobalHistogramAllocator
987 void GlobalHistogramAllocator::ImportHistogramsToStatisticsRecorder() { in ImportHistogramsToStatisticsRecorder()