Home
last modified time | relevance | path

Searched refs:old_rep (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.cc53 Rep* old_rep = rep_; in InternalExtend() local
59 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()
Drepeated_field.h1262 Rep* old_rep = rep_;
1296 MoveArray(rep_->elements, old_rep->elements, current_size_);
1300 InternalDeallocate(old_rep, old_total_size);
/external/libcxx/src/include/
Drefstring.h93 struct _Rep_base *old_rep = rep_from_data(__imp_); variable
99 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)
101 ::operator delete(old_rep);
/external/libcxxabi/src/include/
Drefstring.h97 struct _Rep_base *old_rep = rep_from_data(__imp_); variable
103 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)
105 ::operator delete(old_rep);