Lines Matching refs:op1
584 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) … in zend_do_binary_op() argument
591 SET_NODE(opline->op1, op1); in zend_do_binary_op()
597 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_unary_op()
604 SET_NODE(opline->op1, op1); in zend_do_unary_op()
610 …mset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset…
615 SET_NODE(data_op->op1, value); in zend_do_op_data()
620 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
653 SET_NODE(opline->op1, op1); in zend_do_binary_assign_op()
698 SET_NODE(opline_ptr->op1, varname); in fetch_simple_variable_ex()
704 CALCULATE_LITERAL_HASH(opline_ptr->op1.constant); in fetch_simple_variable_ex()
705 …u.constant), Z_STRLEN(varname->u.constant), Z_HASH_P(&CONSTANT(opline_ptr->op1.constant)) TSRMLS_C… in fetch_simple_variable_ex()
747 …LITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[result->u.op.var].name), CG(active_o… in zend_do_fetch_static_member()
748 CALCULATE_LITERAL_HASH(opline.op1.constant); in zend_do_fetch_static_member()
749 GET_POLYMORPHIC_CACHE_SLOT(opline.op1.constant); in zend_do_fetch_static_member()
772 …ITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[opline_ptr->op1.var].name), CG(active… in zend_do_fetch_static_member()
773 CALCULATE_LITERAL_HASH(opline.op1.constant); in zend_do_fetch_static_member()
774 GET_POLYMORPHIC_CACHE_SLOT(opline.op1.constant); in zend_do_fetch_static_member()
783 COPY_NODE(opline_ptr->op1, opline.result); in zend_do_fetch_static_member()
788 GET_POLYMORPHIC_CACHE_SLOT(opline_ptr->op1.constant); in zend_do_fetch_static_member()
821 SET_NODE(opline.op1, parent); in fetch_array_dim()
824 opline.result.var = opline.op1.var; in fetch_array_dim()
832 SET_NODE(opline.op1, parent); in fetch_array_dim()
866 SET_NODE(opline->op1, arg); in zend_do_print()
877 SET_NODE(opline->op1, arg); in zend_do_echo()
901 SET_UNUSED(opline->op1); in zend_do_abstract_method()
918 && (Z_TYPE(CONSTANT(opline->op1.constant)) == IS_STRING) in opline_is_fetch_this()
920 && (Z_HASH_P(&CONSTANT(opline->op1.constant)) == THIS_HASHVAL) in opline_is_fetch_this()
921 && (Z_STRLEN(CONSTANT(opline->op1.constant)) == (sizeof("this")-1)) in opline_is_fetch_this()
922 && !memcmp(Z_STRVAL(CONSTANT(opline->op1.constant)), "this", sizeof("this") - 1)) { in opline_is_fetch_this()
944 opline->op1.var == value->u.op.var) { in zend_do_assign()
951 LITERAL_STRINGL(opline->op1, in zend_do_assign()
954 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_assign()
1025 SET_NODE(opline->op1, variable); in zend_do_assign()
1068 SET_NODE(opline->op1, lvar); in zend_do_assign_ref()
1106 SET_NODE(opline->op1, expr); in zend_do_while_cond()
1121 opline->op1.opline_num = while_token->u.op.opline_num; in zend_do_while_end()
1122 SET_UNUSED(opline->op1); in zend_do_while_end()
1140 SET_NODE(opline->op1, expr); /* the conditional expression */ in zend_do_for_cond()
1151 opline->op1.opline_num = cond_start->u.op.opline_num; in zend_do_for_before_statement()
1153 SET_UNUSED(opline->op1); in zend_do_for_before_statement()
1167 opline->op1.opline_num = second_semicolon_token->u.op.opline_num+1; in zend_do_for_end()
1169 SET_UNUSED(opline->op1); in zend_do_for_end()
1178 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_pre_incdec() argument
1197 SET_NODE(opline->op1, op1); in zend_do_pre_incdec()
1205 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) /* {{{ */ in zend_do_post_incdec() argument
1224 SET_NODE(opline->op1, op1); in zend_do_post_incdec()
1238 SET_NODE(opline->op1, cond); in zend_do_if_cond()
1263 SET_UNUSED(opline->op1); in zend_do_if_after_statement()
1276 CG(active_op_array)->opcodes[*((int *) le->data)].op1.opline_num = next_op_number; in zend_do_if_end()
1329 …STRVAL(CONSTANT(opline_ptr->op1.constant)), Z_STRLEN(CONSTANT(opline_ptr->op1.constant)), Z_HASH_P… in zend_do_end_variable_parse()
1330 Z_TYPE(CONSTANT(opline_ptr->op1.constant)) = IS_NULL; in zend_do_end_variable_parse()
1332 zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); in zend_do_end_variable_parse()
1358 opline->op1.var == this_var) { in zend_do_end_variable_parse()
1360 opline->op1.var = CG(active_op_array)->this_var; in zend_do_end_variable_parse()
1402 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string() argument
1422 if (op1) { in zend_do_add_string()
1423 SET_NODE(opline->op1, op1); in zend_do_add_string()
1424 SET_NODE(opline->result, op1); in zend_do_add_string()
1426 SET_UNUSED(opline->op1); in zend_do_add_string()
1435 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable() argument
1441 if (op1) { in zend_do_add_variable()
1442 SET_NODE(opline->op1, op1); in zend_do_add_variable()
1443 SET_NODE(opline->result, op1); in zend_do_add_variable()
1445 SET_UNUSED(opline->op1); in zend_do_add_variable()
1454 void zend_do_free(znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_free()
1456 if (op1->op_type==IS_TMP_VAR) { in zend_do_free()
1460 SET_NODE(opline->op1, op1); in zend_do_free()
1462 } else if (op1->op_type==IS_VAR) { in zend_do_free()
1469 && opline->result.var == op1->u.op.var) { in zend_do_free()
1479 SET_NODE(opline->op1, op1); in zend_do_free()
1488 && opline->op1.var == op1->u.op.var) { in zend_do_free()
1495 && opline->result.var == op1->u.op.var) { in zend_do_free()
1504 } else if (op1->op_type == IS_CONST) { in zend_do_free()
1505 zval_dtor(&op1->u.constant); in zend_do_free()
1744 opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); in zend_do_begin_function_declaration()
1745 …HASH_P(&CONSTANT(opline->op1.constant)) = zend_hash_func(Z_STRVAL(CONSTANT(opline->op1.constant)),… in zend_do_begin_function_declaration()
1750 …(function_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &op_arr… in zend_do_begin_function_declaration()
1761 SET_UNUSED(opline->op1); in zend_do_begin_function_declaration()
1826 SET_UNUSED(opline->op1); in zend_do_handle_exception()
1907 opline->op1.num = CG(active_op_array)->num_args; in zend_do_receive_param()
2054 SET_UNUSED(opline->op1); in zend_do_begin_method_call()
2077 SET_NODE(opline->op1, expr); in zend_do_clone()
2095 SET_UNUSED(opline->op1); in zend_do_begin_dynamic_function_call()
2102 SET_UNUSED(opline->op1); in zend_do_begin_dynamic_function_call()
2346 SET_UNUSED(opline->op1); in zend_do_fetch_class()
2425 opline->op1.opline_num = dest->opline_num; in zend_resolve_goto_label()
2465 SET_UNUSED(opline->op1); in zend_do_goto()
2549 opline->op1.constant = in zend_do_begin_class_member_function_call()
2552 SET_NODE(opline->op1, &class_node); in zend_do_begin_class_member_function_call()
2592 SET_NODE(opline->op1, function_name); in zend_do_end_function_call()
2595 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_end_function_call()
2596 GET_CACHE_SLOT(opline->op1.constant); in zend_do_end_function_call()
2599 SET_UNUSED(opline->op1); in zend_do_end_function_call()
2730 SET_NODE(opline->op1, param); in zend_do_pass_param()
2758 SET_UNUSED(opline->op1); in zend_do_unpack_params()
2769 SET_NODE(opline->op1, params); in zend_do_unpack_params()
2786 SET_NODE(opline->op1, &switch_entry->cond); in generate_free_switch_expr()
2805 COPY_NODE(opline->op1, foreach_copy->result); in generate_free_foreach_copy()
2847 SET_UNUSED(opline->op1); in zend_do_return()
2856 SET_NODE(opline->op1, expr); in zend_do_return()
2865 LITERAL_NULL(opline->op1); in zend_do_return()
2895 SET_NODE(opline->op1, value); in zend_do_yield()
2901 SET_UNUSED(opline->op1); in zend_do_yield()
2949 SET_UNUSED(opline->op1); in zend_initialize_try_catch_element()
2991 SET_UNUSED(opline->op1); in zend_do_finally()
2992 opline->op1.opline_num = finally_token->u.op.opline_num + 1; in zend_do_finally()
2999 SET_UNUSED(opline->op1); in zend_do_finally()
3028 …opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &catch_class.u.constant TS… in zend_do_begin_catch()
3045 SET_UNUSED(opline->op1); in zend_do_end_catch()
3077 SET_UNUSED(opline->op1); in zend_do_end_finally()
3080 …CG(active_op_array)->opcodes[finally_token->u.op.opline_num].op1.opline_num = get_next_op_number(C… in zend_do_end_finally()
3093 SET_NODE(opline->op1, expr); in zend_do_throw()
3471 && op->op1.num == (long)idx) in zend_get_function_declaration()
4594 zval *op1, *op2; in do_bind_function() local
4597 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_function()
4600 op1 = opline->op1.zv; in do_bind_function()
4604 …zend_hash_quick_find(function_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void *) &fu… in do_bind_function()
4696 zval *op1, *op2; in do_bind_class() local
4699 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_class()
4702 op1 = opline->op1.zv; in do_bind_class()
4705 …if (zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void **) &… in do_bind_class()
4706 …return(E_COMPILE_ERROR, "Internal Zend error - Missing class information for %s", Z_STRVAL_P(op1)); in do_bind_class()
4736 zval *op1, *op2; in do_bind_inherited_class() local
4739 op1 = &CONSTANT_EX(op_array, opline->op1.constant); in do_bind_inherited_class()
4742 op1 = opline->op1.zv; in do_bind_inherited_class()
4746 …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()
4847 …able, Z_STRVAL(CONSTANT(opline->op1.constant)), Z_STRLEN(CONSTANT(opline->op1.constant)), Z_HASH_P… in zend_do_early_binding()
4848 zend_del_literal(CG(active_op_array), opline->op1.constant); in zend_do_early_binding()
4885 SET_NODE(opline->op1, expr1); in zend_do_boolean_or_begin()
4901 SET_NODE(opline->op1, expr2); in zend_do_boolean_or_end()
4920 SET_NODE(opline->op1, expr1); in zend_do_boolean_and_begin()
4936 SET_NODE(opline->op1, expr2); in zend_do_boolean_and_end()
4955 SET_NODE(opline->op1, expr); in zend_do_do_while_end()
4970 opline->op1.opline_num = CG(context).current_brk_cont; in zend_do_brk_cont()
4971 SET_UNUSED(opline->op1); in zend_do_brk_cont()
5012 SET_UNUSED(opline->op1); in zend_do_switch_end()
5014 opline->op1.opline_num = switch_entry_ptr->default_case; in zend_do_switch_end()
5020 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_switch_end()
5031 SET_NODE(opline->op1, &switch_entry_ptr->cond); in zend_do_switch_end()
5059 SET_NODE(opline->op1, &switch_entry_ptr->cond); in zend_do_case_before_statement()
5062 zval_copy_ctor(&CONSTANT(opline->op1.constant)); in zend_do_case_before_statement()
5069 SET_NODE(opline->op1, &result); in zend_do_case_before_statement()
5077 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_case_before_statement()
5087 SET_UNUSED(opline->op1); in zend_do_case_after_statement()
5093 …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()
5111 SET_UNUSED(opline->op1); in zend_do_default_before_statement()
5121 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; in zend_do_default_before_statement()
5205 opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); in zend_do_begin_class_declaration()
5206 …HASH_P(&CONSTANT(opline->op1.constant)) = zend_hash_func(Z_STRVAL(CONSTANT(opline->op1.constant)),… in zend_do_begin_class_declaration()
5225 …(CG(class_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &new_cl… in zend_do_begin_class_declaration()
5246 SET_NODE(opline->op1, &CG(implementing_class)); in do_verify_abstract_class()
5289 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_end_class_declaration()
5336 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_implements_interface()
5368 SET_NODE(opline->op1, &CG(implementing_class)); in zend_do_use_trait()
5531 zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); in zend_do_fetch_property()
5532 SET_UNUSED(opline_ptr->op1); /* this means $this for objects */ in zend_do_fetch_property()
5567 SET_NODE(opline.op1, object); in zend_do_fetch_property()
5570 opline.result.var = opline.op1.var; in zend_do_fetch_property()
5578 SET_NODE(opline.op1, object); in zend_do_fetch_property()
5640 SET_NODE(opline->op1, class_type); in zend_do_begin_new_object()
5757 …opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &constant_container->u.con… in zend_do_fetch_constant()
5759 SET_NODE(opline->op1, constant_container); in zend_do_fetch_constant()
5807 SET_UNUSED(opline->op1); in zend_do_fetch_constant()
5841 SET_NODE(opline->op1, cmd); in zend_do_shell_exec()
5851 …LITERAL_STRINGL(opline->op1, estrndup("shell_exec", sizeof("shell_exec")-1), sizeof("shell_exec")-… in zend_do_shell_exec()
5852 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_shell_exec()
5854 GET_CACHE_SLOT(opline->op1.constant); in zend_do_shell_exec()
5878 SET_NODE(opline->op1, expr); in zend_do_init_array()
5897 SET_UNUSED(opline->op1); in zend_do_init_array()
5910 SET_NODE(opline->op1, expr); in zend_do_add_array_element()
6039 SET_NODE(opline->op1, &last_container); in zend_do_list_end()
6132 SET_NODE(opline->op1, varname); in zend_do_fetch_static_variable()
6134 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_fetch_static_variable()
6194 SET_NODE(opline->op1, varname); in zend_do_fetch_global_variable()
6196 CALCULATE_LITERAL_HASH(opline->op1.constant); in zend_do_fetch_global_variable()
6219 SET_NODE(opline->op1, expr); in zend_do_cast()
6226 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */ in zend_do_include_or_eval()
6235 SET_NODE(opline->op1, op1); in zend_do_include_or_eval()
6271 SET_NODE(opline->op1, variable); in zend_do_unset()
6317 SET_NODE(last_op->op1, variable); in zend_do_isset_or_isempty()
6363 SET_NODE(opline->op1, expr); in zend_do_instanceof()
6390 SET_NODE(opline->op1, array); in zend_do_foreach_begin()
6393 opline->result.var = opline->op1.var; in zend_do_foreach_begin()
6409 SET_NODE(opline->op1, array); in zend_do_foreach_begin()
6423 COPY_NODE(opline->op1, dummy_opline.result); in zend_do_foreach_begin()
6429 SET_UNUSED(opline->op1); in zend_do_foreach_begin()
6530 opline->op1.opline_num = as_token->u.op.opline_num; in zend_do_foreach_end()
6531 SET_UNUSED(opline->op1); in zend_do_foreach_end()
6633 SET_NODE(opline->op1, message); in zend_do_exit()
6649 SET_UNUSED(opline->op1); in zend_do_begin_silence()
6660 SET_NODE(opline->op1, strudel_token); in zend_do_end_silence()
6678 SET_NODE(opline->op1, value); in zend_do_jmp_set()
6707 SET_NODE(opline->op1, false_value); in zend_do_jmp_set_else()
6726 SET_NODE(opline->op1, cond); in zend_do_begin_qm_op()
6749 SET_NODE(opline->op1, true_value); in zend_do_qm_true()
6757 SET_UNUSED(opline->op1); in zend_do_qm_true()
6779 SET_NODE(opline->op1, false_value); in zend_do_qm_false()
6782 …CG(active_op_array)->opcodes[colon_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(… in zend_do_qm_false()
6801 SET_UNUSED(opline->op1); in zend_do_extended_info()
6817 SET_UNUSED(opline->op1); in zend_do_extended_fcall_begin()
6833 SET_UNUSED(opline->op1); in zend_do_extended_fcall_end()
6850 SET_UNUSED(opline->op1); in zend_do_ticks()
7389 SET_NODE(opline->op1, name); in zend_do_declare_constant()