Searched refs:total_bytes_limit_ (Results 1 - 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/io/
H A Dcoded_stream.cc79 int closest_limit = min(current_limit_, total_bytes_limit_);
141 total_bytes_limit_ = max(current_position, total_bytes_limit);
148 "big (more than " << total_bytes_limit_
176 int closest_limit = min(current_limit_, total_bytes_limit_);
346 // we hit total_bytes_limit_, which, unlike normal limits, is not a
349 if (current_position >= total_bytes_limit_) {
350 // Hit total_bytes_limit_. But if we also hit the normal limit,
352 legitimate_message_end_ = current_limit_ == total_bytes_limit_;
383 // Make sure that the limit we hit is not total_bytes_limit_, since
386 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) {
[all...]
H A Dcoded_stream.h471 int total_bytes_limit_; member in class:google::protobuf::io::CodedInputStream
493 // current_limit_ or total_bytes_limit_ changes.
496 // Writes an error message saying that we hit total_bytes_limit_.
1049 total_bytes_limit_(kDefaultTotalBytesLimit),
1070 total_bytes_limit_(kDefaultTotalBytesLimit),

Completed in 14 milliseconds