Home
last modified time | relevance | path

Searched refs:total_bytes_limit (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/php/src/Google/Protobuf/Internal/
DCodedInputStream.php48 private $total_bytes_limit; variable in Google\\Protobuf\\Internal\\CodedInputStream
67 $this->total_bytes_limit = self::DEFAULT_TOTAL_BYTES_LIMIT;
96 $closest_limit = min($this->current_limit, $this->total_bytes_limit);
274 if ($current_position >= $this->total_bytes_limit) {
278 ($this->current_limit === $this->total_bytes_limit);
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h393 void SetTotalBytesLimit(int total_bytes_limit);
398 void SetTotalBytesLimit(int total_bytes_limit, int) { in SetTotalBytesLimit() argument
399 SetTotalBytesLimit(total_bytes_limit); in SetTotalBytesLimit()
Dcoded_stream.cc178 void CodedInputStream::SetTotalBytesLimit(int total_bytes_limit) { in SetTotalBytesLimit() argument
182 total_bytes_limit_ = std::max(current_position, total_bytes_limit); in SetTotalBytesLimit()