Home
last modified time | relevance | path

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

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedInputStream.php48 private $total_bytes_limit; variable
67 $this->total_bytes_limit = self::DEFAULT_TOTAL_BYTES_LIMIT; variable
96 $closest_limit = min($this->current_limit, $this->total_bytes_limit);
270 // total_bytes_limit, which, unlike normal limits, is not a valid
274 if ($current_position >= $this->total_bytes_limit) {
278 ($this->current_limit === $this->total_bytes_limit);
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h392 void SetTotalBytesLimit(int total_bytes_limit);
397 void SetTotalBytesLimit(int total_bytes_limit, int) { in SetTotalBytesLimit() argument
398 SetTotalBytesLimit(total_bytes_limit); in SetTotalBytesLimit()
H A Dcoded_stream.cc179 void CodedInputStream::SetTotalBytesLimit(int total_bytes_limit) { in SetTotalBytesLimit() argument
183 total_bytes_limit_ = std::max(current_position, total_bytes_limit); in SetTotalBytesLimit()

Completed in 6 milliseconds