Home
last modified time | relevance | path

Searched refs:byte_limit (Results 1 - 4 of 4) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedInputStream.php323 * @param integer $byte_limit
326 public function pushLimit($byte_limit)
332 // security: byte_limit is possibly evil, so check for negative values
334 if ($byte_limit >= 0 &&
335 $byte_limit <= PHP_INT_MAX - $current_position &&
336 $byte_limit <= $this->current_limit - $current_position) {
337 $this->current_limit = $current_position + $byte_limit;
349 * @param integer $byte_limit
351 public function popLimit($byte_limit)
353 $this->current_limit = $byte_limit;
[all...]
/third_party/mesa3d/src/intel/tools/
H A Di965_asm.c73 int byte_limit; in print_instruction() local
75 byte_limit = (compact == true) ? 8 : 16; in print_instruction()
81 for (unsigned i = 1; i < byte_limit; i++) { in print_instruction()
89 for (unsigned i = 1; i < byte_limit / 4; i++) in print_instruction()
95 fwrite(instruction, 1, byte_limit, output); in print_instruction()
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.cc118 CodedInputStream::Limit CodedInputStream::PushLimit(int byte_limit) { in PushLimit() argument
124 // security: byte_limit is possibly evil, so check for negative values in PushLimit()
127 if (PROTOBUF_PREDICT_TRUE(byte_limit >= 0 && in PushLimit()
128 byte_limit <= INT_MAX - current_position && in PushLimit()
129 byte_limit < current_limit_ - current_position)) { in PushLimit()
130 current_limit_ = current_position + byte_limit; in PushLimit()
149 CodedInputStream::IncrementRecursionDepthAndPushLimit(int byte_limit) { in IncrementRecursionDepthAndPushLimit() argument
150 return std::make_pair(PushLimit(byte_limit), --recursion_budget_); in IncrementRecursionDepthAndPushLimit()
H A Dcoded_stream.h362 Limit PushLimit(int byte_limit);
429 // Shorthand for make_pair(PushLimit(byte_limit), --recursion_budget_).
435 int byte_limit);

Completed in 5 milliseconds