Lines Matching refs:dsc

1208         foreach ($opcodes as $num => $dsc) {
1209 if (isset($dsc['alias'])) {
1210 $specs[$num] = $specs[$opnames[$dsc['alias']]];
1217 if (isset($dsc["op1"]) && !isset($dsc["op1"]["ANY"])) {
1220 if (isset($dsc["op1"][$t])) {
1231 if (isset($dsc["op2"]) && !isset($dsc["op2"]["ANY"])) {
1234 if (isset($dsc["op2"][$t])) {
1245 … $spec_extra = call_user_func_array("array_merge", extra_spec_handler($dsc) ?: array(array()));
1255 $foreach_op1 = function($do) use ($dsc, $op_types) {
1256 return function($_, $op2) use ($do, $dsc, $op_types) {
1260 if (!isset($dsc["op1"][$op1])) {
1262 if (isset($dsc["op1"]["TMPVAR"])) {
1264 } else if (isset($dsc["op1"]["TMPVARCV"])) {
1269 } else if ($op1 == "CV" && isset($dsc["op1"]["TMPVARCV"])) {
1281 $foreach_op2 = function($do) use ($dsc, $op_types) {
1282 return function($op1, $_) use ($do, $dsc, $op_types) {
1286 if (!isset($dsc["op2"][$op2])) {
1288 if (isset($dsc["op2"]["TMPVAR"])) {
1290 } else if (isset($dsc["op2"]["TMPVARCV"])) {
1295 } else if ($op2 == "CV" && isset($dsc["op2"]["TMPVARCV"])) {
1307 $foreach_op_data = function($do) use ($dsc, $op_types) {
1308 return function($op1, $op2, $extra_spec = array()) use ($do, $dsc, $op_types) {
1312 if (!isset($dsc["spec"]["OP_DATA"][$op_data])) {
1314 if (isset($dsc["spec"]["OP_DATA"]["TMPVAR"])) {
1316 } else if (isset($dsc["spec"]["OP_DATA"]["TMPVARCV"])) {
1322 } else if ($op_data == "CV" && isset($dsc["OP_DATA"]["TMPVARCV"])) {
1334 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1335 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1336 foreach ($dsc["spec"][$spec] as $val) {
1341 …$generate = function ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $…
1346 if (isset($dsc["op1"][$op1]) &&
1347 isset($dsc["op2"][$op2]) &&
1348 … (!isset($extra_spec["OP_DATA"]) || isset($dsc["spec"]["OP_DATA"][$extra_spec["OP_DATA"]]))) {
1358 if ($dsc["hot"] === 'HOT_NOCONSTCONST_'
1359 || $dsc["hot"] === 'COLD_CONSTCONST_') {
1385 … $spec_name = $dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name($extra_spec);
1430 foreach ($opcodes as $num => $dsc) {
1452 if (isset($dsc['alias']) && $kind != ZEND_VM_KIND_SWITCH) {
1456 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1459 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1462 $list[] = $dsc["op"];
1463 } else if ($dsc["code"]) { //ugly trick for ZEND_VM_DEFINE_OP
1467 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1473 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1476 $list[] = $dsc["op"];
1617 function extra_spec_handler($dsc) { argument
1620 if (!isset($dsc["spec"])) {
1623 $specs = $dsc["spec"];
1629 if (isset($dsc["spec"]["OP_DATA"][$op_data])) {
1683 foreach ($list as $lineno => $dsc) {
1684 if (isset($dsc["handler"])) {
1685 $num = $dsc["handler"];
1694 } else if (isset($dsc["helper"])) {
1695 $num = $dsc["helper"];
1705 var_dump($dsc);
1715 foreach ($list as $lineno => $dsc) {
1716 if (isset($dsc["handler"])) {
1717 $num = $dsc["handler"];
1722 } else if (isset($dsc["helper"])) {
1723 $num = $dsc["helper"];
1727 var_dump($dsc);
2374 foreach ($opcodes as $code => $dsc) {
2376 $op = str_pad($dsc["op"], $max_opcode_len);
2632 foreach ($opcodes as $dsc) {
2633 …if (preg_match("/^\s*{\s*ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)\s*;\s*}\s*/", $dsc["code"]…
2638 $opcodes[$opnames[$dsc['op']]]['alias'] = $op;
2643 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
2888 foreach ($opcodes as $code => $dsc) {
2889 if (isset($dsc['type_spec'])) {
2890 $orig_op = $dsc['op'];
2892 if (isset($dsc["spec"]["COMMUTATIVE"])) {
2898 foreach ($dsc['type_spec'] as $code => $condition) {
2913 … if (isset($spec_dsc["spec"]["COMMUTATIVE"]) && !isset($dsc["spec"]["COMMUTATIVE"])) {
2926 foreach ($opcodes as $code => $dsc) {
2927 if (!isset($dsc['is_type_spec']) &&
2928 !isset($dsc['type_spec']) &&
2929 isset($dsc["spec"]["COMMUTATIVE"])) {
2930 $orig_op = $dsc['op'];