Searched refs:total_size_ (Results 1 – 4 of 4) sorted by relevance
43 if (total_size_ >= new_size) return; in Reserve()46 total_size_ = max(total_size_ * 2, new_size); in Reserve()47 elements_ = new void*[total_size_]; in Reserve()58 int swap_total_size = total_size_; in Swap()67 total_size_ = other->total_size_; in Swap()73 other->total_size_ = swap_total_size; in Swap()
136 int total_size_; variable253 int total_size_; variable424 total_size_(kInitialSize) { in RepeatedField()441 return total_size_; in Capacity()476 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()482 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()519 int swap_total_size = total_size_; in Swap()527 total_size_ = other->total_size_; in Swap()532 other->total_size_ = swap_total_size; in Swap()571 return (elements_ != initial_space_) ? total_size_ * sizeof(elements_[0]) : 0; in SpaceUsedExcludingSelf()[all …]
30 uint64 size() const { return total_size_; } in size()62 uint64 total_size_; variable
20 total_size_(data->GetContentLength()), in UploadDataStream()