/external/protobuf/src/google/protobuf/ |
D | repeated_field.cc | 50 if (total_size_ >= new_size) { in InternalExtend() 58 std::max(total_size_ * 2, new_size)); in InternalExtend() 69 const int old_total_size = total_size_; in InternalExtend() 71 total_size_ = new_size; in InternalExtend() 110 if (!rep_ || rep_->allocated_size == total_size_) { in AddWeak() 111 Reserve(total_size_ + 1); in AddWeak()
|
D | repeated_field.h | 285 int total_size_; variable 304 GOOGLE_DCHECK_GT(total_size_, 0); in elements() 337 return (total_size_ == 0) ? static_cast<Arena*>(arena_or_elements_) in GetArenaNoVirtual() 609 int total_size_; 1069 : current_size_(0), total_size_(0), arena_or_elements_(nullptr) {} 1073 : current_size_(0), total_size_(0), arena_or_elements_(arena) {} 1077 : current_size_(0), total_size_(0), arena_or_elements_(nullptr) { 1088 : current_size_(0), total_size_(0), arena_or_elements_(nullptr) { 1094 if (total_size_ > 0) { 1095 InternalDeallocate(rep(), total_size_); [all …]
|
/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/grpc-grpc/include/grpcpp/impl/codegen/ |
D | proto_buffer_writer.h | 62 total_size_(total_size), in ProtoBufferWriter() 83 GPR_CODEGEN_ASSERT(byte_count_ < total_size_); in Next() 89 size_t remain = total_size_ - byte_count_; in Next() 155 const int total_size_; ///< byte size of proto being serialized variable
|
/external/brotli/c/enc/ |
D | ringbuffer.h | 37 const uint32_t total_size_; member 63 *(uint32_t*)&rb->total_size_ = rb->size_ + rb->tail_size_; in RingBufferSetup() 120 if (rb->cur_size_ < rb->total_size_) { in RingBufferWrite() 122 RingBufferInitBuffer(m, rb->total_size_, rb); in RingBufferWrite() 141 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | allocate_transient_arrays.cc | 105 Allocator() : total_size_(0) {} in Allocator() 135 total_size_ = std::max(total_size_, pos + size); in Allocate() 153 std::size_t total_size() const { return total_size_; } in total_size() 156 std::size_t total_size_; member in toco::__anon093bef820111::Allocator
|
/external/v8/src/profiler/ |
D | allocation-tracker.h | 36 unsigned allocation_size() const { return total_size_; } in allocation_size() 48 unsigned total_size_; variable
|
D | allocation-tracker.cc | 19 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/wasm/ |
D | streaming-decoder.cc | 218 size_t total_size_ = 0; member in v8::internal::wasm::AsyncStreamingDecoder 244 total_size_ += bytes.size(); in OnBytesReceived() 285 OwnedVector<uint8_t>::NewForOverwrite(total_size_); in Finish() 295 DCHECK_LE(cursor - bytes.start() + buffer->length(), total_size_); in Finish()
|