Lines Matching refs:spec

625 function helper_name($name, $spec, $op1, $op2) {  argument
640 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
643 function opcode_name($name, $spec, $op1, $op2) { argument
659 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
676 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
787 …"\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name(…
788 …"goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_…
830 function($matches) use ($spec, $prefix, $op1, $op2) {
834 …return "ZEND_VM_TAIL_CALL(" . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_…
840 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(" . $args. " ZEND_OP…
842 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_…
854 function($matches) use ($spec, $prefix, $op1, $op2) {
858 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
864 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2);
866 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
878 function($matches) use ($spec, $prefix, $op1, $op2) {
882 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER";
888 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2);
890 return "goto " . helper_name($matches[1], $spec, $op1, $op2);
898 …if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/me', $code, $matches, PREG_SET_ORDER))…
945 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $extra_spec = null,… argument
948 if ($spec &&
955 if ($spec &&
962 if ($spec &&
975 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
981 if ($spec) {
1001 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1005 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline) { argument
1024 …out($f, "static$zend_always_inline ZEND_OPCODE_HANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":""…
1027 …out($f, "static$zend_always_inline ZEND_OPCODE_HANDLER_RET$zend_fastcall ".$name.($spec?"_SPEC":""…
1031 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
1034 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
1039 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name);
1058 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1063 if ($spec) {
1170 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1171 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1172 foreach ($dsc["spec"][$spec] as $val) {
1173 $do($op1, $op2, array($spec => $val) + $extra_spec);
1321 function gen_specs($f, $spec, $kind, $prolog, $specs) { argument
1423 $spec = key($specs);
1433 $ret[] = array($spec => $mode) + $existing;
1442 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1445 if ($spec) {
1532 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1635 …out($f,"#define ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"…
1636 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1639 …out($f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(Z…
1668 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1669 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1704 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1705 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1747 gen_labels($f, $spec, $kind, $prolog."\t\t", $specs);
1750 gen_specs($f, $spec, $kind, $prolog."\t", $specs);
1816 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
1821 gen_executor_code($f, $spec, $kind, $m[1]);
1837 gen_labels($f, $spec, $kind, $prolog."\t", $specs, $switch_labels);
1840 gen_specs($f, $spec, $kind, $prolog."\t", $specs);