Home
last modified time | relevance | path

Searched refs:closest_limit (Results 1 – 1 of 1) 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() local
109 if (closest_limit < total_bytes_read_) { in RecomputeBufferLimits()
112 buffer_size_after_limit_ = total_bytes_read_ - closest_limit; in RecomputeBufferLimits()
236 int closest_limit = std::min(current_limit_, total_bytes_limit_); in Skip() local
237 int bytes_until_limit = closest_limit - total_bytes_read_; in Skip()
241 total_bytes_read_ = closest_limit; in Skip()
273 int closest_limit = std::min(current_limit_, total_bytes_limit_); in ReadStringFallback() local
274 if (closest_limit != INT_MAX) { in ReadStringFallback()
275 int bytes_to_limit = closest_limit - CurrentPosition(); in ReadStringFallback()