Lines Matching refs:def

1526 	foreach ($specs as $num => $def) {
1531 out($f, "$prolog$def,\n");
2217 function parse_operand_spec($def, $lineno, $str, &$flags) { argument
2226 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2231 die("ERROR ($def:$lineno): Wrong operand type '$str'\n");
2238 function parse_ext_spec($def, $lineno, $str) { argument
2247 die("ERROR ($def:$lineno): Wrong extended_value type '$str'\n");
2253 function parse_spec_rules($def, $lineno, $str) { argument
2265 $ret["OP_DATA"] = parse_operand_spec($def, $lineno, $val, $devnull);
2268 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2295 die("ERROR ($def:$lineno): Wrong specialization rules '$str'\n");
2303 function gen_vm($def, $skel) { argument
2309 $in = @file($def);
2311 die("ERROR: Can not open definition file '$def'\n");
2314 $definition_file = realpath($def);
2347 die("ERROR ($def:$lineno): Invalid ZEND_VM_HANDLER definition.\n");
2353 $op1 = parse_operand_spec($def, $lineno, $m[4], $flags1);
2354 $op2 = parse_operand_spec($def, $lineno, $m[5], $flags2);
2357 $flags |= parse_ext_spec($def, $lineno, $m[7]);
2367 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2370 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2374 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[9]);
2396 die("ERROR ($def:$lineno): Invalid ZEND_VM_TYPE_HANDLER_HANDLER definition.\n");
2401 die("ERROR ($def:$lineno): Opcode with name '$orig_op' is not defined.\n");
2407 $op1 = parse_operand_spec($def, $lineno, $m[5], $flags1);
2408 $op2 = parse_operand_spec($def, $lineno, $m[6], $flags2);
2411 $flags |= parse_ext_spec($def, $lineno, $m[8]);
2415 die("ERROR ($def:$lineno): Opcode with name '$code' is already defined.\n");
2421 $opcodes[$code]["spec"] = parse_spec_rules($def, $lineno, $m[10]);
2442 die("ERROR ($def:$lineno): Invalid ZEND_VM_HELPER definition.\n");
2448 $op1 = parse_operand_spec($def, $lineno, $m[3], $flags1);
2449 $op2 = parse_operand_spec($def, $lineno, $m[4], $flags2);
2452 die("ERROR ($def:$lineno): Helper with name '$helper' is already defined.\n");
2466 $helpers[$helper]["spec"] = parse_spec_rules($def, $lineno, $m[5]);
2476 die("ERROR ($def:$lineno): Invalid ZEND_VM_EXPORT_HANDLER definition.\n");
2479 die("ERROR ($def:$lineno): opcode '{$m[2]}' is not defined.\n");
2487 die("ERROR ($def:$lineno): Invalid ZEND_VM_EXPORT_HELPER definition.\n");
2490 die("ERROR ($def:$lineno): helper '{$m[2]}' is not defined.\n");
2498 die("ERROR ($def:$lineno): Invalid ZEND_VM_DEFINE_OP definition.\n");
2511 die("ERROR ($def:$lineno): Opcode with code '$code' is already defined.\n");
2514 die("ERROR ($def:$lineno): Opcode with name '$op' is already defined.\n");
2535 die("ERROR ($def:$lineno): Opcode with name '$op' is not defined.\n");