Home
last modified time | relevance | path

Searched refs:current_limit_ (Results 1 – 2 of 2) 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()
123 Limit old_limit = current_limit_; in PushLimit()
129 current_limit_ = current_position + byte_limit; in PushLimit()
132 current_limit_ = INT_MAX; in PushLimit()
138 current_limit_ = std::min(current_limit_, old_limit); in PushLimit()
147 current_limit_ = limit; in PopLimit()
180 if (current_limit_ == INT_MAX) return -1; in BytesUntilLimit()
183 return current_limit_ - current_position; in BytesUntilLimit()
236 int closest_limit = std::min(current_limit_, total_bytes_limit_); in Skip()
273 int closest_limit = std::min(current_limit_, total_bytes_limit_); in ReadStringFallback()
[all …]
Dcoded_stream.h545 Limit current_limit_; // if position = -1, no limit is applied variable
1122 (total_bytes_read_ == current_limit_))) { in ExpectAtEnd()
1321 current_limit_(kint32max), in CodedInputStream()
1342 current_limit_(size), in CodedInputStream()