Home
last modified time | relevance | path

Searched refs:current_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()
121 Limit old_limit = current_limit_; in PushLimit()
128 byte_limit < current_limit_ - current_position)) { in PushLimit()
129 current_limit_ = current_position + byte_limit; in PushLimit()
139 current_limit_ = limit; in PopLimit()
172 if (current_limit_ == INT_MAX) return -1; in BytesUntilLimit()
175 return current_limit_ - current_position; in BytesUntilLimit()
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()
487 legitimate_message_end_ = current_limit_ == total_bytes_limit_; in ReadTagSlow()
[all …]
Dcoded_stream.h561 Limit current_limit_; // if position = -1, no limit is applied variable
1130 (total_bytes_read_ == current_limit_))) { in ExpectAtEnd()
1352 current_limit_(kint32max), in CodedInputStream()
1372 current_limit_(size), in CodedInputStream()