Searched refs:GetAllocSize (Results 1 – 7 of 7) sorted by relevance
133 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()
434 size_t GetAllocSize(Reference ref) const;536 DCHECK_LE(sizeof(T), GetAllocSize(ref)) << "alloc not big enough for obj"; in New()
288 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()
460 size_t name_length = GetAllocSize(name_ref); in Name()533 size_t PersistentMemoryAllocator::GetAllocSize(Reference ref) const { in GetAllocSize() function in base::PersistentMemoryAllocator1188 DCHECK_LE(size_, allocator_->GetAllocSize(existing)); in Get()
1098 global_->field_trial_allocator_->GetAllocSize(field_trial->ref_); in GetParamsFromSharedMemory()
82 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()
519 const size_t tracker_size = global->allocator()->GetAllocSize(tracker_ref); in TEST_F()