Home
last modified time | relevance | path

Searched refs:allocator2 (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_sample_map_unittest.cc74 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local
77 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST()
117 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local
119 PersistentSampleMap samples2(12, allocator2.get(), &meta12); in TEST()
203 std::unique_ptr<PersistentHistogramAllocator> allocator2 = in TEST() local
206 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST()
Dpersistent_memory_allocator_unittest.cc229 std::unique_ptr<PersistentMemoryAllocator> allocator2( in TEST_F() local
232 EXPECT_EQ(TEST_ID, allocator2->Id()); in TEST_F()
233 EXPECT_FALSE(allocator2->used_histogram_); in TEST_F()
236 PersistentMemoryAllocator::Iterator iter2(allocator2.get()); in TEST_F()
240 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject1>(block1)); in TEST_F()
241 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject2>(block2)); in TEST_F()