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.cc106 int closest_limit = std::min(current_limit_, total_bytes_limit_); in RecomputeBufferLimits()
182 total_bytes_limit_ = std::max(current_position, total_bytes_limit); in SetTotalBytesLimit()
187 if (total_bytes_limit_ == INT_MAX) return -1; in BytesUntilTotalBytesLimit()
188 return total_bytes_limit_ - CurrentPosition(); in BytesUntilTotalBytesLimit()
194 << total_bytes_limit_ in PrintTotalBytesLimitError()
212 int closest_limit = std::min(current_limit_, total_bytes_limit_); in SkipFallback()
253 int closest_limit = std::min(current_limit_, total_bytes_limit_); in ReadStringFallback()
484 if (current_position >= total_bytes_limit_) { in ReadTagSlow()
487 legitimate_message_end_ = current_limit_ == total_bytes_limit_; in ReadTagSlow()
530 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) { in ReadTagFallback()
[all …]
Dcoded_stream.h574 int total_bytes_limit_; variable
1354 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()
1374 total_bytes_limit_(kDefaultTotalBytesLimit), in CodedInputStream()