Searched refs:old_rep (Results 1 – 4 of 4) 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()
1262 Rep* old_rep = rep_;1296 MoveArray(rep_->elements, old_rep->elements, current_size_);1300 InternalDeallocate(old_rep, old_total_size);
93 struct _Rep_base *old_rep = rep_from_data(__imp_); variable99 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)101 ::operator delete(old_rep);
97 struct _Rep_base *old_rep = rep_from_data(__imp_); variable103 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)105 ::operator delete(old_rep);