Lines Matching refs:m
794 if (preg_match("/(.*)[{][%]([A-Z_]*)[%][}](.*)/", $line, $m)) {
795 switch ($m[2]) {
838 out($f, $m[1].$executor_name.$m[3]."\n");
843 out($f,$m[1]."opcode_handler_t dispatch_handler;\n");
847 out($f,$m[1].$param.";\n");
850 skip_blanks($f, $m[1], $m[3]."\n");
855 out($f, $m[1] . "zend_bool original_in_execution = EG(in_execution);\n");
857 out($f, $m[1] . "zend_bool original_in_execution = op_array? EG(in_execution) : 0;\n");
864 $prolog = $m[1];
873 skip_blanks($f, $m[1], $m[3]);
879 out($f,$m[1]."\tint ret;".$m[3]."\n");
882 out($f,"zend_vm_continue:".$m[3]."\n");
884 skip_blanks($f, $m[1], $m[3]);
891 out($f, $m[1]."if ((ret = EX(opline)->handler(execute_data TSRMLS_CC)) > 0)".$m[3]."\n");
894 …out($f, $m[1]."dispatch_handler = EX(opline)->handler;\nzend_vm_dispatch:\n".$m[1]."switch ((int)d…
897 out($f, $m[1]."goto *(void**)(EX(opline)->handler);".$m[3]."\n");
904 out($f, $m[1]."switch (ret) {\n" .
905 $m[1]."\tcase 1:\n" .
906 $m[1]."\t\tEG(in_execution) = original_in_execution;\n".
907 $m[1]."\t\treturn;\n".
908 $m[1]."\tcase 2:\n" .
909 $m[1]."\t\top_array = EG(active_op_array);\n".
910 $m[1]."\t\tgoto zend_vm_enter;\n".
911 $m[1]."\tcase 3:\n" .
912 $m[1]."\t\texecute_data = EG(current_execute_data);\n".
913 $m[1]."\tdefault:\n".
914 $m[1]."\t\tbreak;\n".
915 $m[1]."}".$m[3]."\n");
918 gen_executor_code($f, $spec, $kind, $m[1]);
927 gen_executor_code($f, $spec, $kind, $m[1]);
932 out($f, $m[1].$initializer_name.$m[3]."\n");
936 $prolog = $m[1];
960 die("ERROR: Unknown keyword ".$m[2]." in skeleton file.\n");
1003 $m) == 0) {
1006 $code = (int)$m[1];
1007 $op = $m[2];
1009 $op1 = array_flip(explode("|",$m[3]));
1010 $op2 = array_flip(explode("|",$m[4]));
1034 $m) == 0) {
1037 $helper = $m[1];
1038 $op1 = array_flip(explode("|",$m[2]));
1039 $op2 = array_flip(explode("|",$m[3]));
1051 $m) == 0) {
1054 $helper = $m[1];
1055 $op1 = array_flip(explode("|",$m[2]));
1056 $op2 = array_flip(explode("|",$m[3]));
1057 $param = $m[4];
1072 $m) == 0) {
1075 if (!isset($opnames[$m[2]])) {
1076 die("ERROR ($def:$lineno): opcode '{$m[2]}' is not defined.\n");
1078 $export[] = array("handler",$m[1],$m[2]);
1083 $m) == 0) {
1086 if (!isset($helpers[$m[2]])) {
1087 die("ERROR ($def:$lineno): helper '{$m[2]}' is not defined.\n");
1089 $export[] = array("helper",$m[1],$m[2]);
1103 if (preg_match("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $m)) {
1104 $op = $m[1];