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.cc105 int closest_limit = min(current_limit_, total_bytes_limit_); in RecomputeBufferLimits()
120 Limit old_limit = current_limit_; in PushLimit()
126 current_limit_ = current_position + byte_limit; in PushLimit()
129 current_limit_ = INT_MAX; in PushLimit()
135 current_limit_ = min(current_limit_, old_limit); in PushLimit()
144 current_limit_ = limit; in PopLimit()
153 if (current_limit_ == INT_MAX) return -1; in BytesUntilLimit()
156 return current_limit_ - current_position; in BytesUntilLimit()
209 int closest_limit = min(current_limit_, total_bytes_limit_); in Skip()
259 int closest_limit = min(current_limit_, total_bytes_limit_); in ReadStringFallback()
[all …]
Dcoded_stream.h495 Limit current_limit_; // if position = -1, no limit is applied variable
986 (total_bytes_read_ == current_limit_))) { in ExpectAtEnd()
1174 current_limit_(kint32max), in CodedInputStream()
1195 current_limit_(size), in CodedInputStream()