Home
last modified time | relevance | path

Searched refs:op1 (Results 1 – 25 of 60) sorted by relevance

123

/PHP-8.3/Zend/
H A Dzend_operators.c497 op1 = Z_REFVAL_P(op1); \
1515 op1 = Z_REFVAL_P(op1); in boolean_xor_function()
1562 op1 = Z_REFVAL_P(op1); in boolean_not_function()
1616 op1 = Z_REFVAL_P(op1); in bitwise_not_function()
1961 op1 = Z_REFVAL_P(op1); in concat_function()
2313 op1 = Z_REFVAL_P(op1); in zend_compare()
2622 Z_DVAL_P(op1) = Z_DVAL_P(op1) + 1; in increment_function()
2670 op1 = Z_REFVAL_P(op1); in increment_function()
2676 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2710 Z_DVAL_P(op1) = Z_DVAL_P(op1) - 1; in decrement_function()
[all …]
H A Dzend_operators.h527 : "r"(&op1->value) in fast_long_increment_function()
538 : "r"(&op1->value) in fast_long_increment_function()
551 : "r"(&op1->value) in fast_long_increment_function()
578 Z_LVAL_P(op1)++; in fast_long_increment_function()
590 : "r"(&op1->value) in fast_long_decrement_function()
601 : "r"(&op1->value) in fast_long_decrement_function()
614 : "r"(&op1->value) in fast_long_decrement_function()
641 Z_LVAL_P(op1)--; in fast_long_decrement_function()
657 "r"(&op1->value), in fast_long_add_function()
675 "r"(&op1->value), in fast_long_add_function()
[all …]
H A Dzend_vm_gen.php586 if (($op1 == 'TMP' || $op1 == 'VAR') &&
588 $op1 = "TMPVAR";
589 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
596 $op1 = "ANY";
632 if (($op1 == 'TMP' || $op1 == 'VAR') &&
634 $op1 = "TMPVAR";
635 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
642 $op1 = "ANY";
953 return (($op1 === 'UNUSED') || ($op1 === 'CV')) && ($op2 === 'CONST');
1036 $op1 = "ANY";
[all …]
H A Dzend_vm_execute.h2763 op1 = Z_REFVAL_P(op1); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
7893 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_CONST_CONST_HANDLER()
7921 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_CONST_CONST_HANDLER()
10950 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_CONST_UNUSED_HANDLER()
10992 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_CONST_UNUSED_HANDLER()
18227 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_TMPVAR_UNUSED_HANDLER()
18284 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_TMPVAR_UNUSED_HANDLER()
20324 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER()
20352 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER()
25597 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_VAR_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h950 zval *op1; variable
6137 zval *op1; variable
6258 op1 = Z_REFVAL_P(op1);
9070 zval *op1 = EX_VAR(opline->op1.var); variable
9083 zval *op1 = EX_VAR(opline->op1.var); variable
9100 op1 = Z_INDIRECT_P(op1);
9229 zval *op1; variable
9249 op1 = Z_REFVAL_P(op1);
9277 op1 = Z_REFVAL_P(op1);
9338 op1 = Z_REFVAL_P(op1);
[all …]
H A Dzend_ast.c537 zval op1, op2; in zend_ast_evaluate_inner() local
577 ret = op(result, &op1); in zend_ast_evaluate_inner()
630 if (zend_is_true(&op1)) { in zend_ast_evaluate_inner()
641 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate_inner()
648 if (zend_is_true(&op1)) { in zend_ast_evaluate_inner()
659 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate_inner()
668 *result = op1; in zend_ast_evaluate_inner()
692 *result = op1; in zend_ast_evaluate_inner()
706 ZVAL_LONG(&op1, 0); in zend_ast_evaluate_inner()
715 ZVAL_LONG(&op1, -1); in zend_ast_evaluate_inner()
[all …]
H A Dzend_ini_parser.y65 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
72 i_op1 = get_int_val(op1); in zend_ini_do_op()
118 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
122 if (Z_TYPE_P(op1) != IS_STRING) { in zend_ini_add_string()
126 zend_string *str = zval_get_tmp_string(op1, &tmp_str); in zend_ini_add_string()
127 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string()
130 ZVAL_STR(op1, zval_get_string_func(op1)); in zend_ini_add_string()
133 op1_len = (int)Z_STRLEN_P(op1); in zend_ini_add_string()
140 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string()
/PHP-8.3/Zend/Optimizer/
H A Dsccp.c390 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_fetch_dim()
413 ZVAL_BOOL(result, op1 && Z_TYPE_P(op1) != IS_NULL); in ct_eval_isset_isempty()
427 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_isset_dim()
672 if (Z_TYPE_P(op1) != IS_LONG && Z_TYPE_P(op1) != IS_DOUBLE && Z_TYPE_P(op1) != IS_NULL) { in ct_eval_incdec()
744 if (Z_TYPE_P(op1) != IS_STRING && Z_TYPE_P(op1) != IS_LONG && Z_TYPE_P(op1) != IS_NULL) { in ct_eval_array_key_exists()
1096 if (op1) { in sccp_visit_instr()
1125 if ((op1 && IS_BOT(op1)) in sccp_visit_instr()
1228 if ((op1 && IS_BOT(op1)) || (op2 && IS_BOT(op2))) { in sccp_visit_instr()
1274 if (op1) { in sccp_visit_instr()
1332 if (op1 && IS_PARTIAL_OBJECT(op1) in sccp_visit_instr()
[all …]
H A Dpass3.c83 ZEND_SET_OP_JMP_ADDR(opline, opline->op1, target); in zend_optimizer_pass3()
141 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
147 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
177 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
178 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
185 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
186 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
192 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
193 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
200 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
[all …]
H A Dblock_pass.c159 znode_op op1 = opline->op1; in zend_optimize_block() local
162 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
224 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
486 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
494 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
624 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
633 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
669 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
706 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
735 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
[all …]
H A Dzend_optimizer_internal.h30 #define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
31 #define ZEND_OP1_JMP_ADDR(opline) OP_JMP_ADDR(opline, (opline)->op1)
44 #define SAME_VAR(op1, op2) (op1 ## _type == op2 ## _type && op1.var == op2.var) argument
86 zend_result zend_optimizer_eval_binary_op(zval *result, uint8_t opcode, zval *op1, zval *op2);
87 zend_result zend_optimizer_eval_unary_op(zval *result, uint8_t opcode, zval *op1);
88 zend_result zend_optimizer_eval_cast(zval *result, uint32_t type, zval *op1);
89 zend_result zend_optimizer_eval_strlen(zval *result, const zval *op1);
H A Dcompact_literals.c98 zval *class_name = &op_array->literals[op1]; in add_static_slot()
186 LITERAL_INFO(opline->op1.constant, 1); in zend_optimizer_compact_literals()
194 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
201 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
212 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
253 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
494 opline->op1.constant = map[opline->op1.constant]; in zend_optimizer_compact_literals()
526 opline->op1.constant, in zend_optimizer_compact_literals()
633 opline->op1.constant, in zend_optimizer_compact_literals()
678 opline->op1.constant, in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer.c63 return binary_op(result, op1, op2); in zend_optimizer_eval_binary_op()
75 return unary_op(result, op1); in zend_optimizer_eval_unary_op()
101 if (Z_TYPE_P(op1) != IS_ARRAY && Z_TYPE_P(op1) != IS_DOUBLE) { in zend_optimizer_eval_cast()
107 ZVAL_COPY(result, op1); in zend_optimizer_eval_cast()
117 if (Z_TYPE_P(op1) != IS_STRING) { in zend_optimizer_eval_strlen()
120 ZVAL_LONG(result, Z_STRLEN_P(op1)); in zend_optimizer_eval_strlen()
630 opline->op1.var == var) { in zend_optimizer_replace_by_const()
817 zval *op1 = CRT_CONSTANT(opline->op1); in zend_optimizer_get_class_entry_from_op1() local
818 if (Z_TYPE_P(op1) == IS_STRING) { in zend_optimizer_get_class_entry_from_op1()
1147 opline->op1.jmp_addr = &op_array->opcodes[opline->op1.jmp_addr - old_opcodes]; in zend_redo_pass_two()
[all …]
H A Ddfa_pass.c362 && opline->op1.var == cv_var in opline_supports_assign_contraction()
486 call_info->caller_call_opline->op1.num = send_needly->op1.num; in zend_dfa_optimize_calls()
790 COPY_NODE(opline->op1, opline->op2); in zend_dfa_optimize_jmps()
972 SET_UNUSED(opline->op1); in zend_dfa_optimize_jmps()
1054 op_array->opcodes[use].op1.var = cv; in zend_dfa_try_to_replace_result()
1211 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1233 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1278 opline->op2.var = opline->op1.var; in zend_dfa_optimize_op_array()
1521 src_var, opline->op1.var) in zend_dfa_optimize_op_array()
1631 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
[all …]
H A Dzend_dfg.c28 var_num = EX_VAR_TO_NUM(opline->op1.var); in _zend_dfg_add_use_def_op()
58 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op1.var)); in _zend_dfg_add_use_def_op()
73 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
88 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
103 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
115 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
127 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
137 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
H A Dzend_ssa.c199 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
204 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
212 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
215 zv = CRT_CONSTANT_EX(op_array, op, op->op1); in find_adjusted_tmp_var()
227 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
269 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
277 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
307 var1 = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
441 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
463 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
[all …]
H A Dzend_inference.h122 DEFINE_SSA_OP_HAS_RANGE(op1)
123 DEFINE_SSA_OP_MIN_RANGE(op1)
124 DEFINE_SSA_OP_MAX_RANGE(op1)
125 DEFINE_SSA_OP_RANGE_UNDERFLOW(op1)
126 DEFINE_SSA_OP_RANGE_OVERFLOW(op1)
191 DEFINE_SSA_OP_INFO(op1)
194 DEFINE_SSA_OP_DEF_INFO(op1) in DEFINE_SSA_OP_INFO()
H A Dcompact_vars.c40 zend_bitset_incl(used_vars, VAR_NUM(opline->op1.var)); in zend_optimizer_compact_vars()
88 opline->op1.var = NUM_VAR(vars_map[VAR_NUM(opline->op1.var)]); in zend_optimizer_compact_vars()
H A Doptimize_temp_vars_5.c81 currT = VAR_NUM(opline->op1.var) - offset; in zend_optimize_temporary_variables()
94 opline->op1.var = NUM_VAR(var + offset); in zend_optimize_temporary_variables()
135 opline->op1.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
/PHP-8.3/ext/zend_test/
H A Dobject_handlers.c50 if (IS_DONC(op1)) { in donc_add()
53 val_1 = zval_get_long(op1); in donc_add()
67 if (IS_DONC(op1)) { in donc_mul()
70 val_1 = zval_get_long(op1); in donc_mul()
86 if (result == op1) { in donc_do_operation()
87 ZVAL_COPY_VALUE(&op1_copy, op1); in donc_do_operation()
88 op1 = &op1_copy; in donc_do_operation()
93 donc_add(result, op1, op2); in donc_do_operation()
98 donc_mul(result, op1, op2); in donc_do_operation()
107 if (status == SUCCESS && op1 == &op1_copy) { in donc_do_operation()
[all …]
/PHP-8.3/Zend/tests/
H A Dbug37046.phpt11 echo "op1 $k\n";
20 op1 0
23 op1 1
/PHP-8.3/ext/intl/collator/
H A Dcollator_sort.c51 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2) in collator_regular_compare_function() argument
62 str1_p = collator_convert_object_to_string( op1, &str1 ); in collator_regular_compare_function()
136 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) in collator_numeric_compare_function() argument
142 if( Z_TYPE_P(op1) == IS_STRING ) in collator_numeric_compare_function()
144 num1_p = collator_convert_string_to_double( op1, &num1 ); in collator_numeric_compare_function()
145 op1 = num1_p; in collator_numeric_compare_function()
154 ZVAL_LONG(result, numeric_compare_function(op1, op2)); in collator_numeric_compare_function()
168 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2) in collator_icu_compare_function() argument
171 zend_string *str1 = collator_zval_to_string(op1); in collator_icu_compare_function()
H A Dcollator_sort.h21 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
/PHP-8.3/ext/standard/
H A Dphp_string.h61 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, bool case_insensi…
62 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2);
63 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2);
/PHP-8.3/ext/opcache/tests/opt/
H A Dinference_008.phpt2 Type inference 008: ASSIGN_DIM with invalid op1

Completed in 283 milliseconds

123