Home
last modified time | relevance | path

Searched refs:byte_count_ (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/pc/
Ddata_channel_utils.cc21 byte_count_ -= packets_.front()->size(); in PopFront()
28 byte_count_ += packet->size(); in PushFront()
33 byte_count_ += packet->size(); in PushBack()
39 byte_count_ = 0; in Clear()
43 size_t other_byte_count = other->byte_count_; in Swap()
44 other->byte_count_ = byte_count_; in Swap()
45 byte_count_ = other_byte_count; in Swap()
Ddata_channel_utils.h28 size_t byte_count() const { return byte_count_; } in byte_count()
43 size_t byte_count_ = 0; variable
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dproto_buffer_writer.h63 byte_count_(0), in ProtoBufferWriter()
83 GPR_CODEGEN_ASSERT(byte_count_ < total_size_); in Next()
89 size_t remain = total_size_ - byte_count_; in Next()
110 byte_count_ += * size = (int)GRPC_SLICE_LENGTH(slice_); in Next()
137 byte_count_ -= count; in BackUp()
141 grpc::protobuf::int64 ByteCount() const override { return byte_count_; } in ByteCount()
149 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
156 int64_t byte_count_; ///< bytes written since this object was created variable
Dproto_buffer_reader.h51 : byte_count_(0), backup_count_(0), status_() { in ProtoBufferReader()
92 byte_count_ += * size = (int)GRPC_SLICE_LENGTH(slice_); in Next()
126 return byte_count_ - backup_count_; in ByteCount()
134 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
141 int64_t byte_count_; ///< total bytes read since object creation
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dproto_buffer_writer.h63 byte_count_(0), 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()
110 byte_count_ += * size = static_cast<int>(GRPC_SLICE_LENGTH(slice_)); in Next()
137 byte_count_ -= count; in BackUp()
141 int64_t ByteCount() const override { return byte_count_; } in ByteCount()
149 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
156 int64_t byte_count_; ///< bytes written since this object was created variable
Dproto_buffer_reader.h51 : byte_count_(0), backup_count_(0), status_() { in ProtoBufferReader()
91 byte_count_ += * size = static_cast<int>(GRPC_SLICE_LENGTH(*slice_)); in Next()
124 int64_t ByteCount() const override { return byte_count_ - backup_count_; } in ByteCount()
131 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
139 int64_t byte_count_; ///< total bytes read since object creation
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dproto_buffer_writer.h63 byte_count_(0), 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()
110 byte_count_ += * size = static_cast<int>(GRPC_SLICE_LENGTH(slice_)); in Next()
137 byte_count_ -= count; in BackUp()
141 int64_t ByteCount() const override { return byte_count_; } in ByteCount()
149 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
156 int64_t byte_count_; ///< bytes written since this object was created variable
Dproto_buffer_reader.h51 : byte_count_(0), backup_count_(0), status_() { in ProtoBufferReader()
91 byte_count_ += * size = static_cast<int>(GRPC_SLICE_LENGTH(*slice_)); in Next()
124 int64_t ByteCount() const override { return byte_count_ - backup_count_; } in ByteCount()
131 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count()
139 int64_t byte_count_; ///< total bytes read since object creation
/external/webrtc/rtc_base/
Dbit_buffer.cc77 : bytes_(bytes), byte_count_(byte_count), byte_offset_(), bit_offset_() { in BitBuffer()
78 RTC_DCHECK(static_cast<uint64_t>(byte_count_) <= in BitBuffer()
83 return (static_cast<uint64_t>(byte_count_) - byte_offset_) * 8 - bit_offset_; in RemainingBitCount()
245 if (byte_offset > byte_count_ || bit_offset > 7 || in Seek()
246 (byte_offset == byte_count_ && bit_offset > 0)) { in Seek()
Dbit_buffer.h94 size_t byte_count_; variable
/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc144 int64_t ByteCount() const override { return byte_count_; } in ByteCount()
187 byte_count_ += n; in Mix()
192 int64_t byte_count_ = 0; member in tensorflow::Hasher::HashingOutputStream
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
144 byte_count_ += zcontext_.total_out; in Next()
189 int64 ret = byte_count_ + zcontext_.total_out; in ByteCount()
Dgzip_stream.h98 int64 byte_count_; variable
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc500 byte_count_(0) {} in SegmentedZeroCopyOutputStream()
510 byte_count_ += *length; in Next()
519 byte_count_ -= length; in BackUp()
522 virtual int64 ByteCount() const { return byte_count_; } in ByteCount()
527 int64 byte_count_; member in google::protobuf::util::__anon6d877bab0111::SegmentedZeroCopyOutputStream