Searched refs:opcode (Results 1 - 25 of 33) 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)
/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);
42 if (opline->opcode == ZEND_DIV &&
101 opline->opcode = ZEND_BOOL;
110 unary_op_type unary_op = get_unary_op(opline->opcode);
140 int requires_conversion = (opline->opcode == ZEND_ADD_CHAR? 1 : 0);
150 while (next_op->opcode == ZEND_ADD_STRING || next_op->opcode == ZEND_ADD_CHAR) {
154 if (next_op->opcode == ZEND_ADD_CHAR) {
174 opline->opcode
[all...]
H A Dzend_optimizer_internal.h44 # 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]; }
49 # 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]; }
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) {
567 while (block->len > 0 && block->start_opline->opcode
[all...]
H A Dzend_optimizer.c118 if (opline->opcode == ZEND_FREE) {
125 switch (opline->opcode) {
165 switch (opline->opcode) {
225 if ((opline-1)->opcode == ZEND_ASSIGN_DIM ||
227 ((opline-1)->opcode == ZEND_ASSIGN_ADD ||
228 (opline-1)->opcode == ZEND_ASSIGN_SUB ||
229 (opline-1)->opcode == ZEND_ASSIGN_MUL ||
230 (opline-1)->opcode == ZEND_ASSIGN_DIV ||
231 (opline-1)->opcode == ZEND_ASSIGN_MOD ||
232 (opline-1)->opcode
[all...]
/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.c1505 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&
1664 (*EG(opline_ptr))->opcode != ZEND_INCLUDE_OR_EVAL ||
1828 if (opline->opcode == ZEND_INCLUDE_OR_EVAL &&
1926 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&
1991 (*EG(opline_ptr))->opcode == ZEND_INCLUDE_OR_EVAL &&
/PHP_5_5/Zend/
H A Dzend.c484 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION;
489 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION;
494 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION;
1245 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL &&
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) {
1424 switch (brk_opline->opcode) {
1711 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1713 if (opcode != ZEND_USER_OPCODE) {
1716 zend_user_opcodes[opcode] = opcode;
1718 zend_user_opcodes[opcode] = ZEND_USER_OPCODE;
1720 zend_user_opcode_handlers[opcode] = handler;
1726 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode) argument
[all...]
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_vm_opcodes.c191 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { argument
192 return zend_vm_opcodes_map[opcode];
H A Dzend_exceptions.c120 (EG(current_execute_data)->opline+1)->opcode == ZEND_HANDLE_EXCEPTION) {
H A Dzend_builtin_functions.c2095 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2096 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2097 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2140 if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEND_DO_FCALL))) {
2149 if (!ptr->opline || ptr->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2241 if (ptr && (skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) {
2262 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2263 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2264 skip->prev_execute_data->opline->opcode !
[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 &&
1261 ret_opline->opcode = ZEND_RETURN;
1280 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...]
H A Dzend_generators.c45 /* -1 required because we want the last run opcode, not the
60 switch (brk_opline->opcode) {
178 /* -1 required because we want the last run opcode, not the
H A Dzend_vm_opcodes.h24 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
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);
881 /* generate ZEND_DECLARE_INHERITED_CLASS_DELAYED opcode to delay early binding */
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;
527 ZEND_ASSERT(op_array->opcodes[op_num - 2].opcode == ZEND_FAST_CALL);
547 ZEND_ASSERT(op_array->opcodes[finally_op_num - 2].opcode == ZEND_FAST_CALL);
579 opline->opcode = ZEND_FAST_CALL;
591 opline->opcode = ZEND_FAST_CALL;
610 opline->opcode
800 get_unary_op(int opcode) argument
815 get_binary_op(int opcode) argument
[all...]

Completed in 124 milliseconds

12