Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc81 GOOGLE_LOG(WARNING) << "The total number of bytes read was " << total_bytes_read_; in ~CodedInputStream()
99 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; in BackUpInputToCurrentPosition()
109 if (closest_limit < total_bytes_read_) { in RecomputeBufferLimits()
112 buffer_size_after_limit_ = total_bytes_read_ - closest_limit; in RecomputeBufferLimits()
237 int bytes_until_limit = closest_limit - total_bytes_read_; in Skip()
241 total_bytes_read_ = closest_limit; in Skip()
247 total_bytes_read_ += count; in Skip()
418 int current_position = total_bytes_read_ - buffer_size_after_limit_; in ReadTagSlow()
461 (total_bytes_read_ == current_limit_)) && in ReadTagFallback()
465 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) { in ReadTagFallback()
[all …]
Dcoded_stream.h515 int total_bytes_read_; // total bytes read from input_, including variable
1049 (total_bytes_read_ == current_limit_))) { in ExpectAtEnd()
1059 return total_bytes_read_ - (BufferSize() + buffer_size_after_limit_); in CurrentPosition()
1243 total_bytes_read_(0), in CodedInputStream()
1264 total_bytes_read_(size), in CodedInputStream()