Lines Matching refs:def
1556 foreach ($specs as $num => $def) {
1561 out($f, "$prolog$def,\n");
2265 function parse_operand_spec($def, $lineno, $str, &$flags) { argument
2274 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2279 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2286 function parse_ext_spec($def, $lineno, $str) { argument
2295 die("ERROR ($def:$lineno): Wrong extended_value type '$str'\n");
2301 function parse_spec_rules($def, $lineno, $str) { argument
2313 $ret["OP_DATA"] = parse_operand_spec($def, $lineno, $val, $devnull);
2316 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2343 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2351 function gen_vm($def, $skel) { argument
2357 $in = @file($def);
2359 die("ERROR: Can not open definition file '$def'\n");
2362 $definition_file = realpath($def);
2396 die("ERROR ($def:$lineno): Invalid ZEND_VM_HANDLER definition.\n");
2402 $op1 = parse_operand_spec($def, $lineno, $m[4], $flags1);
2403 $op2 = parse_operand_spec($def, $lineno, $m[5], $flags2);
2406 $flags |= parse_ext_spec($def, $lineno, $m[7]);
2416 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2419 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2423 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[9]);
2447 die("ERROR ($def:$lineno): Invalid ZEND_VM_TYPE_HANDLER_HANDLER definition.\n");
2454 die("ERROR ($def:$lineno): Opcode with name '$orig_op' is not defined.\n");
2461 $op1 = parse_operand_spec($def, $lineno, $m[5], $flags1);
2462 $op2 = parse_operand_spec($def, $lineno, $m[6], $flags2);
2465 $flags |= parse_ext_spec($def, $lineno, $m[8]);
2469 die("ERROR ($def:$lineno): Opcode with name '$code' is already defined.\n");
2474 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[10]);
2495 die("ERROR ($def:$lineno): Invalid ZEND_VM_HELPER definition.\n");
2501 $op1 = parse_operand_spec($def, $lineno, $m[3], $flags1);
2502 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2505 die("ERROR ($def:$lineno): Helper with name '$helper' is already defined.\n");
2523 $helpers[$helper]["spec"] = parse_spec_rules($def, $lineno, $m[5]);
2533 die("ERROR ($def:$lineno): Invalid ZEND_VM_DEFINE_OP definition.\n");
2546 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2549 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2569 die("ERROR ($def:$lineno): Opcode with name '$op' is not defined.\n");
2580 die("ERROR ($def:$lineno): Opcode with name '$op' is not defined.\n");