Searched refs:allocated_size_ (Results 1 - 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Drepeated_field.cc53 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0]));
62 int swap_allocated_size = allocated_size_;
67 allocated_size_ = other->allocated_size_;
72 other->allocated_size_ = swap_allocated_size;
H A Drepeated_field.h295 for (int i = start + num; i < allocated_size_; ++i)
298 allocated_size_ -= num;
344 int allocated_size_; member in class:google::protobuf::internal::RepeatedPtrFieldBase
863 allocated_size_(0),
869 for (int i = 0; i < allocated_size_; i++) {
902 if (current_size_ < allocated_size_) {
905 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);
907 ++allocated_size_;
978 for (int i = 0; i < allocated_size_; ++i) {
986 if (current_size_ < allocated_size_) {
[all...]

Completed in 50 milliseconds