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()
384 T* GetAsObject(Reference ref) { in GetAsObject() function
392 const T* GetAsObject(Reference ref) const { in GetAsObject() function
Dpersistent_memory_allocator_unittest.cc118 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject1>(block1)); in TEST_F()
119 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject2>(block1)); in TEST_F()
158 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject2>(block2)); in TEST_F()
159 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject1>(block2)); in TEST_F()
227 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject1>(block1)); in TEST_F()
228 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject2>(block2)); in TEST_F()
242 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject1>(block1)); in TEST_F()
243 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject2>(block2)); in TEST_F()
Dfield_trial.cc1033 global_->field_trial_allocator_->GetAsObject<FieldTrial::FieldTrialEntry>( in GetParamsFromSharedMemory()
1069 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(prev_ref); in ClearParamsFromSharedMemoryForTesting()
1297 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(ref); in AddToAllocatorWhileLocked()
1331 allocator->GetAsObject<FieldTrial::FieldTrialEntry>(ref); in ActivateFieldTrialEntryWhileLocked()
Dpersistent_sample_map.cc289 SampleRecord* record = records->GetAsObject<SampleRecord>(ref); in ImportSamples()
Dpersistent_histogram_allocator.cc283 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.cc1362 allocator_->GetAsObject<ThreadActivityTracker::Header>(mem_reference); in CreateTrackerForCurrentThread()