Searched refs:GetAsReference (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 208 Reference GetAsReference(const void* memory, uint32_t type_id) const { in GetAsReference() function 209 return allocator_->GetAsReference(memory, type_id); in GetAsReference() 214 Reference GetAsReference(const T* obj) const { in GetAsReference() function 215 return allocator_->GetAsReference(obj); in GetAsReference() 428 Reference GetAsReference(const void* memory, uint32_t type_id) const; 569 Reference ref = GetAsReference<T>(obj); in Delete() 590 Reference GetAsReference(const T* obj) const { in GetAsReference() function 591 return GetAsReference(obj, T::kPersistentTypeId); in GetAsReference() 597 MakeIterable(GetAsReference<T>(obj)); in MakeIterable()
|
D | persistent_memory_allocator_unittest.cc | 129 Reference block1 = allocator_->GetAsReference(obj1); in TEST_F() 145 EXPECT_EQ(block1, allocator_->GetAsReference(memory1, 0)); in TEST_F() 146 EXPECT_EQ(block1, allocator_->GetAsReference(memory1, 1)); in TEST_F() 147 EXPECT_EQ(0U, allocator_->GetAsReference(memory1, 2)); in TEST_F() 148 EXPECT_EQ(0U, allocator_->GetAsReference(memory1 + 1, 0)); in TEST_F() 149 EXPECT_EQ(0U, allocator_->GetAsReference(memory1 + 16, 0)); in TEST_F() 150 EXPECT_EQ(0U, allocator_->GetAsReference(nullptr, 0)); in TEST_F() 151 EXPECT_EQ(0U, allocator_->GetAsReference(&base_name, 0)); in TEST_F() 169 Reference block2 = allocator_->GetAsReference(obj2); in TEST_F() 506 EXPECT_EQ(allocator_->GetAsReference(mem1, 1001), in TEST_F() [all …]
|
D | persistent_sample_map.cc | 170 return iterator.GetAsReference(record); in GetNextPersistentRecord() 190 PersistentMemoryAllocator::Reference ref = allocator->GetAsReference(record); in CreatePersistentRecord()
|
D | field_trial.cc | 1155 FieldTrial::FieldTrialRef new_ref = allocator->GetAsReference(new_entry); in ClearParamsFromSharedMemoryForTesting() 1355 trial->ref_ = mem_iter.GetAsReference(entry); in CreateTrialsFromSharedMemory()
|
D | persistent_histogram_allocator.cc | 413 memory_allocator_->GetAsReference(histogram_data); in AllocateHistogram()
|
D | persistent_memory_allocator.cc | 515 PersistentMemoryAllocator::Reference PersistentMemoryAllocator::GetAsReference( in GetAsReference() function in base::PersistentMemoryAllocator
|
/external/libchrome/base/debug/ |
D | activity_tracker_unittest.cc | 503 global->allocator()->GetAsReference( in TEST_F() 508 global->allocator()->GetAsReference( in TEST_F() 513 global->allocator()->GetAsReference( in TEST_F()
|
D | activity_analyzer.cc | 282 allocator_->GetAsReference(record)))) { in GetModules()
|
D | activity_tracker.cc | 1687 allocator_->MakeIterable(allocator_->GetAsReference( in GlobalActivityTracker()
|