Home
last modified time | relevance | path

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

/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/webrtc/webrtc/base/
Dbitbuffer.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()
212 if (byte_offset > byte_count_ || bit_offset > 7 || in Seek()
213 (byte_offset == byte_count_ && bit_offset > 0)) { in Seek()
Dbitbuffer.h82 size_t byte_count_; variable
/external/webrtc/talk/app/webrtc/
Ddatachannel.cc83 DataChannel::PacketQueue::PacketQueue() : byte_count_(0) {} in PacketQueue()
102 byte_count_ -= packets_.front()->size(); in Pop()
107 byte_count_ += packet->size(); in Push()
116 byte_count_ = 0; in Clear()
120 size_t other_byte_count = other->byte_count_; in Swap()
121 other->byte_count_ = byte_count_; in Swap()
122 byte_count_ = other_byte_count; in Swap()
Ddatachannel.h214 return byte_count_; in byte_count()
231 size_t byte_count_; variable
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc186 : segments_(segments), last_segment_(static_cast<char*>(NULL), 0), byte_count_(0) {} in SegmentedZeroCopyOutputStream()
196 byte_count_ += *length; in Next()
205 byte_count_ -= length; in BackUp()
208 virtual int64 ByteCount() const { return byte_count_; } in ByteCount()
213 int64 byte_count_; member in google::protobuf::util::__anonc7161e740111::SegmentedZeroCopyOutputStream
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
138 byte_count_ += zcontext_.total_out; in Next()
183 int64 ret = byte_count_ + zcontext_.total_out; in ByteCount()
Dgzip_stream.h101 int64 byte_count_; variable