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()384 T* GetAsObject(Reference ref) { in GetAsObject() function392 const T* GetAsObject(Reference ref) const { in GetAsObject() function
118 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()
1033 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()
289 SampleRecord* record = records->GetAsObject<SampleRecord>(ref); in ImportSamples()
283 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram()
212 T* GetAsObject(Reference ref) { in GetAsObject() function213 return allocator_->GetAsObject<T>(ref); in GetAsObject()
1362 allocator_->GetAsObject<ThreadActivityTracker::Header>(mem_reference); in CreateTrackerForCurrentThread()