Home
last modified time | relevance | path

Searched refs:total_size_ (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/
Drepeated_field.cc46 if (total_size_ >= new_size) return; in Reserve()
49 total_size_ = max(kMinRepeatedFieldAllocationSize, in Reserve()
50 max(total_size_ * 2, new_size)); in Reserve()
51 elements_ = new void*[total_size_]; in Reserve()
63 int swap_total_size = total_size_; in Swap()
68 total_size_ = other->total_size_; in Swap()
73 other->total_size_ = swap_total_size; in Swap()
Drepeated_field.h176 int total_size_; variable
319 int total_size_; variable
554 total_size_(kInitialSize) { in RepeatedField()
561 total_size_(kInitialSize) { in RepeatedField()
570 total_size_(kInitialSize) { in RepeatedField()
596 return total_size_; in Capacity()
631 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()
637 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()
704 int swap_total_size = total_size_; in Swap()
708 total_size_ = other->total_size_; in Swap()
[all …]
/external/protobuf/src/google/protobuf/
Drepeated_field.cc43 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()
Drepeated_field.h136 int total_size_; variable
253 int total_size_; variable
424 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 …]
/external/chromium_org/cc/base/
Dtiling_data.cc36 total_size_(total_size), in TilingData()
46 total_size_(total_size), in TilingData()
52 total_size_ = total_size; in SetTotalSize()
135 int total_size_x = total_size_.width(); in TileBounds()
136 int total_size_y = total_size_.height(); in TileBounds()
165 DCHECK_LE(x, total_size_.width()); in TileBounds()
166 DCHECK_LE(y, total_size_.height()); in TileBounds()
174 int total_size_x = total_size_.width(); in TileBoundsWithBorder()
175 int total_size_y = total_size_.height(); in TileBoundsWithBorder()
194 DCHECK_LE(x, total_size_.width()); in TileBoundsWithBorder()
[all …]
Dtiling_data.h34 gfx::Size total_size() const { return total_size_; } in total_size()
141 gfx::Size total_size_; variable
/external/chromium_org/net/spdy/
Dspdy_read_queue.cc13 SpdyReadQueue::SpdyReadQueue() : total_size_(0) {} in SpdyReadQueue()
20 DCHECK_EQ(queue_.empty(), total_size_ == 0); in IsEmpty()
25 return total_size_; in GetTotalSize()
30 total_size_ += buffer->GetRemainingSize(); in Enqueue()
50 total_size_ -= bytes_copied; in Dequeue()
Dspdy_read_queue.h44 size_t total_size_; variable
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dprogress.h23 MARISA_ALPHA_THROW_IF(total_size_ > (MARISA_ALPHA_UINT32_MAX - total_size), in test_total_size()
25 total_size_ += total_size; in test_total_size()
35 return total_size_; in total_size()
54 std::size_t total_size_; variable
Dprogress.cc5 Progress::Progress(int flags) : flags_(flags), trie_id_(0), total_size_(0) { in Progress()
/external/marisa-trie/lib/marisa/
Dprogress.h23 MARISA_THROW_IF(total_size_ > (MARISA_UINT32_MAX - total_size), in test_total_size()
25 total_size_ += total_size; in test_total_size()
35 return total_size_; in total_size()
54 std::size_t total_size_; variable
Dprogress.cc5 Progress::Progress(int flags) : flags_(flags), trie_id_(0), total_size_(0) { in Progress()
/external/chromium/third_party/libjingle/source/talk/base/
Ddiskcache.cc77 DiskCache::DiskCache() : max_cache_(0), total_size_(0), total_accessors_(0) { in DiskCache()
90 ASSERT(0 == total_size_); in Initialize()
120 if ((total_size_ > max_cache_) && !CheckLimit()) { in LockResource()
149 total_size_ -= previous_size; in WriteResource()
224 total_size_ -= entry->size; in DeleteResource()
236 ASSERT(cache_size == total_size_); in CheckLimit()
241 while (total_size_ > max_cache_) { in CheckLimit()
352 this2->total_size_ += new_size; in ReleaseResource()
/external/chromium_org/third_party/libjingle/source/talk/base/
Ddiskcache.cc77 DiskCache::DiskCache() : max_cache_(0), total_size_(0), total_accessors_(0) { in DiskCache()
90 ASSERT(0 == total_size_); in Initialize()
120 if ((total_size_ > max_cache_) && !CheckLimit()) { in LockResource()
149 total_size_ -= previous_size; in WriteResource()
224 total_size_ -= entry->size; in DeleteResource()
236 ASSERT(cache_size == total_size_); in CheckLimit()
241 while (total_size_ > max_cache_) { in CheckLimit()
352 this2->total_size_ += new_size; in ReleaseResource()
Ddiskcache_win32.cc64 total_size_ += find_data.nFileSizeLow; in InitializeEntries()
Ddiskcache.h104 size_t max_cache_, total_size_; variable
/external/chromium_org/net/base/
Dupload_data_stream.cc20 total_size_(0), in UploadDataStream()
32 total_size_(0), in UploadDataStream()
69 return current_position_ == total_size_; in IsEOF()
121 total_size_ = 0; in Reset()
152 total_size_ = total_size; in InitInternal()
222 DCHECK(is_chunked_ || total_size_ >= current_position_); in ReadInternal()
Dupload_data_stream.h77 uint64 size() const { return total_size_; } in size()
134 uint64 total_size_; variable
/external/chromium/net/base/
Dupload_data_stream.h54 uint64 size() const { return total_size_; } in size()
114 uint64 total_size_; variable
/external/chromium/chrome/browser/chromeos/cros/
Dmount_library.h68 uint64 total_size() const { return total_size_; } in total_size()
90 uint64 total_size_; variable
/external/chromium_org/v8/src/
Dallocation-tracker.h48 unsigned allocation_size() const { return total_size_; } in allocation_size()
58 unsigned total_size_; variable
Dallocation-tracker.cc42 total_size_(0), in AllocationTraceNode()
72 total_size_ += size; in AddAllocation()
78 OS::Print("%10u %10u %*c", total_size_, allocation_count_, indent, ' '); in Print()
/external/chromium_org/webkit/browser/blob/
Dblob_url_request_job.cc57 total_size_(0), in BlobURLRequestJob()
174 if (item_length > kint64max - total_size_) { in AddItemLength()
182 total_size_ += item_length; in AddItemLength()
188 total_size_ = 0; in CountSize()
219 if (!byte_range_.ComputeBounds(total_size_)) { in DidCountSize()
Dblob_url_request_job.h106 int64 total_size_; variable
/external/chromium_org/webkit/browser/database/
Ddatabase_tracker.h56 int64 TotalSize() const { return total_size_; } in TotalSize()
69 int64 total_size_; variable
202 total_size_ += new_size - old_size; in SetDatabaseSize()

12