Searched refs:old_rep (Results 1 – 2 of 2) sorted by relevance
53 Rep* old_rep = rep_; in InternalExtend() local59 sizeof(old_rep->elements[0])) in InternalExtend()63 new char[kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size]); in InternalExtend()67 kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size)); in InternalExtend()70 if (old_rep && old_rep->allocated_size > 0) { in InternalExtend()71 memcpy(rep_->elements, old_rep->elements, in InternalExtend()72 old_rep->allocated_size * sizeof(rep_->elements[0])); in InternalExtend()73 rep_->allocated_size = old_rep->allocated_size; in InternalExtend()78 delete [] reinterpret_cast<char*>(old_rep); in InternalExtend()
1260 Rep* old_rep = rep_;1294 MoveArray(rep_->elements, old_rep->elements, current_size_);1298 InternalDeallocate(old_rep, old_total_size);