/external/protobuf/src/google/protobuf/ |
D | repeated_field.cc | 46 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()
|
D | repeated_field.h | 203 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/ |
D | progress.h | 23 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
|
D | progress.cc | 5 Progress::Progress(int flags) : flags_(flags), trie_id_(0), total_size_(0) { in Progress()
|
/external/marisa-trie/lib/marisa/ |
D | progress.h | 23 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
|
D | progress.cc | 5 Progress::Progress(int flags) : flags_(flags), trie_id_(0), total_size_(0) { in Progress()
|
/external/webrtc/webrtc/base/ |
D | diskcache.cc | 62 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()
|
D | diskcache_win32.cc | 48 total_size_ += find_data.nFileSizeLow; in InitializeEntries()
|
D | diskcache.h | 87 size_t max_cache_, total_size_; variable
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser_unittest.cpp | 28 : 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/ |
D | allocation-tracker.h | 36 unsigned allocation_size() const { return total_size_; } in allocation_size() 46 unsigned total_size_; variable
|
D | allocation-tracker.cc | 18 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/ |
D | hydrogen.h | 2935 total_size_(0), in HStatistics() 2969 size_t total_size_; variable
|
D | hydrogen.cc | 13638 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()
|