Searched refs:closest_limit (Results 1 – 1 of 1) sorted by relevance
108 int closest_limit = std::min(current_limit_, total_bytes_limit_); in RecomputeBufferLimits() local109 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() local237 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() local274 if (closest_limit != INT_MAX) { in ReadStringFallback()275 int bytes_to_limit = closest_limit - CurrentPosition(); in ReadStringFallback()