Lines Matching refs:def

1558     foreach ($specs as $num => $def) {
1563 out($f, "$prolog$def,\n");
2267 function parse_operand_spec($def, $lineno, $str, &$flags) { argument
2276 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2281 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2288 function parse_ext_spec($def, $lineno, $str) { argument
2297 die("ERROR ($def:$lineno): Wrong extended_value type '$str'\n");
2303 function parse_spec_rules($def, $lineno, $str) { argument
2315 $ret["OP_DATA"] = parse_operand_spec($def, $lineno, $val, $devnull);
2318 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2345 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2410 function gen_vm($def, $skel) { argument
2416 $in = @file($def);
2418 die("ERROR: Can not open definition file '$def'\n");
2421 $definition_file = realpath($def);
2455 die("ERROR ($def:$lineno): Invalid ZEND_VM_HANDLER definition.\n");
2461 $op1 = parse_operand_spec($def, $lineno, $m[4], $flags1);
2462 $op2 = parse_operand_spec($def, $lineno, $m[5], $flags2);
2465 $flags |= parse_ext_spec($def, $lineno, $m[7]);
2475 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2478 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2482 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[9]);
2506 die("ERROR ($def:$lineno): Invalid ZEND_VM_TYPE_HANDLER_HANDLER definition.\n");
2513 die("ERROR ($def:$lineno): Opcode with name '$orig_op' is not defined.\n");
2520 $op1 = parse_operand_spec($def, $lineno, $m[5], $flags1);
2521 $op2 = parse_operand_spec($def, $lineno, $m[6], $flags2);
2524 $flags |= parse_ext_spec($def, $lineno, $m[8]);
2528 die("ERROR ($def:$lineno): Opcode with name '$code' is already defined.\n");
2533 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[10]);
2554 die("ERROR ($def:$lineno): Invalid ZEND_VM_HELPER definition.\n");
2560 $op1 = parse_operand_spec($def, $lineno, $m[3], $flags1);
2561 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2564 die("ERROR ($def:$lineno): Helper with name '$helper' is already defined.\n");
2583 $helpers[$helper]["spec"] = parse_spec_rules($def, $lineno, $m[5]);
2593 die("ERROR ($def:$lineno): Invalid ZEND_VM_DEFINE_OP definition.\n");
2606 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2609 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2629 die("ERROR ($def:$lineno): Opcode with name '$op' is not defined.\n");
2640 die("ERROR ($def:$lineno): Opcode with name '$op' is not defined.\n");