Searched refs:GetAsObject (Results 1 – 8 of 8) sorted by relevance
59 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { in GetAsObject() function60 return allocator_->GetAsObject<T>(ref); in GetAsObject()134 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { in GetAsObject() function135 return data_manager_->GetAsObject<T>(ref); in GetAsObject()
184 return GetAsObject<T>(GetNextOfType<T>()); in GetNextOfObject()195 const T* GetAsObject(Reference ref) const { in GetAsObject() function196 return allocator_->GetAsObject<T>(ref); in GetAsObject()385 T* GetAsObject(Reference ref) { in GetAsObject() function393 const T* GetAsObject(Reference ref) const { in GetAsObject() function
131 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()
273 SampleRecord* record = records->GetAsObject<SampleRecord>(ref); in ImportSamples()
1094 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()
287 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram()
212 T* GetAsObject(Reference ref) { in GetAsObject() function213 return allocator_->GetAsObject<T>(ref); in GetAsObject()
1395 allocator_->GetAsObject<ThreadActivityTracker::Header>(mem_reference); in CreateTrackerForCurrentThread()