Home
last modified time | relevance | path

Searched refs:GetAsObject (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.h59 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { in GetAsObject() function
60 return allocator_->GetAsObject<T>(ref); in GetAsObject()
134 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { in GetAsObject() function
135 return data_manager_->GetAsObject<T>(ref); in GetAsObject()
Dpersistent_memory_allocator.h184 return GetAsObject<T>(GetNextOfType<T>()); in GetNextOfObject()
195 const T* GetAsObject(Reference ref) const { in GetAsObject() function
196 return allocator_->GetAsObject<T>(ref); in GetAsObject()
385 T* GetAsObject(Reference ref) { in GetAsObject() function
393 const T* GetAsObject(Reference ref) const { in GetAsObject() function
Dpersistent_memory_allocator_unittest.cc131 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject1>(block1)); in TEST_F()
132 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject2>(block1)); in TEST_F()
171 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject2>(block2)); in TEST_F()
172 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject1>(block2)); 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()
255 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject1>(block1)); in TEST_F()
256 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject2>(block2)); in TEST_F()
Dfield_trial.cc1094 global_->field_trial_allocator_->GetAsObject<FieldTrial::FieldTrialEntry>( in GetParamsFromSharedMemory()
1130 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(prev_ref); in ClearParamsFromSharedMemoryForTesting()
1443 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(ref); in AddToAllocatorWhileLocked()
1476 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(ref); in ActivateFieldTrialEntryWhileLocked()
Dpersistent_sample_map.cc273 SampleRecord* record = records->GetAsObject<SampleRecord>(ref); in ImportSamples()
Dpersistent_histogram_allocator.cc287 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram()
/external/libchrome/base/debug/
Dactivity_tracker.h212 T* GetAsObject(Reference ref) { in GetAsObject() function
213 return allocator_->GetAsObject<T>(ref); in GetAsObject()
Dactivity_tracker.cc1395 allocator_->GetAsObject<ThreadActivityTracker::Header>(mem_reference); in CreateTrackerForCurrentThread()