Home
last modified time | relevance | path

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

/external/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.h203 int total_size_; variable
345 int total_size_; variable
583 total_size_(kInitialSize) { in RepeatedField()
590 total_size_(kInitialSize) { in RepeatedField()
599 total_size_(kInitialSize) { in RepeatedField()
638 return total_size_; in Capacity()
686 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()
692 if (current_size_ == total_size_) Reserve(total_size_ + 1); in Add()
761 int swap_total_size = total_size_; in Swap()
765 total_size_ = other->total_size_; in Swap()
[all …]
/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/webrtc/webrtc/base/
Ddiskcache.cc62 DiskCache::DiskCache() : max_cache_(0), total_size_(0), total_accessors_(0) { in DiskCache()
75 ASSERT(0 == total_size_); in Initialize()
105 if ((total_size_ > max_cache_) && !CheckLimit()) { in LockResource()
134 total_size_ -= previous_size; in WriteResource()
209 total_size_ -= entry->size; in DeleteResource()
221 ASSERT(cache_size == total_size_); in CheckLimit()
226 while (total_size_ > max_cache_) { in CheckLimit()
337 this2->total_size_ += new_size; in ReleaseResource()
Ddiskcache_win32.cc48 total_size_ += find_data.nFileSizeLow; in InitializeEntries()
Ddiskcache.h87 size_t max_cache_, total_size_; variable
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser_unittest.cpp28 : buffer_(buffer_in), total_size_(buf_size) {} in CFX_TestBufferRead()
35 if (offset < 0 || offset + size > total_size_) { in ReadBlock()
42 FX_FILESIZE GetSize() override { return (FX_FILESIZE)total_size_; }; in GetSize()
46 size_t total_size_; member in CFX_TestBufferRead
/external/v8/src/profiler/
Dallocation-tracker.h36 unsigned allocation_size() const { return total_size_; } in allocation_size()
46 unsigned total_size_; variable
Dallocation-tracker.cc18 total_size_(0), in AllocationTraceNode()
51 total_size_ += size; in AddAllocation()
57 base::OS::Print("%10u %10u %*c", total_size_, allocation_count_, indent, ' '); in Print()
/external/v8/src/crankshaft/
Dhydrogen.h2935 total_size_(0), in HStatistics()
2969 size_t total_size_; variable
Dhydrogen.cc13638 double size_percent = static_cast<double>(size) * 100 / total_size_; in Print()
13656 total.InMillisecondsF(), total_size_); in Print()
13666 ? static_cast<double>(total_size_) / 1024 / source_size_in_kb in Print()
13675 total_size_ += size; in SaveTiming()