Searched refs:new_size (Results 1 – 12 of 12) sorted by relevance
87 uint32_t new_size = BitsToWords(num + 1); in SetBit() local88 DCHECK_GT(new_size, storage_size_); in SetBit()90 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes)); in SetBit()93 memset(&new_storage[storage_size_], 0, (new_size - storage_size_) * kWordBytes); in SetBit()96 storage_size_ = new_size; in SetBit()
195 void SetSize(size_t new_size) { in SetSize() argument196 Resize(new_size); in SetSize()197 num_used_ = new_size; in SetSize()
264 void DlMallocSpace::SetFootprintLimit(size_t new_size) { in SetFootprintLimit() argument266 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()270 if (new_size < current_space_size) { in SetFootprintLimit()272 new_size = current_space_size; in SetFootprintLimit()274 mspace_set_footprint_limit(mspace_, new_size); in SetFootprintLimit()
265 void RosAllocSpace::SetFootprintLimit(size_t new_size) { in SetFootprintLimit() argument267 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()271 if (new_size < current_space_size) { in SetFootprintLimit()273 new_size = current_space_size; in SetFootprintLimit()275 rosalloc_->SetFootprintLimit(new_size); in SetFootprintLimit()
76 size_t new_size = OffsetToIndex(new_end - heap_begin_) * kWordSize; in SetHeapLimit() local77 if (new_size < bitmap_size_) { in SetHeapLimit()78 bitmap_size_ = new_size; in SetHeapLimit()
276 void MarkCompact::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument278 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()279 mark_stack_->Resize(new_size); in ResizeMarkStack()
413 void SemiSpace::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument415 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()416 mark_stack_->Resize(new_size); in ResizeMarkStack()
181 void ResizeMarkStack(size_t new_size);
159 void ResizeMarkStack(size_t new_size);
244 void ResizeMarkStack(size_t new_size) EXCLUSIVE_LOCKS_REQUIRED(mark_stack_lock_);
324 void MarkSweep::ResizeMarkStack(size_t new_size) { in ResizeMarkStack() argument331 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()332 mark_stack_->Resize(new_size); in ResizeMarkStack()
559 int new_size = 0; in UpdateReachingDefs() local562 new_size += (*reaching_it).second->size(); in UpdateReachingDefs()564 if (old_size != new_size) { in UpdateReachingDefs()569 reaching_defs_size_ = new_size; in UpdateReachingDefs()