Home
last modified time | relevance | path

Searched refs:stream_buffer_ (Results 1 – 2 of 2) sorted by relevance

/system/nvram/messages/
Dio.cpp243 : stream_buffer_(stream_buffer) {} in ProtoReader()
247 if (!DecodeVarint(stream_buffer_, &wire_tag)) { in ReadWireTag()
256 if (!DecodeVarint(stream_buffer_, &size)) { in ReadWireTag()
283 return DecodeVarint(stream_buffer_, value); in ReadVarint()
288 return stream_buffer_->Read(data, size); in ReadLengthDelimited()
294 return DecodeVarint(stream_buffer_, &dummy); in SkipField()
296 return stream_buffer_->Skip(field_size_); in SkipField()
303 : stream_buffer_(stream_buffer) {} in ProtoWriter()
307 EncodeVarint(stream_buffer_, value); in WriteVarint()
312 EncodeVarint(stream_buffer_, size) && in WriteLengthDelimited()
[all …]
/system/nvram/messages/include/nvram/messages/
Dio.h239 InputStreamBuffer* stream_buffer() { return stream_buffer_; } in stream_buffer()
251 bool Done() const { return stream_buffer_->Done(); } in Done()
273 InputStreamBuffer* stream_buffer_; variable
291 OutputStreamBuffer* stream_buffer() { return stream_buffer_; } in stream_buffer()
297 bool Done() const { return stream_buffer_->Done(); } in Done()
318 OutputStreamBuffer* stream_buffer_; variable