Home
last modified time | relevance | path

Searched refs:current_size_ (Results 1 – 5 of 5) 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.cc32 : max_size_(0), current_size_(0), net_log_(net_log) {} in MemBackendImpl()
40 DCHECK(!current_size_); in ~MemBackendImpl()
299 while (current_size_ > target_size && next) { in TrimCache()
311 current_size_ += bytes; in AddStorageSize()
312 DCHECK(current_size_ >= 0); in AddStorageSize()
314 if (current_size_ > max_size_) in AddStorageSize()
319 current_size_ -= bytes; in SubstractStorageSize()
320 DCHECK(current_size_ >= 0); in SubstractStorageSize()
Dmem_backend_impl.h109 int32 current_size_; variable
/external/v8/src/
Dliveedit.cc294 : array_(FACTORY->NewJSArray(10)), current_size_(0) {} in CompareOutputArrayWriter()
302 current_size_, in WriteChunk()
305 current_size_ + 1, in WriteChunk()
308 current_size_ + 2, in WriteChunk()
310 current_size_ += 3; in WriteChunk()
315 int current_size_; member in v8::internal::CompareOutputArrayWriter