Lines Matching refs:dsc
1101 foreach($opcodes as $num => $dsc) {
1105 $diff = array_diff_key(array_flip($op_types), isset($dsc["op1"]) ? $dsc["op1"] : array());
1106 …diff["ANY"]) : count($diff) != count($op_types)) || isset($dsc["op1"]["TMPVAR"]) || isset($dsc["op…
1110 $diff = array_diff_key(array_flip($op_types), isset($dsc["op2"]) ? $dsc["op2"] : array());
1111 …diff["ANY"]) : count($diff) != count($op_types)) || isset($dsc["op2"]["TMPVAR"]) || isset($dsc["op…
1115 $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1125 $foreach_op1 = function($do) use ($dsc, $op_types) {
1126 return function() use ($do, $dsc, $op_types) {
1130 if (!isset($dsc["op1"][$op1])) {
1132 if (isset($dsc["op1"]["TMPVAR"])) {
1134 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1139 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1151 $foreach_op2 = function($do) use ($dsc, $op_types) {
1152 return function($op1) use ($do, $dsc, $op_types) {
1156 if (!isset($dsc["op2"][$op2])) {
1158 if (isset($dsc["op2"]["TMPVAR"])) {
1160 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1165 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1177 $foreach_op_data = function($do) use ($dsc, $op_types) {
1178 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1182 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1184 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1186 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1192 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
1204 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1205 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1206 foreach ($dsc["spec"][$spec] as $val) {
1211 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1216 if (isset($dsc["op1"][$op1]) &&
1217 isset($dsc["op2"][$op2]) &&
1218 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1226 $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1271 foreach($opcodes as $num => $dsc) {
1294 if ($dsc["code"]) {
1298 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1304 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1422 function extra_spec_handler($dsc) { argument
1425 if (!isset($dsc["spec"])) {
1428 $specs = $dsc["spec"];
1434 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1472 foreach ($list as $lineno => $dsc) {
1473 if (isset($dsc["handler"])) {
1474 $num = $dsc["handler"];
1483 } else if (isset($dsc["helper"])) {
1484 $num = $dsc["helper"];
1494 var_dump($dsc);
1504 foreach ($list as $lineno => $dsc) {
1505 if (isset($dsc["handler"])) {
1506 $num = $dsc["handler"];
1511 } else if (isset($dsc["helper"])) {
1512 $num = $dsc["helper"];
1516 var_dump($dsc);
2249 foreach ($opcodes as $dsc) {
2250 if (preg_match("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $m)) {
2295 foreach ($opcodes as $code => $dsc) {
2297 $op = str_pad($dsc["op"],$max_opcode_len);
2539 foreach($opcodes as $code => $dsc) {
2540 if (isset($dsc['type_spec'])) {
2541 $orig_op = $dsc['op'];
2544 foreach($dsc['type_spec'] as $code => $condition) {