Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.cc52 if (total_size_ >= new_size) { in InternalExtend()
60 std::max(total_size_ * 2, new_size)); in InternalExtend()
71 const int old_total_size = total_size_; in InternalExtend()
73 total_size_ = new_size; in InternalExtend()
112 if (!rep_ || rep_->allocated_size == total_size_) { in AddWeak()
113 Reserve(total_size_ + 1); in AddWeak()
H A Drepeated_field.h312 return (total_size_ == 0) ? static_cast<Arena*>(arena_or_elements_) in GetArena()
334 int total_size_; member in google::protobuf::final
345 // If total_size_ == 0 this points to an Arena otherwise it points to the
353 GOOGLE_DCHECK_GT(total_size_, 0); in elements()
447 capacity_ = repeated_field_->total_size_; in FastAdderImpl()
456 capacity_ = repeated_field_->total_size_; in Add()
741 int total_size_; member in google::protobuf::internal::RepeatedPtrFieldBase
1186 : current_size_(0), total_size_(0), arena_or_elements_(nullptr) {} in RepeatedField()
1190 : current_size_(0), total_size_(0), arena_or_elements_(arena) {} in RepeatedField()
1194 : current_size_(0), total_size_( in RepeatedField()
1212 InternalDeallocate(rep(), total_size_); ~RepeatedField() local
[all...]
/third_party/node/deps/brotli/c/enc/
H A 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()
144 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
/third_party/skia/third_party/externals/brotli/c/enc/
H A 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()
144 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
/third_party/node/deps/v8/src/profiler/
H A Dallocation-tracker.h40 unsigned allocation_size() const { return total_size_; } in allocation_size()
52 unsigned total_size_; member in v8::internal::AllocationTraceNode
H A 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()
/third_party/node/deps/v8/src/wasm/
H A Dstreaming-decoder.cc221 size_t total_size_ = 0; member in v8::internal::wasm::AsyncStreamingDecoder
247 total_size_ += bytes.size(); in OnBytesReceived()
292 base::OwnedVector<uint8_t>::NewForOverwrite(total_size_); in Finish()
302 DCHECK_LE(cursor - bytes.start() + buffer->length(), total_size_); in Finish()

Completed in 9 milliseconds