Searched refs:total_size_ (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.cc46 if (total_size_ >= new_size) return;
49 total_size_ = max(kMinRepeatedFieldAllocationSize,
50 max(total_size_ * 2, new_size));
51 elements_ = new void*[total_size_];
63 int swap_total_size = total_size_;
68 total_size_ = other->total_size_;
73 other->total_size_ = swap_total_size;
H A Drepeated_field.h176 int total_size_; member in class:google::protobuf::RepeatedField
319 int total_size_; member in class:google::protobuf::internal::RepeatedPtrFieldBase
554 total_size_(kInitialSize) {
561 total_size_(kInitialSize) {
570 total_size_(kInitialSize) {
596 return total_size_;
631 if (current_size_ == total_size_) Reserve(total_size_ + 1);
637 if (current_size_ == total_size_) Reserve(total_size_
[all...]
/external/protobuf/src/google/protobuf/
H A Drepeated_field.cc43 if (total_size_ >= new_size) return;
46 total_size_ = max(total_size_ * 2, new_size);
47 elements_ = new void*[total_size_];
58 int swap_total_size = total_size_;
67 total_size_ = other->total_size_;
73 other->total_size_ = swap_total_size;
H A Drepeated_field.h136 int total_size_; member in class:google::protobuf::RepeatedField
253 int total_size_; member in class:google::protobuf::internal::RepeatedPtrFieldBase
424 total_size_(kInitialSize) {
441 return total_size_;
476 if (current_size_ == total_size_) Reserve(total_size_ + 1);
482 if (current_size_ == total_size_) Reserve(total_size_ + 1);
519 int swap_total_size = total_size_;
527 total_size_
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_read_queue.cc13 SpdyReadQueue::SpdyReadQueue() : total_size_(0) {}
20 DCHECK_EQ(queue_.empty(), total_size_ == 0);
25 return total_size_;
30 total_size_ += buffer->GetRemainingSize();
50 total_size_ -= bytes_copied;
H A Dspdy_read_queue.h44 size_t total_size_; member in class:net::SpdyReadQueue
/external/chromium_org/chrome/utility/media_galleries/
H A Dipc_data_source.cc14 : total_size_(total_size),
40 *size_out = total_size_;
74 CHECK_GE(total_size_, 0);
79 position = std::min(position, total_size_);
81 std::min(static_cast<int64>(size), total_size_ - position);
H A Dipc_data_source.h60 const int64 total_size_; member in class:metadata::IPCDataSource
/external/chromium_org/net/base/
H A Dupload_data_stream.h77 uint64 size() const { return total_size_; }
133 // |total_size_| is set to zero when the data is chunked.
134 uint64 total_size_; member in class:net::UploadDataStream
H A Dupload_data_stream.cc20 total_size_(0),
32 total_size_(0),
69 return current_position_ == total_size_;
99 // Initialize a reader for the newly appended chunk. We leave |total_size_| at
121 total_size_ = 0;
152 total_size_ = total_size;
222 DCHECK(is_chunked_ || total_size_ >= current_position_);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Ddiskcache.cc77 DiskCache::DiskCache() : max_cache_(0), total_size_(0), total_accessors_(0) {
90 ASSERT(0 == total_size_);
120 if ((total_size_ > max_cache_) && !CheckLimit()) {
149 total_size_ -= previous_size;
224 total_size_ -= entry->size;
236 ASSERT(cache_size == total_size_);
241 while (total_size_ > max_cache_) {
352 this2->total_size_ += new_size;
H A Ddiskcache_win32.cc64 total_size_ += find_data.nFileSizeLow;
H A Ddiskcache.h104 size_t max_cache_, total_size_; member in class:talk_base::DiskCache
/external/chromium_org/third_party/webrtc/base/
H A Ddiskcache.cc60 DiskCache::DiskCache() : max_cache_(0), total_size_(0), total_accessors_(0) {
73 ASSERT(0 == total_size_);
103 if ((total_size_ > max_cache_) && !CheckLimit()) {
132 total_size_ -= previous_size;
207 total_size_ -= entry->size;
219 ASSERT(cache_size == total_size_);
224 while (total_size_ > max_cache_) {
335 this2->total_size_ += new_size;
H A Ddiskcache_win32.cc47 total_size_ += find_data.nFileSizeLow;
H A Ddiskcache.h87 size_t max_cache_, total_size_; member in class:rtc::DiskCache
/external/chromium_org/v8/src/
H A Dallocation-tracker.h27 unsigned allocation_size() const { return total_size_; }
37 unsigned total_size_; member in class:v8::internal::AllocationTraceNode
H A Dallocation-tracker.cc19 total_size_(0),
52 total_size_ += size;
58 OS::Print("%10u %10u %*c", total_size_, allocation_count_, indent, ' ');
H A Dhydrogen.h2751 total_size_(0),
2777 unsigned total_size_; member in class:v8::internal::V8_FINAL
/external/chromium_org/webkit/browser/blob/
H A Dblob_url_request_job.cc59 total_size_(0),
176 if (item_length > kint64max - total_size_) {
184 total_size_ += item_length;
190 total_size_ = 0;
221 if (!byte_range_.ComputeBounds(total_size_)) {
523 content_range_header.append(base::StringPrintf("%" PRId64, total_size_));
H A Dblob_url_request_job.h104 int64 total_size_; member in class:webkit_blob::BlobURLRequestJob
/external/chromium_org/webkit/browser/database/
H A Ddatabase_tracker.h61 int64 TotalSize() const { return total_size_; }
74 int64 total_size_; member in class:webkit_database::OriginInfo
207 total_size_ += new_size - old_size;
H A Ddatabase_tracker.cc47 : total_size_(0) {}
51 total_size_(origin_info.total_size_),
80 : origin_identifier_(origin_identifier), total_size_(total_size) {}
/external/chromium_org/ui/gfx/
H A Drender_text_win.cc384 *size = total_size_;
450 line->preceding_heights = total_size_.height();
451 total_size_.set_height(total_size_.height() + line->size.height());
452 total_size_.set_width(std::max(total_size_.width(), line->size.width()));
507 Size total_size_; member in class:gfx::internal::LineBreaker
/external/chromium_org/content/browser/
H A Ddatabase_quota_client_unittest.cc114 total_size_ += size;

Completed in 722 milliseconds

12