Home
last modified time | relevance | path

Searched refs:kAllocatorMemorySize (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_histogram_allocator_unittest.cc22 const int32_t kAllocatorMemorySize = 64 << 10; // 64 KiB member in base::PersistentHistogramAllocatorTest
33 allocator_memory_.reset(new char[kAllocatorMemorySize]); in CreatePersistentHistogramAllocator()
36 memset(allocator_memory_.get(), 0, kAllocatorMemorySize); in CreatePersistentHistogramAllocator()
38 allocator_memory_.get(), kAllocatorMemorySize, 0, 0, in CreatePersistentHistogramAllocator()
108 allocator_memory_.get(), kAllocatorMemorySize, 0, 0, "", false)); in TEST_F()
224 GlobalHistogramAllocator::CreateWithLocalMemory(kAllocatorMemorySize, 0, ""); in TEST_F()
Dsparse_histogram_unittest.cc30 const int32_t kAllocatorMemorySize = 8 << 20; // 8 MiB member in base::SparseHistogramTest
63 kAllocatorMemorySize, 0, "SparseHistogramAllocatorTest"); in CreatePersistentMemoryAllocator()
Dstatistics_recorder_unittest.cc63 const int32_t kAllocatorMemorySize = 64 << 10; // 64 KiB member in base::StatisticsRecorderTest
72 GlobalHistogramAllocator::CreateWithLocalMemory(kAllocatorMemorySize, 0, in StatisticsRecorderTest()
673 GlobalHistogramAllocator::CreateWithLocalMemory(kAllocatorMemorySize, 0, ""); in TEST_P()
Dhistogram_unittest.cc56 const int32_t kAllocatorMemorySize = 8 << 20; // 8 MiB member in base::HistogramTest
89 kAllocatorMemorySize, 0, "HistogramAllocatorTest"); in CreatePersistentHistogramAllocator()