Searched refs:current_size_ (Results 1 – 4 of 4) sorted by relevance
135 int current_size_; variable251 int current_size_; variable423 current_size_(0), in RepeatedField()436 return current_size_; in size()447 elements_[current_size_++] = value; in AddAlreadyReserved()453 return &elements_[current_size_++]; in AddAlreadyReserved()476 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()477 elements_[current_size_++] = value; in Add()482 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()483 return &elements_[current_size_++]; in Add()[all …]
56 int swap_current_size = current_size_; in Swap()65 current_size_ = other->current_size_; in Swap()71 other->current_size_ = swap_current_size; in Swap()
72 DCHECK(!current_size_); in ~MemBackendImpl()271 while (current_size_ > target_size && next) { in TrimCache()283 current_size_ += bytes; in AddStorageSize()284 DCHECK(current_size_ >= 0); in AddStorageSize()286 if (current_size_ > max_size_) in AddStorageSize()291 current_size_ -= bytes; in SubstractStorageSize()292 DCHECK(current_size_ >= 0); in SubstractStorageSize()
23 MemBackendImpl() : max_size_(0), current_size_(0) {} in MemBackendImpl()95 int32 current_size_; variable