Home | History | Annotate | Download | only in protobuf

Lines Matching defs:Reserve

94   // Reserve space to expand the field to at least the given size.  If the
96 void Reserve(int new_size);
207 void Reserve(int new_size);
331 // Reserve space to expand the field to at least the given size. This only
334 void Reserve(int new_size);
476 if (current_size_ == total_size_) Reserve(total_size_ + 1);
482 Reserve(total_size_ + 1);
499 Reserve(current_size_ + other.current_size_);
574 // Avoid inlining of Reserve(): new, memcpy, and delete[] lead to a significant
577 void RepeatedField<Element>::Reserve(int new_size) {
653 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);
676 Reserve(current_size_ + other.current_size_);
738 Reserve(total_size_ + 1);
781 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);
900 inline void RepeatedPtrField<Element>::Reserve(int new_size) {
901 return RepeatedPtrFieldBase::Reserve(new_size);