Home
last modified time | relevance | path

Searched refs:current_size_ (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.h135 int current_size_; variable
251 int current_size_; variable
423 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 …]
Drepeated_field.cc56 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()
/external/chromium/net/disk_cache/
Dmem_backend_impl.cc72 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()
Dmem_backend_impl.h23 MemBackendImpl() : max_size_(0), current_size_(0) {} in MemBackendImpl()
95 int32 current_size_; variable