HomeSort by relevance Sort by last modified time
    Searched refs:GetAsObject (Results 1 - 8 of 8) sorted by null

  /external/libchrome/base/metrics/
persistent_histogram_allocator.h 59 T* GetAsObject(PersistentMemoryAllocator::Reference ref) {
60 return allocator_->GetAsObject<T>(ref);
134 T* GetAsObject(PersistentMemoryAllocator::Reference ref) {
135 return data_manager_->GetAsObject<T>(ref);
persistent_memory_allocator.h 184 return GetAsObject<T>(GetNextOfType<T>());
195 const T* GetAsObject(Reference ref) const {
196 return allocator_->GetAsObject<T>(ref);
199 // Similar to GetAsObject() but converts references to arrays of things.
385 T* GetAsObject(Reference ref) {
393 const T* GetAsObject(Reference ref) const {
401 // Like GetAsObject but get an array of simple, fixed-size types.
414 static_assert(std::is_fundamental<T>::value, "use GetAsObject<>()");
420 static_assert(std::is_fundamental<T>::value, "use GetAsObject<>()");
498 // the GetAsObject() or GetAsArray calls. The actual allocated size may b
    [all...]
persistent_memory_allocator_unittest.cc 131 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject1>(block1));
132 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject2>(block1));
171 EXPECT_NE(nullptr, allocator_->GetAsObject<TestObject2>(block2));
172 EXPECT_EQ(nullptr, allocator_->GetAsObject<TestObject1>(block2));
240 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject1>(block1));
241 EXPECT_NE(nullptr, allocator2->GetAsObject<TestObject2>(block2));
255 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject1>(block1));
256 EXPECT_NE(nullptr, allocator3->GetAsObject<TestObject2>(block2));
    [all...]
persistent_sample_map.cc 273 SampleRecord* record = records->GetAsObject<SampleRecord>(ref);
field_trial.cc     [all...]
persistent_histogram_allocator.cc 287 memory_allocator_->GetAsObject<PersistentHistogramData>(ref);
    [all...]
  /external/libchrome/base/debug/
activity_tracker.h 212 T* GetAsObject(Reference ref) {
213 return allocator_->GetAsObject<T>(ref);
216 // Similar to GetAsObject() but converts references to arrays of objects.
    [all...]
activity_tracker.cc     [all...]

Completed in 225 milliseconds