Searched refs:opcode (Results 1 - 25 of 30) sorted by relevance

12

/PHP_5_5/ext/mbstring/oniguruma/
H A Dregcomp.c201 add_opcode(regex_t* reg, int opcode) argument
203 BBUF_ADD1(reg, opcode);
271 add_opcode_rel_addr(regex_t* reg, int opcode, int addr) argument
275 r = add_opcode(reg, opcode);
296 add_opcode_option(regex_t* reg, int opcode, OnigOptionType option) argument
300 r = add_opcode(reg, opcode);
5768 op2name(int opcode) argument
5772 for (i = 0; OnigOpInfo[i].opcode >= 0; i++) {
5773 if (opcode == OnigOpInfo[i].opcode)
5780 op2arg_type(int opcode) argument
[all...]
H A Dregexec.c1179 #define MOP_IN(opcode) do {\
1180 if (opcode == OpPrevTarget) OpPrevCounter[OpCurr]++;\
1181 OpCurr = opcode;\
1182 OpCounter[opcode]++;\
1206 for (i = 0; OnigOpInfo[i].opcode >= 0; i++) {
1222 #define MOP_IN(opcode)
H A Dregint.h530 OP_LOOK_BEHIND, /* (?<=...) start (no needs end opcode) */
756 short int opcode; member in struct:__anon250
/PHP_5_5/Zend/
H A Dzend_execute.h374 #define ZEND_USER_OPCODE_CONTINUE 0 /* execute next opcode */
376 #define ZEND_USER_OPCODE_DISPATCH 2 /* call original opcode handler */
380 #define ZEND_USER_OPCODE_DISPATCH_TO 0x100 /* call original handler of returned opcode */
382 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
383 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode);
H A Dzend_vm.h25 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
H A Dzend.c488 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION;
493 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION;
498 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION;
1245 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL &&
H A Dzend_compile.h116 zend_uchar opcode; member in struct:_zend_op
470 ZEND_API unary_op_type get_unary_op(int opcode);
471 ZEND_API binary_op_type get_binary_op(int opcode);
878 /* generate ZEND_DECLARE_INHERITED_CLASS_DELAYED opcode to delay early binding */
H A Dzend_generators.c62 /* -1 required because we want the last run opcode, not the
77 switch (brk_opline->opcode) {
161 /* -1 required because we want the last run opcode, not the
H A Dzend_execute.c658 static inline void zend_assign_to_object(zval **retval, zval **object_ptr, zval *property_name, int value_type, znode_op *value_op, const zend_execute_data *execute_data, int opcode, const zend_literal *key TSRMLS_DC) argument
724 if (opcode == ZEND_ASSIGN_OBJ) {
1425 switch (brk_opline->opcode) {
1712 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1714 if (opcode != ZEND_USER_OPCODE) {
1717 zend_user_opcodes[opcode] = opcode;
1719 zend_user_opcodes[opcode] = ZEND_USER_OPCODE;
1721 zend_user_opcode_handlers[opcode] = handler;
1727 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode) argument
[all...]
H A Dzend_builtin_functions.c2092 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2093 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2094 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2137 if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEND_DO_FCALL))) {
2146 if (!ptr->opline || ptr->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2238 if (ptr && (skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) {
2259 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2260 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2261 skip->prev_execute_data->opline->opcode !
[all...]
H A Dzend_exceptions.c120 (EG(current_execute_data)->opline+1)->opcode == ZEND_HANDLE_EXCEPTION) {
H A Dzend_opcode.c430 zend_printf("Ran out of opcode space!\n"
462 if (opline->opcode == ZEND_EXT_STMT) {
464 if ((opline+1)->opcode == ZEND_EXT_STMT) {
465 opline->opcode = ZEND_NOP;
473 opline->opcode = ZEND_NOP;
531 opline->opcode = ZEND_FAST_CALL;
550 opline->opcode = ZEND_FAST_CALL;
557 /* Finish the sequence with original opcode */
561 /* Replace original opcode with jump to this sequence */
563 opline->opcode
736 get_unary_op(int opcode) argument
751 get_binary_op(int opcode) argument
[all...]
H A Dzend_execute_API.c72 fprintf(stderr, "SIGSEGV caught on opcode %d on opline %d of %s() at %s:%d\n\n",
73 active_opline->opcode,
406 if(EG(exception) && EG(opline_ptr) && active_opline->opcode == ZEND_HANDLE_EXCEPTION &&
1255 ret_opline->opcode = ZEND_RETURN;
1274 switch (opline->opcode) {
H A Dzend_compile.c580 opline->opcode = op;
593 opline->opcode = op;
602 #define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline->result_type=opline->op1_type=opline->op2_type=IS_UNUSED; }
606 data_op->opcode = ZEND_OP_DATA;
620 switch (last_op->opcode) {
622 last_op->opcode = op;
630 last_op->opcode = op;
644 opline->opcode = op;
671 CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE)) {
687 opline_ptr->opcode
[all...]
/PHP_5_5/ext/spl/
H A Dphp_spl.c358 * The "scope" is determined by an opcode, if it is ZEND_FETCH_CLASS we know function was called indirectly by
361 if (active_opline->opcode != ZEND_FETCH_CLASS) {
/PHP_5_5/ext/opcache/Optimizer/
H A Dnop_removal.c20 if (opline->opcode == ZEND_GOTO &&
29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
33 while (target->opcode == ZEND_NOP) {
38 opline->opcode = ZEND_NOP;
43 if (opline->opcode == ZEND_NOP) {
59 switch (opline->opcode) {
H A Doptimize_temp_vars_5.c98 if (!(op_const_means_class[opline->opcode] & RESULT_IS_UNUSED)) {
119 || ((op_const_means_class[opline->opcode] & OP1_CONST_IS_CLASS) && ZEND_OP1_TYPE(opline) == IS_CONST)
132 if (opline->opcode == ZEND_OP_DATA &&
133 (opline-1)->opcode == ZEND_ASSIGN_DIM) {
140 || ((op_const_means_class[opline->opcode] & OP2_CONST_IS_CLASS) && ZEND_OP2_TYPE(opline) == IS_CONST)
153 if ((op_const_means_class[opline->opcode] & EXT_CONST_IS_CLASS)) {
155 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS ||
156 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) {
168 if (opline->opcode == ZEND_ASSIGN_DIM &&
169 (opline + 1)->opcode
[all...]
H A Dpass2.c13 switch (opline->opcode) {
88 opline->opcode -= 3;
93 if (opline->opcode == ZEND_JMPZ_EX) {
97 opline->opcode = ZEND_QM_ASSIGN;
108 if (opline->opcode == ZEND_JMPZ) {
114 opline->opcode = ZEND_JMP;
121 if ((opline + 1)->opcode == ZEND_JMP) {
128 if (opline->opcode == ZEND_JMPZ) {
134 opline->opcode = ZEND_JMPZNZ;
151 opline->opcode
[all...]
H A Dpass3.c42 switch (opline->opcode) {
57 while (next_opline < end && next_opline->opcode == ZEND_NOP) {
61 if (next_opline >= end || next_opline->opcode != ZEND_ASSIGN) {
67 (opline->opcode == ZEND_ADD ||
68 opline->opcode == ZEND_MUL ||
69 opline->opcode == ZEND_BW_OR ||
70 opline->opcode == ZEND_BW_AND ||
71 opline->opcode == ZEND_BW_XOR)) {
82 if (opline->opcode != ZEND_ADD || ZEND_OP1_TYPE(opline) == IS_CONST) {
91 switch (opline->opcode) {
[all...]
H A Dpass1_5.c15 switch (opline->opcode) {
37 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
43 if (opline->opcode == ZEND_DIV &&
68 if (tmp_opline->opcode == ZEND_FREE) {
77 if (tmp_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL ||
78 tmp_opline->opcode == ZEND_DO_FCALL ||
79 tmp_opline->opcode == ZEND_CATCH ||
80 tmp_opline->opcode == ZEND_FETCH_CONSTANT) {
98 if (tmp_opline->opcode == ZEND_FETCH_R ||
99 tmp_opline->opcode
[all...]
H A Dblock_pass.c96 switch((unsigned)opline->opcode) {
191 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE ||
192 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_SWITCH_FREE)) {
197 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE &&
198 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_SWITCH_FREE) {
212 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE ||
213 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_SWITCH_FREE)) {
245 if (opline->opcode == ZEND_OP_DATA) {
248 switch((unsigned)opline->opcode) {
570 while (block->len > 0 && block->start_opline->opcode
[all...]
H A Dzend_optimizer_internal.h41 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline->result_type=opline->op1_type=opline->op2_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
46 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(znode)); memset(&opline->op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_type=opline->op2.op_type=IS_UNUSED; opline->handler = zend_opcode_handlers[ZEND_NOP]; }
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c684 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT)
725 if (precv && precv->opcode == ZEND_RECV_INIT && precv->op2_type != IS_UNUSED) {
1495 if (!precv || precv->opcode != ZEND_RECV_INIT || precv->op2_type == IS_UNUSED) {
2569 if (!precv || precv->opcode != ZEND_RECV_INIT || precv->op2_type == IS_UNUSED) {
/PHP_5_5/ext/opcache/
H A Dzend_persist.c271 switch (opline->opcode) {
296 (opline + 1)->opcode != ZEND_FETCH_CLASS ||
297 (opline + 2)->opcode != ZEND_ADD_INTERFACE)) {
307 opline->opcode = ZEND_DECLARE_INHERITED_CLASS_DELAYED;
318 switch (opline->opcode) {
H A DZendAccelerator.c1481 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&
1640 (*EG(opline_ptr))->opcode != ZEND_INCLUDE_OR_EVAL ||
1793 if (opline->opcode == ZEND_INCLUDE_OR_EVAL &&
1891 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&
1956 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&

Completed in 78 milliseconds

12