Home | History | Annotate | Download | only in protobuf

Lines Matching refs:Reserve

113   // Reserve space to expand the field to at least the given size.  If the
115 void Reserve(int new_size);
273 void Reserve(int new_size);
432 // Reserve space to expand the field to at least the given size. This only
435 void Reserve(int new_size);
631 if (current_size_ == total_size_) Reserve(total_size_ + 1);
637 if (current_size_ == total_size_) Reserve(total_size_ + 1);
676 Reserve(current_size_ + other.current_size_);
746 // Avoid inlining of Reserve(): new, copy, and delete[] lead to a significant
749 void RepeatedField<Element>::Reserve(int new_size) {
841 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);
864 Reserve(current_size_ + other.current_size_);
932 Reserve(total_size_ + 1);
974 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);
1152 inline void RepeatedPtrField<Element>::Reserve(int new_size) {
1153 return RepeatedPtrFieldBase::Reserve(new_size);