Searched refs:allocator2 (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_sample_map_unittest.cc | 73 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local 76 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST() 116 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local 118 PersistentSampleMap samples2(12, allocator2.get(), &meta12); in TEST() 202 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local 205 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST()
|
D | persistent_memory_allocator_unittest.cc | 190 std::unique_ptr<PersistentMemoryAllocator> allocator2( in TEST_F() local 193 EXPECT_EQ(TEST_ID, allocator2->Id()); in TEST_F() 194 EXPECT_FALSE(allocator2->used_histogram_); in TEST_F() 195 EXPECT_FALSE(allocator2->allocs_histogram_); in TEST_F() 196 EXPECT_NE(allocator2->allocs_histogram_, allocator_->allocs_histogram_); in TEST_F() 199 PersistentMemoryAllocator::Iterator iter2(allocator2.get()); in TEST_F() 203 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject1>(block1, 1)); in TEST_F() 204 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject2>(block2, 2)); in TEST_F()
|