Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
488 if (current_position >= total_bytes_limit_) { in ReadTagSlow()
491 legitimate_message_end_ = current_limit_ == total_bytes_limit_; in ReadTagSlow()
534 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) { in ReadTagFallback()
[all …]
Dcoded_stream.h558 int total_bytes_limit_; variable
1323 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()
1344 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()