Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 49) sorted by relevance

12

/PHP-5.4/Zend/
H A Dzend_vm_opcodes.c186 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { in zend_get_opcode_name() argument
187 return zend_vm_opcodes_map[opcode]; in zend_get_opcode_name()
H A DREADME.ZEND_VM4 ZEND_VM architecture allows specializing opcode handlers according to op_type
13 find opcode handlers and helpers. The typical opcode handler template looks
21 <OPCODE-NUMBER> is a opcode number (0, 1, ...)
22 <OPCODE> is an opcode name (ZEN_NOP, ZEND_ADD, :)
28 same as in old zend_execute.c, but now it uses macros to access opcode operands
90 zend_vm_execute.h. The first file is a list of opcode definitions. It is
95 different opcode threading model using --with-vm-kind=CALL|SWITCH|GOTO. You can
96 disable opcode specialization using --without-specializer. You can include or
H A Dzend_compile.c577 opline->opcode = op; in zend_do_binary_op()
590 opline->opcode = op; in zend_do_unary_op()
619 last_op->opcode = op; in zend_do_binary_assign_op()
641 opline->opcode = op; in zend_do_binary_assign_op()
1185 opline->opcode = op; in zend_do_pre_incdec()
1212 opline->opcode = op; in zend_do_post_incdec()
1454 …while (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END || opline->opcod… in zend_do_free()
1862 opline->opcode = op; in zend_do_receive_arg()
2559 opline->opcode = op; in zend_do_pass_param()
3138 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) in zend_get_function_declaration()
[all …]
H A Dzend_vm.h25 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
H A Dzend_opcode.c458 if (opline->opcode == ZEND_EXT_STMT) { in zend_update_extended_info()
460 if ((opline+1)->opcode == ZEND_EXT_STMT) { in zend_update_extended_info()
461 opline->opcode = ZEND_NOP; in zend_update_extended_info()
469 opline->opcode = ZEND_NOP; in zend_update_extended_info()
519 switch (opline->opcode) { in pass_two()
553 ZEND_API unary_op_type get_unary_op(int opcode) in get_unary_op() argument
555 switch (opcode) { in get_unary_op()
568 ZEND_API binary_op_type get_binary_op(int opcode) in get_binary_op() argument
570 switch (opcode) { in get_binary_op()
H A Dzend_vm_opcodes.h24 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
H A Dzend_execute.c656 …y_name, int value_type, znode_op *value_op, const temp_variable *Ts, int opcode, const zend_litera… in zend_assign_to_object() argument
722 if (opcode == ZEND_ASSIGN_OBJ) { in zend_assign_to_object()
1425 switch (brk_opline->opcode) { in zend_brk_cont()
1511 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) in zend_set_user_opcode_handler() argument
1513 if (opcode != ZEND_USER_OPCODE) { in zend_set_user_opcode_handler()
1516 zend_user_opcodes[opcode] = opcode; in zend_set_user_opcode_handler()
1518 zend_user_opcodes[opcode] = ZEND_USER_OPCODE; in zend_set_user_opcode_handler()
1520 zend_user_opcode_handlers[opcode] = handler; in zend_set_user_opcode_handler()
1526 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode) in zend_get_user_opcode_handler() argument
1528 return zend_user_opcode_handlers[opcode]; in zend_get_user_opcode_handler()
H A Dzend_builtin_functions.c2110 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL && in ZEND_FUNCTION()
2111 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME && in ZEND_FUNCTION()
2112 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) { in ZEND_FUNCTION()
2155 …if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == … in ZEND_FUNCTION()
2164 if (!ptr->opline || ptr->opline->opcode != ZEND_INCLUDE_OR_EVAL) { in ZEND_FUNCTION()
2256 if (ptr && (skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) { in zend_fetch_debug_backtrace()
2277 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL && in zend_fetch_debug_backtrace()
2278 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME && in zend_fetch_debug_backtrace()
2279 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_fetch_debug_backtrace()
2347 …((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEN… in zend_fetch_debug_backtrace()
[all …]
H A Dzend_execute.h420 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
421 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode);
H A Dzend.c483 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
488 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
493 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
1258 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error()
/PHP-5.4/ext/xml/tests/
H A Dbug30266.phpt2 Bug #30266 (Invalid opcode 137/1/8)
13 Fatal error: Invalid opcode 137/1/8. in /home/hartmut/projects/php/dev/head/ext/xml/tests/bug30266.…
/PHP-5.4/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c7014 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7031 else if (opcode == OP_ONCE || opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7072 if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7235 if (opcode == OP_COND || opcode == OP_SCOND) in compile_bracket_matchingpath()
7768 if (*opcode >= OP_STAR && *opcode <= OP_POSUPTO) in get_iterator_parameters()
7799 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
7836 if (*opcode == OP_UPTO || *opcode == OP_MINUPTO || *opcode == OP_EXACT || *opcode == OP_POSUPTO) in get_iterator_parameters()
7930 if (opcode == OP_STAR || opcode == OP_UPTO) in compile_iterator_matchingpath()
8177 if (opcode == OP_PRUNE_ARG || opcode == OP_SKIP_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8868 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_backtrackingpath()
[all …]
H A DHACKING149 variable length. The first unit in an item contains an opcode, and the length
150 of the item is either implicit in the opcode or contained in the data that
223 The OP_CHAR opcode is followed by a single character that is to be matched
277 that instead of a character, the opcode for the type is stored in the data
373 opcode to see if it is one of
406 this way, using the single opcode OP_CBRA.
411 the next one, or to the OP_KET opcode. For capturing brackets, the bracket
418 bracket opcode.
459 These are just like other subpatterns, but they start with the opcode
492 subpattern using the opcode OP_CREF followed by a count containing the
[all …]
/PHP-5.4/Zend/tests/
H A Dbug32833.phpt2 Bug #32833 (Invalid opcode with $a[] .= '')
H A Dbug33318.phpt2 Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
H A Dbug41351.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b))
H A Dbug41351_2.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 2
H A Dbug41351_3.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 3
H A Dbug34064.phpt2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
/PHP-5.4/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c390 #define PB2(opcode, dst, src) \ argument
532 opcode = &tilegx_opcodes[opc]; in insert_nop()
533 inst_buf[0].opcode = opcode; in insert_nop()
544 inst_buf[0].opcode->pipes, in compute_format()
545 inst_buf[1].opcode->pipes, in compute_format()
612 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit() local
751 inst_buf[inst_buf_index].opcode = opcode; in push_4_buffer()
771 inst_buf[inst_buf_index].opcode = opcode; in push_3_buffer()
831 inst_buf[inst_buf_index].opcode = opcode; in push_2_buffer()
876 inst_buf[inst_buf_index].opcode = opcode; in push_0_buffer()
[all …]
H A DsljitNativeARM_32.c820 #define EMIT_DATA_PROCESS_INS(opcode, set_flags, dst, src1, src2) \ argument
821 (0xe0000000 | ((opcode) << 21) | (set_flags) | RD(dst) | RN(src1) | (src2))
969 #define EMIT_DATA_PROCESS_INS_AND_RETURN(opcode) \ argument
970 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, (src2 & SRC…
972 #define EMIT_FULL_DATA_PROCESS_INS_AND_RETURN(opcode, dst, src1, src2) \ argument
973 return push_inst(compiler, EMIT_DATA_PROCESS_INS(opcode, flags & SET_FLAGS, dst, src1, src2))
975 #define EMIT_SHIFT_INS_AND_RETURN(opcode) \ argument
981 …_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (compiler->shift_imm << 7) | (opcode << 5) | reg_map[sr…
984 …t, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | ((f…
2025 #define EMIT_FPU_OPERATION(opcode, mode, dst, src1, src2) \ argument
[all …]
H A DsljitNativeX86_32.c29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) in emit_do_imm() argument
36 *inst++ = opcode; in emit_do_imm()
/PHP-5.4/ext/standard/tests/array/
H A Dbug30266.phpt2 Bug #30266 (Invalid opcode 137/1/8) and array_walk
/PHP-5.4/sapi/cli/tests/
H A Dbug64529.phpt2 Bug #64529 (Ran out of opcode space)
/PHP-5.4/tests/lang/
H A Dengine_assignExecutionOrder_002.phpt53 // expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3

Completed in 162 milliseconds

12