Home
last modified time | relevance | path

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

/external/webrtc/pc/
Ddata_channel_utils.cc25 byte_count_ -= packets_.front()->size(); in PopFront()
32 byte_count_ += packet->size(); in PushFront()
37 byte_count_ += packet->size(); in PushBack()
43 byte_count_ = 0; in Clear()
47 size_t other_byte_count = other->byte_count_; in Swap()
48 other->byte_count_ = byte_count_; in Swap()
49 byte_count_ = other_byte_count; in Swap()
Ddata_channel_utils.h30 size_t byte_count() const { return byte_count_; } in byte_count()
45 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.cc54 byte_count_(byte_count), in BitBufferWriter()
57 RTC_DCHECK(static_cast<uint64_t>(byte_count_) <= in BitBufferWriter()
62 return (static_cast<uint64_t>(byte_count_) - byte_offset_) * 8 - bit_offset_; in RemainingBitCount()
88 if (byte_offset > byte_count_ || bit_offset > 7 || in Seek()
89 (byte_offset == byte_count_ && bit_offset > 0)) { in Seek()
Dbit_buffer.h79 const size_t byte_count_; variable
/external/icing/icing/portable/
Dgzip_stream.cc31 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
123 byte_count_ += zcontext_.total_out; in Next()
168 int64_t ret = byte_count_ + zcontext_.total_out; in ByteCount()
Dgzip_stream.h78 int64_t byte_count_; variable
/external/cronet/third_party/protobuf/src/google/protobuf/io/
Dgzip_stream.cc52 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
145 byte_count_ += zcontext_.total_out; in Next()
190 int64_t ret = byte_count_ + zcontext_.total_out; in ByteCount()
Dgzip_stream.h101 int64_t byte_count_; variable
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc52 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
145 byte_count_ += zcontext_.total_out; in Next()
190 int64_t ret = byte_count_ + zcontext_.total_out; in ByteCount()
Dgzip_stream.h101 int64_t byte_count_; variable
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc524 byte_count_(0) {} in SegmentedZeroCopyOutputStream()
534 byte_count_ += *length; in Next()
543 byte_count_ -= length; in BackUp()
546 int64_t ByteCount() const override { return byte_count_; } in ByteCount()
551 int64_t byte_count_; member in google::protobuf::util::__anoned97fbb00111::SegmentedZeroCopyOutputStream
/external/cronet/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc520 byte_count_(0) {} in SegmentedZeroCopyOutputStream()
530 byte_count_ += *length; in Next()
539 byte_count_ -= length; in BackUp()
542 int64_t ByteCount() const override { return byte_count_; } in ByteCount()
547 int64_t byte_count_; member in google::protobuf::util::__anonb28433630111::SegmentedZeroCopyOutputStream
/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/cronet/net/disk_cache/blockfile/
Dbackend_impl.cc232 entry_count_ = byte_count_ = 0; in SyncInit()
1074 byte_count_ += bytes; in OnRead()
1075 if (byte_count_ < 0) in OnRead()
1076 byte_count_ = std::numeric_limits<int32_t>::max(); in OnRead()
1106 CACHE_UMA(COUNTS, "ByteIORate", 0, byte_count_ / 1024); in OnStatsTimer()
1109 user_load_ = (entry_count_ > 300 || byte_count_ > 7 * 1024 * 1024); in OnStatsTimer()
1111 byte_count_ = 0; in OnStatsTimer()
Dbackend_impl.h418 int byte_count_; // Number of bytes read/written lately. variable