Home
last modified time | relevance | path

Searched refs:GetAllocSize (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc133 EXPECT_LE(sizeof(TestObject1), allocator_->GetAllocSize(block1)); in TEST_F()
135 allocator_->GetAllocSize(block1)); in TEST_F()
173 EXPECT_LE(sizeof(TestObject2), allocator_->GetAllocSize(block2)); in TEST_F()
175 allocator_->GetAllocSize(block2)); in TEST_F()
887 size_t size = allocator.GetAllocSize(ref); in TEST()
Dpersistent_memory_allocator.h434 size_t GetAllocSize(Reference ref) const;
536 DCHECK_LE(sizeof(T), GetAllocSize(ref)) << "alloc not big enough for obj"; in New()
Dpersistent_histogram_allocator.cc288 const size_t length = memory_allocator_->GetAllocSize(ref); in GetHistogram()
536 memory_allocator_->GetAllocSize(histogram_ranges_ref); in CreateHistogram()
556 memory_allocator_->GetAllocSize(counts_ref) < counts_bytes)) { in CreateHistogram()
Dpersistent_memory_allocator.cc460 size_t name_length = GetAllocSize(name_ref); in Name()
533 size_t PersistentMemoryAllocator::GetAllocSize(Reference ref) const { in GetAllocSize() function in base::PersistentMemoryAllocator
1188 DCHECK_LE(size_, allocator_->GetAllocSize(existing)); in Get()
Dfield_trial.cc1098 global_->field_trial_allocator_->GetAllocSize(field_trial->ref_); in GetParamsFromSharedMemory()
/external/libchrome/base/debug/
Dactivity_tracker.cc82 DCHECK_LE(size, allocator->GetAllocSize(ref)); in AllocateFrom()
1398 DCHECK_LE(stack_memory_size_, allocator_->GetAllocSize(mem_reference)); in CreateTrackerForCurrentThread()
1544 allocator_->GetAllocSize(ref)); in CleanupAfterProcess()
Dactivity_tracker_unittest.cc519 const size_t tracker_size = global->allocator()->GetAllocSize(tracker_ref); in TEST_F()