Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc108 int closest_limit = std::min(current_limit_, total_bytes_limit_); in RecomputeBufferLimits()
191 total_bytes_limit_ = std::max(current_position, total_bytes_limit); in SetTotalBytesLimit()
202 if (total_bytes_limit_ == INT_MAX) return -1; in BytesUntilTotalBytesLimit()
203 return total_bytes_limit_ - CurrentPosition(); in BytesUntilTotalBytesLimit()
208 "big (more than " << total_bytes_limit_ in PrintTotalBytesLimitError()
236 int closest_limit = std::min(current_limit_, total_bytes_limit_); in Skip()
273 int closest_limit = std::min(current_limit_, total_bytes_limit_); in ReadStringFallback()
419 if (current_position >= total_bytes_limit_) { in ReadTagSlow()
422 legitimate_message_end_ = current_limit_ == total_bytes_limit_; in ReadTagSlow()
465 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) { in ReadTagFallback()
[all …]
Dcoded_stream.h547 int total_bytes_limit_; variable
1250 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()
1271 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()