Home
last modified time | relevance | path

Searched refs:limit_ (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl.cc417 : input_(input), limit_(limit) { in LimitingInputStream()
423 if (limit_ < 0) input_->BackUp(-limit_); in ~LimitingInputStream()
427 if (limit_ <= 0) return false; in Next()
430 limit_ -= *size; in Next()
431 if (limit_ < 0) { in Next()
433 *size += limit_; in Next()
439 if (limit_ < 0) { in BackUp()
440 input_->BackUp(count - limit_); in BackUp()
441 limit_ = count; in BackUp()
444 limit_ += count; in BackUp()
[all …]
Dzero_copy_stream_impl.h346 int64 limit_; // Decreases as we go, becomes negative if we overshoot. variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dbytestream.cc161 limit_(limit) { in LimitByteSource()
166 if (available > limit_) { in Available()
167 available = limit_; in Available()
175 if (piece.size() > limit_) { in Peek()
176 piece.set(piece.data(), limit_); in Peek()
183 GOOGLE_DCHECK_LE(n, limit_); in Skip()
185 limit_ -= n; in Skip()
189 GOOGLE_DCHECK_LE(n, limit_); in CopyTo()
191 limit_ -= n; in CopyTo()
Dbytestream.h341 size_t limit_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp2806 comments_(0), start_(other.start_), limit_(other.limit_) in Value()
2898 std::swap(limit_, other.limit_); in swap()
3302 limit_ = 0; in clear()
3379 limit_ = 0; in initBasic()
3751 void Value::setOffsetLimit(size_t limit) { limit_ = limit; } in setOffsetLimit()
3755 size_t Value::getOffsetLimit() const { return limit_; } in getOffsetLimit()
Djson.h987 size_t limit_; variable