Lines Matching refs:dsc

1206         foreach ($opcodes as $num => $dsc) {
1207 if (isset($dsc['alias'])) {
1208 $specs[$num] = $specs[$opnames[$dsc['alias']]];
1215 if (isset($dsc["op1"]) && !isset($dsc["op1"]["ANY"])) {
1218 if (isset($dsc["op1"][$t])) {
1229 if (isset($dsc["op2"]) && !isset($dsc["op2"]["ANY"])) {
1232 if (isset($dsc["op2"][$t])) {
1243 … $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1253 $foreach_op1 = function($do) use ($dsc, $op_types) {
1254 return function($_, $op2) use ($do, $dsc, $op_types) {
1258 if (!isset($dsc["op1"][$op1])) {
1260 if (isset($dsc["op1"]["TMPVAR"])) {
1262 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1267 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1279 $foreach_op2 = function($do) use ($dsc, $op_types) {
1280 return function($op1, $_) use ($do, $dsc, $op_types) {
1284 if (!isset($dsc["op2"][$op2])) {
1286 if (isset($dsc["op2"]["TMPVAR"])) {
1288 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1293 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1305 $foreach_op_data = function($do) use ($dsc, $op_types) {
1306 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1310 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1312 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1314 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1320 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
1332 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1333 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1334 foreach ($dsc["spec"][$spec] as $val) {
1339 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1344 if (isset($dsc["op1"][$op1]) &&
1345 isset($dsc["op2"][$op2]) &&
1346 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1356 if ($dsc["hot"] === 'HOT_NOCONSTCONST_'
1357 || $dsc["hot"] === 'COLD_CONSTCONST_') {
1383 … $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1428 foreach ($opcodes as $num => $dsc) {
1450 if (isset($dsc['alias']) && $kind != ZEND_VM_KIND_SWITCH) {
1454 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1457 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1460 $list[] = $dsc["op"];
1461 } else if ($dsc["code"]) { //ugly trick for ZEND_VM_DEFINE_OP
1465 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1471 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1474 $list[] = $dsc["op"];
1615 function extra_spec_handler($dsc) { argument
1618 if (!isset($dsc["spec"])) {
1621 $specs = $dsc["spec"];
1627 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1681 foreach ($list as $lineno => $dsc) {
1682 if (isset($dsc["handler"])) {
1683 $num = $dsc["handler"];
1692 } else if (isset($dsc["helper"])) {
1693 $num = $dsc["helper"];
1703 var_dump($dsc);
1713 foreach ($list as $lineno => $dsc) {
1714 if (isset($dsc["handler"])) {
1715 $num = $dsc["handler"];
1720 } else if (isset($dsc["helper"])) {
1721 $num = $dsc["helper"];
1725 var_dump($dsc);
2359 foreach ($opcodes as $code => $dsc) {
2361 $op = str_pad($dsc["op"], $max_opcode_len);
2590 foreach ($opcodes as $dsc) {
2591 …if (preg_match("/^\s*{\s*ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)\s*;\s*}\s*/", $dsc["code"]…
2596 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2601 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
2846 foreach ($opcodes as $code => $dsc) {
2847 if (isset($dsc['type_spec'])) {
2848 $orig_op = $dsc['op'];
2850 if (isset($dsc["spec"]["COMMUTATIVE"])) {
2856 foreach ($dsc['type_spec'] as $code => $condition) {
2871 … if (isset($spec_dsc["spec"]["COMMUTATIVE"]) && !isset($dsc["spec"]["COMMUTATIVE"])) {
2884 foreach ($opcodes as $code => $dsc) {
2885 if (!isset($dsc['is_type_spec']) &&
2886 !isset($dsc['type_spec']) &&
2887 isset($dsc["spec"]["COMMUTATIVE"])) {
2888 $orig_op = $dsc['op'];