Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Drepeated_field.cc50 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()
Drepeated_field.h285 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/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/rust/crates/grpcio-sys/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 = static_cast<size_t>(total_size_ - byte_count_); in Next()
155 const int total_size_; ///< byte size of proto being serialized variable
/external/rust/crates/grpcio-sys/grpc/spm-cpp-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 = static_cast<size_t>(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()
144 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
/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::__anonea7660170111::Allocator
/external/llvm-project/compiler-rt/lib/asan/
Dasan_errors.h243 uptr user_size_, uptr total_size_, uptr max_size_) in ErrorAllocationSizeTooBig()
247 total_size(total_size_), in ErrorAllocationSizeTooBig()