Home
last modified time | relevance | path

Searched refs:GetAsReference (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h208 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()
Dpersistent_memory_allocator_unittest.cc129 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 …]
Dpersistent_sample_map.cc170 return iterator.GetAsReference(record); in GetNextPersistentRecord()
190 PersistentMemoryAllocator::Reference ref = allocator->GetAsReference(record); in CreatePersistentRecord()
Dfield_trial.cc1155 FieldTrial::FieldTrialRef new_ref = allocator->GetAsReference(new_entry); in ClearParamsFromSharedMemoryForTesting()
1355 trial->ref_ = mem_iter.GetAsReference(entry); in CreateTrialsFromSharedMemory()
Dpersistent_histogram_allocator.cc413 memory_allocator_->GetAsReference(histogram_data); in AllocateHistogram()
Dpersistent_memory_allocator.cc515 PersistentMemoryAllocator::Reference PersistentMemoryAllocator::GetAsReference( in GetAsReference() function in base::PersistentMemoryAllocator
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc503 global->allocator()->GetAsReference( in TEST_F()
508 global->allocator()->GetAsReference( in TEST_F()
513 global->allocator()->GetAsReference( in TEST_F()
Dactivity_analyzer.cc282 allocator_->GetAsReference(record)))) { in GetModules()
Dactivity_tracker.cc1687 allocator_->MakeIterable(allocator_->GetAsReference( in GlobalActivityTracker()