Home
last modified time | relevance | path

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

/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/grpc-grpc/include/grpcpp/impl/codegen/
Dproto_buffer_writer.h62 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/
Dringbuffer.h37 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/protobuf/src/google/protobuf/
Drepeated_field.h244 int total_size_; variable
521 int total_size_;
979 total_size_(0),
986 total_size_(0),
1000 total_size_(0),
1009 total_size_(0),
1028 InternalDeallocate(rep_, total_size_);
1051 return total_size_;
1056 GOOGLE_DCHECK_LT(current_size_, total_size_);
1062 GOOGLE_DCHECK_LT(current_size_, total_size_);
[all …]
Drepeated_field.cc48 if (total_size_ >= new_size) { in InternalExtend()
56 std::max(total_size_ * 2, new_size)); in InternalExtend()
69 total_size_ = new_size; in InternalExtend()
/external/tensorflow/tensorflow/lite/toco/
Dallocate_transient_arrays.cc105 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::__anonbfe735000111::Allocator
/external/v8/src/profiler/
Dallocation-tracker.h36 unsigned allocation_size() const { return total_size_; } in allocation_size()
48 unsigned total_size_; variable
Dallocation-tracker.cc19 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/
Dstreaming-decoder.cc40 total_size_ += bytes.size(); in OnBytesReceived()
67 OwnedVector<uint8_t> bytes = OwnedVector<uint8_t>::New(total_size_); in Finish()
77 DCHECK_LE(cursor - bytes.start() + buffer->length(), total_size_); in Finish()
Dstreaming-decoder.h261 size_t total_size_ = 0; variable