Lines Matching refs:op1

292 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) …  in zend_do_binary_op()  argument
299 opline->op1 = *op1; in zend_do_binary_op()
305 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_unary_op()
312 opline->op1 = *op1; in zend_do_unary_op()
318 …eof(znode)); memset(&opline->op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->r…
324 data_op->op1 = *value; in zend_do_op_data()
329 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM… in zend_do_binary_assign_op() argument
363 opline->op1 = *op1; in zend_do_binary_assign_op()
406 opline_ptr->op1 = *varname; in fetch_simple_variable_ex()
448 opline.op1.op_type = IS_CONST; in zend_do_fetch_static_member()
449 opline.op1.u.constant.type = IS_STRING; in zend_do_fetch_static_member()
450 opline.op1.u.constant.value.str.val = estrdup(CG(active_op_array)->vars[result->u.var].name); in zend_do_fetch_static_member()
451 opline.op1.u.constant.value.str.len = CG(active_op_array)->vars[result->u.var].name_len; in zend_do_fetch_static_member()
462 if (opline_ptr->opcode != ZEND_FETCH_W && opline_ptr->op1.op_type == IS_CV) { in zend_do_fetch_static_member()
468 opline.op1.op_type = IS_CONST; in zend_do_fetch_static_member()
469 opline.op1.u.constant.type = IS_STRING; in zend_do_fetch_static_member()
470 …opline.op1.u.constant.value.str.val = estrdup(CG(active_op_array)->vars[opline_ptr->op1.u.var].nam… in zend_do_fetch_static_member()
471 opline.op1.u.constant.value.str.len = CG(active_op_array)->vars[opline_ptr->op1.u.var].name_len; in zend_do_fetch_static_member()
475 opline_ptr->op1 = opline.result; in zend_do_fetch_static_member()
504 opline.op1 = *parent; in fetch_array_dim()
527 opline->op1 = *arg; in zend_do_print()
538 opline->op1 = *arg; in zend_do_echo()
562 SET_UNUSED(opline->op1); in zend_do_abstract_method()
578 if ((opline->opcode == ZEND_FETCH_W) && (opline->op1.op_type == IS_CONST) in opline_is_fetch_this()
579 && (opline->op1.u.constant.type == IS_STRING) in opline_is_fetch_this()
580 && (opline->op1.u.constant.value.str.len == (sizeof("this")-1)) in opline_is_fetch_this()
581 && !memcmp(opline->op1.u.constant.value.str.val, "this", sizeof("this"))) { in opline_is_fetch_this()
602 opline->op1.op_type == IS_CV && in zend_do_assign()
603 opline->op1.u.var == value->u.var) { in zend_do_assign()
610 opline->op1.op_type = IS_CONST; in zend_do_assign()
611 ZVAL_STRINGL(&opline->op1.u.constant, in zend_do_assign()
685 opline->op1 = *variable; in zend_do_assign()
739 opline->op1 = *lvar; in zend_do_assign_ref()
777 opline->op1 = *expr; in zend_do_while_cond()
792 opline->op1.u.opline_num = while_token->u.opline_num; in zend_do_while_end()
793 SET_UNUSED(opline->op1); in zend_do_while_end()
811 opline->op1 = *expr; /* the conditional expression */ in zend_do_for_cond()
822 opline->op1.u.opline_num = cond_start->u.opline_num; in zend_do_for_before_statement()
824 SET_UNUSED(opline->op1); in zend_do_for_before_statement()
838 opline->op1.u.opline_num = second_semicolon_token->u.opline_num+1; in zend_do_for_end()
840 SET_UNUSED(opline->op1); in zend_do_for_end()
849 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_pre_incdec() argument
869 opline->op1 = *op1; in zend_do_pre_incdec()
878 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_post_incdec() argument
897 opline->op1 = *op1; in zend_do_post_incdec()
911 opline->op1 = *cond; in zend_do_if_cond()
936 SET_UNUSED(opline->op1); in zend_do_if_after_statement()
949 CG(active_op_array)->opcodes[*((int *) le->data)].op1.u.opline_num = next_op_number; in zend_do_if_end()
1002 …r = lookup_cv(CG(active_op_array), Z_STRVAL(opline_ptr->op1.u.constant), Z_STRLEN(opline_ptr->op1.… in zend_do_end_variable_parse()
1004 efree(Z_STRVAL(opline_ptr->op1.u.constant)); in zend_do_end_variable_parse()
1021 if (opline->op1.op_type == IS_VAR && in zend_do_end_variable_parse()
1022 opline->op1.u.var == this_var) { in zend_do_end_variable_parse()
1023 opline->op1.op_type = IS_CV; in zend_do_end_variable_parse()
1024 opline->op1.u.var = CG(active_op_array)->this_var; in zend_do_end_variable_parse()
1066 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string() argument
1086 if (op1) { in zend_do_add_string()
1087 opline->op1 = *op1; in zend_do_add_string()
1088 opline->result = *op1; in zend_do_add_string()
1090 SET_UNUSED(opline->op1); in zend_do_add_string()
1099 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable() argument
1105 if (op1) { in zend_do_add_variable()
1106 opline->op1 = *op1; in zend_do_add_variable()
1107 opline->result = *op1; in zend_do_add_variable()
1109 SET_UNUSED(opline->op1); in zend_do_add_variable()
1118 void zend_do_free(znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_free()
1120 if (op1->op_type==IS_TMP_VAR) { in zend_do_free()
1124 opline->op1 = *op1; in zend_do_free()
1126 } else if (op1->op_type==IS_VAR) { in zend_do_free()
1133 && opline->result.u.var == op1->u.var) { in zend_do_free()
1138 && opline->op1.op_type == IS_VAR in zend_do_free()
1139 && opline->op1.u.var == op1->u.var) { in zend_do_free()
1146 && opline->result.u.var == op1->u.var) { in zend_do_free()
1155 } else if (op1->op_type == IS_CONST) { in zend_do_free()
1156 zval_dtor(&op1->u.constant); in zend_do_free()
1352 opline->op1.op_type = IS_CONST; in zend_do_begin_function_declaration()
1353 build_runtime_defined_function_key(&opline->op1.u.constant, lcname, name_len TSRMLS_CC); in zend_do_begin_function_declaration()
1360 …zend_hash_update(CG(function_table), opline->op1.u.constant.value.str.val, opline->op1.u.constant.… in zend_do_begin_function_declaration()
1368 SET_UNUSED(opline->op1); in zend_do_begin_function_declaration()
1387 dummy_opline.op1.op_type = IS_UNUSED; in zend_do_begin_function_declaration()
1423 …op->op2.u.constant, zend_hash_func(Z_STRVAL(current_op->op1.u.constant), Z_STRLEN(current_op->op1.… in zend_do_begin_lambda_function_declaration()
1434 SET_UNUSED(opline->op1); in zend_do_handle_exception()
1504 opline->op1 = *offset; in zend_do_receive_arg()
1614 opline->op1.op_type = IS_CONST; in zend_do_begin_method_call()
1615 Z_TYPE(opline->op1.u.constant) = IS_STRING; in zend_do_begin_method_call()
1616 …Z_STRVAL(opline->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN… in zend_do_begin_method_call()
1617 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_method_call()
1618 …opline->extended_value = zend_hash_func(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.c… in zend_do_begin_method_call()
1621 SET_UNUSED(opline->op1); in zend_do_begin_method_call()
1635 opline->op1 = *expr; in zend_do_clone()
1657 opline->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1658 Z_TYPE(opline->op1.u.constant) = IS_STRING; in zend_do_begin_dynamic_function_call()
1659 …Z_STRVAL(opline->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN… in zend_do_begin_dynamic_function_call()
1660 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_dynamic_function_call()
1661 …opline->extended_value = zend_hash_func(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.c… in zend_do_begin_dynamic_function_call()
1662 slash = zend_memrchr(Z_STRVAL(opline->op1.u.constant), '\\', Z_STRLEN(opline->op1.u.constant)); in zend_do_begin_dynamic_function_call()
1663 prefix_len = slash-Z_STRVAL(opline->op1.u.constant)+1; in zend_do_begin_dynamic_function_call()
1664 name_len = Z_STRLEN(opline->op1.u.constant)-prefix_len; in zend_do_begin_dynamic_function_call()
1667 opline2->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1668 Z_TYPE(opline2->op1.u.constant) = IS_LONG; in zend_do_begin_dynamic_function_call()
1670 …zend_error(E_CORE_ERROR, "Namespaced name %s should contain slash", Z_STRVAL(opline->op1.u.constan… in zend_do_begin_dynamic_function_call()
1673 Z_LVAL(opline2->op1.u.constant) = prefix_len; in zend_do_begin_dynamic_function_call()
1681 opline->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1682 Z_TYPE(opline->op1.u.constant) = IS_STRING; in zend_do_begin_dynamic_function_call()
1683 …Z_STRVAL(opline->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN… in zend_do_begin_dynamic_function_call()
1684 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_dynamic_function_call()
1685 …opline->extended_value = zend_hash_func(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.c… in zend_do_begin_dynamic_function_call()
1688 SET_UNUSED(opline->op1); in zend_do_begin_dynamic_function_call()
1840 SET_UNUSED(opline->op1); in zend_do_fetch_class()
1912 opline->op1.u.opline_num = dest->opline_num; in zend_resolve_goto_label()
1951 SET_UNUSED(opline->op1); in zend_do_goto()
2030 opline->op1 = class_node; in zend_do_begin_class_member_function_call()
2053 opline->op1 = *function_name; in zend_do_end_function_call()
2057 SET_UNUSED(opline->op1); in zend_do_end_function_call()
2172 opline->op1 = *param; in zend_do_pass_param()
2189 opline->op1 = switch_entry->cond; in generate_free_switch_expr()
2201 if (foreach_copy->result.op_type == IS_UNUSED && foreach_copy->op1.op_type == IS_UNUSED) { in generate_free_foreach_copy()
2208 opline->op1 = foreach_copy->result; in generate_free_foreach_copy()
2212 if (foreach_copy->op1.op_type != IS_UNUSED) { in generate_free_foreach_copy()
2215 opline->opcode = (foreach_copy->op1.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in generate_free_foreach_copy()
2216 opline->op1 = foreach_copy->op1; in generate_free_foreach_copy()
2250 CG(active_op_array)->opcodes[start_op_number].op1.u.EA.type = EXT_TYPE_FREE_ON_RETURN; in zend_do_return()
2259 opline->op1 = *expr; in zend_do_return()
2265 opline->op1.op_type = IS_CONST; in zend_do_return()
2266 INIT_ZVAL(opline->op1.u.constant); in zend_do_return()
2303 SET_UNUSED(opline->op1); in zend_initialize_try_catch_element()
2321 CG(active_op_array)->opcodes[first_catch->u.opline_num].op1.u.EA.type = 1; in zend_do_mark_last_catch()
2324 CG(active_op_array)->opcodes[last_additional_catch->u.opline_num].op1.u.EA.type = 1; in zend_do_mark_last_catch()
2360 opline->op1 = catch_class; in zend_do_begin_catch()
2365 opline->op1.u.EA.type = 0; /* 1 means it's the last catch in the block */ in zend_do_begin_catch()
2378 SET_UNUSED(opline->op1); in zend_do_end_catch()
2395 opline->op1 = *expr; in zend_do_throw()
2956 …zend_hash_find(function_table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.… in do_bind_function()
2984 …if (zend_hash_find(class_table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value… in do_bind_class()
2985 …zend_error(E_COMPILE_ERROR, "Internal Zend error - Missing class information for %s", opline->op1.… in do_bind_class()
3016 …found_ce = zend_hash_find(class_table, opline->op1.u.constant.value.str.val, opline->op1.u.constan… in do_bind_inherited_class()
3111 zend_hash_del(table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len); in zend_do_early_binding()
3112 zval_dtor(&opline->op1.u.constant); in zend_do_early_binding()
3149 opline->op1 = *expr1; in zend_do_boolean_or_begin()
3165 opline->op1 = *expr2; in zend_do_boolean_or_end()
3184 opline->op1 = *expr1; in zend_do_boolean_and_begin()
3200 opline->op1 = *expr2; in zend_do_boolean_and_end()
3219 opline->op1 = *expr; in zend_do_do_while_end()
3234 opline->op1.u.opline_num = CG(active_op_array)->current_brk_cont; in zend_do_brk_cont()
3235 SET_UNUSED(opline->op1); in zend_do_brk_cont()
3273 SET_UNUSED(opline->op1); in zend_do_switch_end()
3275 opline->op1.u.opline_num = switch_entry_ptr->default_case; in zend_do_switch_end()
3281 CG(active_op_array)->opcodes[case_list->u.opline_num].op1.u.opline_num = next_op_number; in zend_do_switch_end()
3292 opline->op1 = switch_entry_ptr->cond; in zend_do_switch_end()
3320 opline->op1 = switch_entry_ptr->cond; in zend_do_case_before_statement()
3322 if (opline->op1.op_type == IS_CONST) { in zend_do_case_before_statement()
3323 zval_copy_ctor(&opline->op1.u.constant); in zend_do_case_before_statement()
3330 opline->op1 = result; in zend_do_case_before_statement()
3338 CG(active_op_array)->opcodes[case_list->u.opline_num].op1.u.opline_num = next_op_number; in zend_do_case_before_statement()
3348 SET_UNUSED(opline->op1); in zend_do_case_after_statement()
3354 …CG(active_op_array)->opcodes[case_token->u.opline_num].op1.u.opline_num = get_next_op_number(CG(ac… in zend_do_case_after_statement()
3372 SET_UNUSED(opline->op1); in zend_do_default_before_statement()
3382 CG(active_op_array)->opcodes[case_list->u.opline_num].op1.u.opline_num = next_op_number; in zend_do_default_before_statement()
3464 opline->op1.op_type = IS_CONST; in zend_do_begin_class_declaration()
3465 …build_runtime_defined_function_key(&opline->op1.u.constant, lcname, new_class_entry->name_length T… in zend_do_begin_class_declaration()
3481 …zend_hash_update(CG(class_table), opline->op1.u.constant.value.str.val, opline->op1.u.constant.val… in zend_do_begin_class_declaration()
3502 opline->op1 = CG(implementing_class); in do_verify_abstract_class()
3568 opline->op1 = CG(implementing_class); in zend_do_implements_interface()
3715 efree(Z_STRVAL(opline_ptr->op1.u.constant)); in zend_do_fetch_property()
3716 SET_UNUSED(opline_ptr->op1); /* this means $this for objects */ in zend_do_fetch_property()
3749 opline.op1 = *object; in zend_do_fetch_property()
3799 if (opline_ptr->op1.op_type == IS_UNUSED in zend_do_declare_implicit_property()
3841 opline->op1 = *class_type; in zend_do_begin_new_object()
3954 opline->op1 = *constant_container; in zend_do_fetch_constant()
3995 SET_UNUSED(opline->op1); in zend_do_fetch_constant()
4021 opline->op1 = *cmd; in zend_do_shell_exec()
4031 Z_STRVAL(opline->op1.u.constant) = estrndup("shell_exec", sizeof("shell_exec")-1); in zend_do_shell_exec()
4032 Z_STRLEN(opline->op1.u.constant) = sizeof("shell_exec")-1; in zend_do_shell_exec()
4033 INIT_PZVAL(&opline->op1.u.constant); in zend_do_shell_exec()
4034 Z_TYPE(opline->op1.u.constant) = IS_STRING; in zend_do_shell_exec()
4035 opline->op1.op_type = IS_CONST; in zend_do_shell_exec()
4052 opline->op1 = *expr; in zend_do_init_array()
4059 SET_UNUSED(opline->op1); in zend_do_init_array()
4072 opline->op1 = *expr; in zend_do_add_array_element()
4197 opline->op1 = last_container; in zend_do_list_end()
4259 opline->op1 = *varname; in zend_do_fetch_static_variable()
4321 opline->op1 = *varname; in zend_do_fetch_global_variable()
4343 opline->op1 = *expr; in zend_do_cast()
4350 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_include_or_eval()
4359 opline->op1 = *op1; in zend_do_include_or_eval()
4395 opline->op1 = *variable; in zend_do_unset()
4430 last_op->op1 = *variable; in zend_do_isset_or_isempty()
4478 opline->op1 = *expr; in zend_do_instanceof()
4505 if (CG(active_op_array)->opcodes[CG(active_op_array)->last-1].op1.op_type == IS_VAR) { in zend_do_foreach_begin()
4524 opline->op1 = *array; in zend_do_foreach_begin()
4530 dummy_opline.op1 = CG(active_op_array)->opcodes[CG(active_op_array)->last-2].op1; in zend_do_foreach_begin()
4535 dummy_opline.op1 = tmp; in zend_do_foreach_begin()
4546 opline->op1 = dummy_opline.result; in zend_do_foreach_begin()
4552 SET_UNUSED(opline->op1); in zend_do_foreach_begin()
4605 foreach_copy->op1.op_type = IS_UNUSED; in zend_do_foreach_cont()
4643 opline->op1.u.opline_num = as_token->u.opline_num; in zend_do_foreach_end()
4644 SET_UNUSED(opline->op1); in zend_do_foreach_end()
4749 opline->op1 = *message; in zend_do_exit()
4765 SET_UNUSED(opline->op1); in zend_do_begin_silence()
4776 opline->op1 = *strudel_token; in zend_do_end_silence()
4789 opline->op1 = *value; in zend_do_jmp_set()
4807 opline->op1 = *false_value; in zend_do_jmp_set_else()
4826 opline->op1 = *cond; in zend_do_begin_qm_op()
4844 opline->op1 = *true_value; in zend_do_qm_true()
4852 SET_UNUSED(opline->op1); in zend_do_qm_true()
4863 opline->op1 = *false_value; in zend_do_qm_false()
4866 …CG(active_op_array)->opcodes[colon_token->u.opline_num].op1.u.opline_num = get_next_op_number(CG(a… in zend_do_qm_false()
4885 SET_UNUSED(opline->op1); in zend_do_extended_info()
4901 SET_UNUSED(opline->op1); in zend_do_extended_fcall_begin()
4917 SET_UNUSED(opline->op1); in zend_do_extended_fcall_end()
4927 opline->op1.u.constant = CG(declarables).ticks; in zend_do_ticks()
4928 opline->op1.op_type = IS_CONST; in zend_do_ticks()
5310 opline->op1 = *name; in zend_do_declare_constant()