Lines Matching refs:op1
573 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) … in zend_do_binary_op() argument
580 SET_NODE(opline->op1, op1); in zend_do_binary_op()
586 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_unary_op()
593 SET_NODE(opline->op1, op1); in zend_do_unary_op()
599 …mset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset…
604 SET_NODE(data_op->op1, value); in zend_do_op_data()
609 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
642 SET_NODE(opline->op1, op1); in zend_do_binary_assign_op()
687 SET_NODE(opline_ptr->op1, varname); in fetch_simple_variable_ex()
693 CALCULATE_LITERAL_HASH(opline_ptr->op1.constant); in fetch_simple_variable_ex()
694 …str.val, varname->u.constant.value.str.len, Z_HASH_P(&CONSTANT(opline_ptr->op1.constant)) TSRMLS_C… in fetch_simple_variable_ex()
736 …LITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[result->u.op.var].name), CG(active_o… in zend_do_fetch_static_member()
737 CALCULATE_LITERAL_HASH(opline.op1.constant); in zend_do_fetch_static_member()
738 GET_POLYMORPHIC_CACHE_SLOT(opline.op1.constant); in zend_do_fetch_static_member()
761 …ITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[opline_ptr->op1.var].name), CG(active… in zend_do_fetch_static_member()
762 CALCULATE_LITERAL_HASH(opline.op1.constant); in zend_do_fetch_static_member()
763 GET_POLYMORPHIC_CACHE_SLOT(opline.op1.constant); in zend_do_fetch_static_member()
772 COPY_NODE(opline_ptr->op1, opline.result); in zend_do_fetch_static_member()
777 GET_POLYMORPHIC_CACHE_SLOT(opline_ptr->op1.constant); in zend_do_fetch_static_member()
810 SET_NODE(opline.op1, parent); in fetch_array_dim()
813 opline.result.var = opline.op1.var; in fetch_array_dim()
821 SET_NODE(opline.op1, parent); in fetch_array_dim()
855 SET_NODE(opline->op1, arg); in zend_do_print()
866 SET_NODE(opline->op1, arg); in zend_do_echo()
890 SET_UNUSED(opline->op1); in zend_do_abstract_method()
907 && (Z_TYPE(CONSTANT(opline->op1.constant)) == IS_STRING) in opline_is_fetch_this()
909 && (Z_HASH_P(&CONSTANT(opline->op1.constant)) == THIS_HASHVAL) in opline_is_fetch_this()
910 && (Z_STRLEN(CONSTANT(opline->op1.constant)) == (sizeof("this")-1)) in opline_is_fetch_this()
911 && !memcmp(Z_STRVAL(CONSTANT(opline->op1.constant)), "this", sizeof("this"))) { in opline_is_fetch_this()
933 opline->op1.var == value->u.op.var) { in zend_do_assign()
940 LITERAL_STRINGL(opline->op1, in zend_do_assign()
943 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_assign()
1014 SET_NODE(opline->op1, variable); in zend_do_assign()
1057 SET_NODE(opline->op1, lvar); in zend_do_assign_ref()
1095 SET_NODE(opline->op1, expr); in zend_do_while_cond()
1110 opline->op1.opline_num = while_token->u.op.opline_num; in zend_do_while_end()
1111 SET_UNUSED(opline->op1); in zend_do_while_end()
1129 SET_NODE(opline->op1, expr); /* the conditional expression */ in zend_do_for_cond()
1140 opline->op1.opline_num = cond_start->u.op.opline_num; in zend_do_for_before_statement()
1142 SET_UNUSED(opline->op1); in zend_do_for_before_statement()
1156 opline->op1.opline_num = second_semicolon_token->u.op.opline_num+1; in zend_do_for_end()
1158 SET_UNUSED(opline->op1); in zend_do_for_end()
1167 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_pre_incdec() argument
1186 SET_NODE(opline->op1, op1); in zend_do_pre_incdec()
1194 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_post_incdec() argument
1213 SET_NODE(opline->op1, op1); in zend_do_post_incdec()
1227 SET_NODE(opline->op1, cond); in zend_do_if_cond()
1252 SET_UNUSED(opline->op1); in zend_do_if_after_statement()
1265 CG(active_op_array)->opcodes[*((int *) le->data)].op1.opline_num = next_op_number; in zend_do_if_end()
1318 …STRVAL(CONSTANT(opline_ptr->op1.constant)), Z_STRLEN(CONSTANT(opline_ptr->op1.constant)), Z_HASH_P… in zend_do_end_variable_parse()
1319 Z_TYPE(CONSTANT(opline_ptr->op1.constant)) = IS_NULL; in zend_do_end_variable_parse()
1321 zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); in zend_do_end_variable_parse()
1347 opline->op1.var == this_var) { in zend_do_end_variable_parse()
1349 opline->op1.var = CG(active_op_array)->this_var; in zend_do_end_variable_parse()
1391 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string() argument
1411 if (op1) { in zend_do_add_string()
1412 SET_NODE(opline->op1, op1); in zend_do_add_string()
1413 SET_NODE(opline->result, op1); in zend_do_add_string()
1415 SET_UNUSED(opline->op1); in zend_do_add_string()
1424 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable() argument
1430 if (op1) { in zend_do_add_variable()
1431 SET_NODE(opline->op1, op1); in zend_do_add_variable()
1432 SET_NODE(opline->result, op1); in zend_do_add_variable()
1434 SET_UNUSED(opline->op1); in zend_do_add_variable()
1443 void zend_do_free(znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_free()
1445 if (op1->op_type==IS_TMP_VAR) { in zend_do_free()
1449 SET_NODE(opline->op1, op1); in zend_do_free()
1451 } else if (op1->op_type==IS_VAR) { in zend_do_free()
1458 && opline->result.var == op1->u.op.var) { in zend_do_free()
1468 SET_NODE(opline->op1, op1); in zend_do_free()
1477 && opline->op1.var == op1->u.op.var) { in zend_do_free()
1484 && opline->result.var == op1->u.op.var) { in zend_do_free()
1493 } else if (op1->op_type == IS_CONST) { in zend_do_free()
1494 zval_dtor(&op1->u.constant); in zend_do_free()
1706 opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); in zend_do_begin_function_declaration()
1707 …HASH_P(&CONSTANT(opline->op1.constant)) = zend_hash_func(Z_STRVAL(CONSTANT(opline->op1.constant)),… in zend_do_begin_function_declaration()
1712 …(function_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &op_arr… in zend_do_begin_function_declaration()
1722 SET_UNUSED(opline->op1); in zend_do_begin_function_declaration()
1788 SET_UNUSED(opline->op1); in zend_do_handle_exception()
1864 SET_NODE(opline->op1, offset); in zend_do_receive_arg()
1997 SET_UNUSED(opline->op1); in zend_do_begin_method_call()
2017 SET_NODE(opline->op1, expr); in zend_do_clone()
2035 SET_UNUSED(opline->op1); in zend_do_begin_dynamic_function_call()
2041 SET_UNUSED(opline->op1); in zend_do_begin_dynamic_function_call()
2199 SET_UNUSED(opline->op1); in zend_do_fetch_class()
2278 opline->op1.opline_num = dest->opline_num; in zend_resolve_goto_label()
2318 SET_UNUSED(opline->op1); in zend_do_goto()
2402 opline->op1.constant = in zend_do_begin_class_member_function_call()
2405 SET_NODE(opline->op1, &class_node); in zend_do_begin_class_member_function_call()
2440 SET_NODE(opline->op1, function_name); in zend_do_end_function_call()
2441 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_end_function_call()
2442 GET_CACHE_SLOT(opline->op1.constant); in zend_do_end_function_call()
2445 SET_UNUSED(opline->op1); in zend_do_end_function_call()
2560 SET_NODE(opline->op1, param); in zend_do_pass_param()
2577 SET_NODE(opline->op1, &switch_entry->cond); in generate_free_switch_expr()
2596 COPY_NODE(opline->op1, foreach_copy->result); in generate_free_foreach_copy()
2604 COPY_NODE(opline->op1, foreach_copy->op1); in generate_free_foreach_copy()
2647 SET_NODE(opline->op1, expr); in zend_do_return()
2654 LITERAL_NULL(opline->op1); in zend_do_return()
2691 SET_UNUSED(opline->op1); in zend_initialize_try_catch_element()
2748 …opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &catch_class.u.constant TS… in zend_do_begin_catch()
2765 SET_UNUSED(opline->op1); in zend_do_end_catch()
2782 SET_NODE(opline->op1, expr); in zend_do_throw()
3139 && op->op1.num == (long)idx) in zend_get_function_declaration()
4239 zval *op1, *op2; in do_bind_function() local
4242 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_function()
4245 op1 = opline->op1.zv; in do_bind_function()
4249 …zend_hash_quick_find(function_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void *) &fu… in do_bind_function()
4345 zval *op1, *op2; in do_bind_class() local
4348 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_class()
4351 op1 = opline->op1.zv; in do_bind_class()
4354 …if (zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void **) &… in do_bind_class()
4355 …_error(E_COMPILE_ERROR, "Internal Zend error - Missing class information for %s", Z_STRVAL_P(op1)); in do_bind_class()
4385 zval *op1, *op2; in do_bind_inherited_class() local
4388 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_inherited_class()
4391 op1 = opline->op1.zv; in do_bind_inherited_class()
4395 …found_ce = zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (voi… in do_bind_inherited_class()
4496 …able, Z_STRVAL(CONSTANT(opline->op1.constant)), Z_STRLEN(CONSTANT(opline->op1.constant)), Z_HASH_P… in zend_do_early_binding()
4497 zend_del_literal(CG(active_op_array), opline->op1.constant); in zend_do_early_binding()
4534 SET_NODE(opline->op1, expr1); in zend_do_boolean_or_begin()
4550 SET_NODE(opline->op1, expr2); in zend_do_boolean_or_end()
4569 SET_NODE(opline->op1, expr1); in zend_do_boolean_and_begin()
4585 SET_NODE(opline->op1, expr2); in zend_do_boolean_and_end()
4604 SET_NODE(opline->op1, expr); in zend_do_do_while_end()
4619 opline->op1.opline_num = CG(context).current_brk_cont; in zend_do_brk_cont()
4620 SET_UNUSED(opline->op1); in zend_do_brk_cont()
4661 SET_UNUSED(opline->op1); in zend_do_switch_end()
4663 opline->op1.opline_num = switch_entry_ptr->default_case; in zend_do_switch_end()
4669 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_switch_end()
4680 SET_NODE(opline->op1, &switch_entry_ptr->cond); in zend_do_switch_end()
4708 SET_NODE(opline->op1, &switch_entry_ptr->cond); in zend_do_case_before_statement()
4711 zval_copy_ctor(&CONSTANT(opline->op1.constant)); in zend_do_case_before_statement()
4718 SET_NODE(opline->op1, &result); in zend_do_case_before_statement()
4726 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_case_before_statement()
4736 SET_UNUSED(opline->op1); in zend_do_case_after_statement()
4742 …CG(active_op_array)->opcodes[case_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(a… in zend_do_case_after_statement()
4760 SET_UNUSED(opline->op1); in zend_do_default_before_statement()
4770 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_default_before_statement()
4854 opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); in zend_do_begin_class_declaration()
4855 …HASH_P(&CONSTANT(opline->op1.constant)) = zend_hash_func(Z_STRVAL(CONSTANT(opline->op1.constant)),… in zend_do_begin_class_declaration()
4874 …(CG(class_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &new_cl… in zend_do_begin_class_declaration()
4895 SET_NODE(opline->op1, &CG(implementing_class)); in do_verify_abstract_class()
4938 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_end_class_declaration()
4985 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_implements_interface()
5017 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_use_trait()
5177 zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); in zend_do_fetch_property()
5178 SET_UNUSED(opline_ptr->op1); /* this means $this for objects */ in zend_do_fetch_property()
5213 SET_NODE(opline.op1, object); in zend_do_fetch_property()
5216 opline.result.var = opline.op1.var; in zend_do_fetch_property()
5224 SET_NODE(opline.op1, object); in zend_do_fetch_property()
5286 SET_NODE(opline->op1, class_type); in zend_do_begin_new_object()
5401 …opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &constant_container->u.con… in zend_do_fetch_constant()
5403 SET_NODE(opline->op1, constant_container); in zend_do_fetch_constant()
5451 SET_UNUSED(opline->op1); in zend_do_fetch_constant()
5485 SET_NODE(opline->op1, cmd); in zend_do_shell_exec()
5495 …LITERAL_STRINGL(opline->op1, estrndup("shell_exec", sizeof("shell_exec")-1), sizeof("shell_exec")-… in zend_do_shell_exec()
5496 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_shell_exec()
5498 GET_CACHE_SLOT(opline->op1.constant); in zend_do_shell_exec()
5514 SET_NODE(opline->op1, expr); in zend_do_init_array()
5533 SET_UNUSED(opline->op1); in zend_do_init_array()
5546 SET_NODE(opline->op1, expr); in zend_do_add_array_element()
5682 SET_NODE(opline->op1, &last_container); in zend_do_list_end()
5775 SET_NODE(opline->op1, varname); in zend_do_fetch_static_variable()
5777 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_fetch_static_variable()
5837 SET_NODE(opline->op1, varname); in zend_do_fetch_global_variable()
5839 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_fetch_global_variable()
5862 SET_NODE(opline->op1, expr); in zend_do_cast()
5869 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_include_or_eval()
5878 SET_NODE(opline->op1, op1); in zend_do_include_or_eval()
5914 SET_NODE(opline->op1, variable); in zend_do_unset()
5951 SET_NODE(last_op->op1, variable); in zend_do_isset_or_isempty()
5997 SET_NODE(opline->op1, expr); in zend_do_instanceof()
6043 SET_NODE(opline->op1, array); in zend_do_foreach_begin()
6049 COPY_NODE(dummy_opline.op1, CG(active_op_array)->opcodes[CG(active_op_array)->last-2].op1); in zend_do_foreach_begin()
6062 COPY_NODE(opline->op1, dummy_opline.result); in zend_do_foreach_begin()
6068 SET_UNUSED(opline->op1); in zend_do_foreach_begin()
6162 opline->op1.opline_num = as_token->u.op.opline_num; in zend_do_foreach_end()
6163 SET_UNUSED(opline->op1); in zend_do_foreach_end()
6265 SET_NODE(opline->op1, message); in zend_do_exit()
6281 SET_UNUSED(opline->op1); in zend_do_begin_silence()
6292 SET_NODE(opline->op1, strudel_token); in zend_do_end_silence()
6310 SET_NODE(opline->op1, value); in zend_do_jmp_set()
6339 SET_NODE(opline->op1, false_value); in zend_do_jmp_set_else()
6358 SET_NODE(opline->op1, cond); in zend_do_begin_qm_op()
6381 SET_NODE(opline->op1, true_value); in zend_do_qm_true()
6389 SET_UNUSED(opline->op1); in zend_do_qm_true()
6411 SET_NODE(opline->op1, false_value); in zend_do_qm_false()
6414 …CG(active_op_array)->opcodes[colon_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(… in zend_do_qm_false()
6433 SET_UNUSED(opline->op1); in zend_do_extended_info()
6449 SET_UNUSED(opline->op1); in zend_do_extended_fcall_begin()
6465 SET_UNUSED(opline->op1); in zend_do_extended_fcall_end()
6475 SET_UNUSED(opline->op1); in zend_do_ticks()
6889 SET_NODE(opline->op1, name); in zend_do_declare_constant()