Lines Matching refs:dsc
1067 foreach($opcodes as $num => $dsc) {
1071 $diff = array_diff_key(array_flip($op_types), isset($dsc["op1"]) ? $dsc["op1"] : array());
1072 …diff["ANY"]) : count($diff) != count($op_types)) || isset($dsc["op1"]["TMPVAR"]) || isset($dsc["op…
1076 $diff = array_diff_key(array_flip($op_types), isset($dsc["op2"]) ? $dsc["op2"] : array());
1077 …diff["ANY"]) : count($diff) != count($op_types)) || isset($dsc["op2"]["TMPVAR"]) || isset($dsc["op…
1081 $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1091 $foreach_op1 = function($do) use ($dsc, $op_types) {
1092 return function() use ($do, $dsc, $op_types) {
1096 if (!isset($dsc["op1"][$op1])) {
1098 if (isset($dsc["op1"]["TMPVAR"])) {
1100 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1105 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1117 $foreach_op2 = function($do) use ($dsc, $op_types) {
1118 return function($op1) use ($do, $dsc, $op_types) {
1122 if (!isset($dsc["op2"][$op2])) {
1124 if (isset($dsc["op2"]["TMPVAR"])) {
1126 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1131 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1143 $foreach_op_data = function($do) use ($dsc, $op_types) {
1144 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1148 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1150 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1152 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1158 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
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) {
1177 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1182 if (isset($dsc["op1"][$op1]) &&
1183 isset($dsc["op2"][$op2]) &&
1184 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1208 $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1253 foreach($opcodes as $num => $dsc) {
1276 if ($dsc["code"]) {
1280 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1286 out($f,$prolog."(void*)&&".$dsc["op"]."_HANDLER,\n");
1404 function extra_spec_handler($dsc) { argument
1407 if (!isset($dsc["spec"])) {
1410 $specs = $dsc["spec"];
1416 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1454 foreach ($list as $lineno => $dsc) {
1455 if (isset($dsc["handler"])) {
1456 $num = $dsc["handler"];
1465 } else if (isset($dsc["helper"])) {
1466 $num = $dsc["helper"];
1474 var_dump($dsc);
1484 foreach ($list as $lineno => $dsc) {
1485 if (isset($dsc["handler"])) {
1486 $num = $dsc["handler"];
1491 } else if (isset($dsc["helper"])) {
1492 $num = $dsc["helper"];
1496 var_dump($dsc);
2144 foreach ($opcodes as $dsc) {
2145 if (preg_match("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $m)) {
2180 foreach ($opcodes as $code => $dsc) {
2182 $op = str_pad($dsc["op"],$max_opcode_len);
2357 foreach($opcodes as $code => $dsc) {
2358 if (isset($dsc['type_spec'])) {
2359 $orig_op = $dsc['op'];
2362 foreach($dsc['type_spec'] as $code => $condition) {