Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc107 int closest_limit = std::min(current_limit_, total_bytes_limit_); in RecomputeBufferLimits()
122 Limit old_limit = current_limit_; in PushLimit()
129 byte_limit < current_limit_ - current_position)) { in PushLimit()
130 current_limit_ = current_position + byte_limit; in PushLimit()
140 current_limit_ = limit; in PopLimit()
173 if (current_limit_ == INT_MAX) return -1; in BytesUntilLimit()
176 return current_limit_ - current_position; in BytesUntilLimit()
214 int closest_limit = std::min(current_limit_, total_bytes_limit_); in SkipFallback()
282 int closest_limit = std::min(current_limit_, total_bytes_limit_); in ReadStringFallback()
516 legitimate_message_end_ = current_limit_ == total_bytes_limit_; in ReadTagSlow()
[all …]
Dcoded_stream.h560 Limit current_limit_; // if position = -1, no limit is applied variable
1480 (total_bytes_read_ == current_limit_))) { in ExpectAtEnd()
1541 current_limit_(kint32max), in CodedInputStream()
1561 current_limit_(size), in CodedInputStream()