Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 25 of 63) sorted by relevance

123

/PHP-8.2/Zend/
H A Dzend_operators.h644 "r"(&op2->value), in fast_long_add_function()
662 "r"(&op2->value), in fast_long_add_function()
682 "r"(&op2->value), in fast_long_add_function()
754 "r"(&op2->value), in fast_long_sub_function()
772 "r"(&op2->value), in fast_long_sub_function()
792 "r"(&op2->value), in fast_long_sub_function()
854 return zend_compare(op1, op2) == 0; in fast_equal_check_function()
862 return zend_compare(op1, op2) == 0; in fast_equal_check_long()
870 return zend_compare(op1, op2) == 0; in fast_equal_check_string()
880 return zend_is_identical(op1, op2); in fast_is_identical_function()
[all …]
H A Dzend_operators.c461 op2 = Z_REFVAL_P(op2); \
1058 ZVAL_DEREF(op2); in add_function_slow()
1476 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1600 longer = op2; in bitwise_or_function()
1682 longer = op2; in bitwise_and_function()
1764 longer = op2; in bitwise_xor_function()
1924 op2 = Z_REFVAL_P(op2); in concat_function()
2222 op2 = Z_REFVAL_P(op2); in zend_compare()
2233 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2537 zval op2; in increment_function() local
[all …]
H A Dzend_vm_gen.php600 if (($op2 == 'TMP' || $op2 == 'VAR') &&
602 $op2 = "TMPVAR";
603 } else if (($op2 == 'TMP' || $op2 == 'VAR') &&
610 $op2 = "ANY";
649 if (($op2 == 'TMP' || $op2 == 'VAR') &&
651 $op2 = "TMPVAR";
652 } else if (($op2 == 'TMP' || $op2 == 'VAR') &&
659 $op2 = "ANY";
1015 if ($op2 === "CONST") {
1037 $op2 = "ANY";
[all …]
H A Dzend_vm_execute.h7865 op2 = EX_VAR(opline->op2.var); in ZEND_ADD_SPEC_CONST_TMPVARCV_HANDLER()
7903 op2 = EX_VAR(opline->op2.var); in ZEND_SUB_SPEC_CONST_TMPVARCV_HANDLER()
7940 op2 = EX_VAR(opline->op2.var); in ZEND_MOD_SPEC_CONST_TMPVARCV_HANDLER()
7967 op2 = EX_VAR(opline->op2.var); in ZEND_SL_SPEC_CONST_TMPVARCV_HANDLER()
7988 op2 = EX_VAR(opline->op2.var); in ZEND_SR_SPEC_CONST_TMPVARCV_HANDLER()
8008 op2 = EX_VAR(opline->op2.var); in ZEND_IS_SMALLER_SPEC_CONST_TMPVARCV_HANDLER()
8051 op2 = EX_VAR(opline->op2.var); in ZEND_IS_SMALLER_SPEC_CONST_TMPVARCV_JMPZ_HANDLER()
8094 op2 = EX_VAR(opline->op2.var); in ZEND_IS_SMALLER_SPEC_CONST_TMPVARCV_JMPNZ_HANDLER()
8137 op2 = EX_VAR(opline->op2.var); in ZEND_IS_SMALLER_OR_EQUAL_SPEC_CONST_TMPVARCV_HANDLER()
8184 op2 = EX_VAR(opline->op2.var); in ZEND_IS_SMALLER_OR_EQUAL_SPEC_CONST_TMPVARCV_JMPZ_HANDLER()
[all …]
H A Dzend_vm_def.h209 zval *op1, *op2; variable
302 zval *op1, *op2; variable
344 zval *op1, *op2; variable
363 zval *op1, *op2; variable
377 zval *op1, *op2; variable
451 zval *op1, *op2; variable
466 zval *op1, *op2; variable
480 zval *op1, *op2; variable
517 zval *op1, *op2; variable
597 zval *op1, *op2; variable
[all …]
H A Dzend_ini_parser.y64 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
72 i_op2 = op2 ? get_int_val(op2) : 0; in zend_ini_do_op()
112 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
129 if (Z_TYPE_P(op2) != IS_STRING) { in zend_ini_add_string()
130 convert_to_string(op2); in zend_ini_add_string()
132 length = op1_len + (int)Z_STRLEN_P(op2); in zend_ini_add_string()
135 memcpy(Z_STRVAL_P(result) + op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2) + 1); in zend_ini_add_string()
H A Dzend_object_handlers.h157 …f zend_result (*zend_object_do_operation_t)(zend_uchar opcode, zval *result, zval *op1, zval *op2);
267 #define ZEND_COMPARE_OBJECTS_FALLBACK(op1, op2) \ argument
269 Z_TYPE_P(op2) != IS_OBJECT || \
270 Z_OBJ_HT_P(op1)->compare != Z_OBJ_HT_P(op2)->compare) { \
271 return zend_std_compare_objects(op1, op2); \
/PHP-8.2/Zend/Optimizer/
H A Dcompact_literals.c99 zval *prop_name = &op_array->literals[op2]; in add_static_slot()
179 LITERAL_INFO(opline->op2.constant, 2); in zend_optimizer_compact_literals()
182 LITERAL_INFO(opline->op2.constant, 3); in zend_optimizer_compact_literals()
214 LITERAL_INFO(opline->op2.constant, 1); in zend_optimizer_compact_literals()
495 opline->op2.constant = map[opline->op2.constant]; in zend_optimizer_compact_literals()
513 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
523 opline->op2.constant, in zend_optimizer_compact_literals()
632 opline->op2.constant, in zend_optimizer_compact_literals()
675 opline->op2.constant, in zend_optimizer_compact_literals()
701 opline->op2.constant, in zend_optimizer_compact_literals()
[all …]
H A Doptimize_func_calls.c126 SET_UNUSED(opline->op2); in zend_try_inline_call()
200 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
207 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
208 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
209 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
275 if (has_known_send_mode(&call_stack[call - 1], opline->op2.num)) { in zend_optimize_func_calls()
288 if (has_known_send_mode(&call_stack[call - 1], opline->op2.num)) { in zend_optimize_func_calls()
289 call_stack[call - 1].func_arg_num = opline->op2.num; in zend_optimize_func_calls()
310 if (has_known_send_mode(&call_stack[call - 1], opline->op2.num)) { in zend_optimize_func_calls()
325 if (has_known_send_mode(&call_stack[call - 1], opline->op2.num)) { in zend_optimize_func_calls()
[all …]
H A Dsccp.c730 if (Z_TYPE_P(op2) != IS_ARRAY && !IS_PARTIAL_ARRAY(op2)) { in ct_eval_array_key_exists()
894 if (op2) { in sccp_visit_instr()
898 if (op2 && IS_BOT(op2)) { in sccp_visit_instr()
926 if (!op2) { in sccp_visit_instr()
1089 if (op2) { in sccp_visit_instr()
1101 if (op2 && IS_BOT(op2)) { in sccp_visit_instr()
1126 if (!op2) { in sccp_visit_instr()
1217 if ((op1 && IS_BOT(op1)) || (op2 && IS_BOT(op2))) { in sccp_visit_instr()
1250 SKIP_IF_TOP(op2); in sccp_visit_instr()
1266 if (op2) { in sccp_visit_instr()
[all …]
H A Dzend_optimizer.c58 if (zend_binary_op_produces_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
63 return binary_op(result, op1, op2); in zend_optimizer_eval_binary_op()
218 SET_UNUSED(opline->op2); in zend_optimizer_convert_to_free_op1()
223 SET_UNUSED(opline->op2); in zend_optimizer_convert_to_free_op1()
328 opline->op2.num = alloc_cache_slots(op_array, 1); in zend_optimizer_update_op1_const()
696 opline->op2.var == var) { in zend_optimizer_replace_by_const()
1154 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two()
1158 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two()
1274 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two_ex()
1278 opline->op2.jmp_addr = &op_array->opcodes[opline->op2.jmp_addr - old_opcodes]; in zend_redo_pass_two_ex()
[all …]
H A Ddfa_pass.c798 opline->op2.num = 0; in zend_dfa_optimize_jmps()
805 opline->op2.num = 0; in zend_dfa_optimize_jmps()
829 opline->op2.num = 0; in zend_dfa_optimize_jmps()
836 opline->op2.num = 0; in zend_dfa_optimize_jmps()
973 SET_UNUSED(opline->op2); in zend_dfa_optimize_jmps()
1212 opline->op2.num = 0; in zend_dfa_optimize_op_array()
1261 opline->op2.num = 0; in zend_dfa_optimize_op_array()
1630 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1632 opline->op2.var = 0; in zend_dfa_optimize_op_array()
1650 SET_UNUSED(opline->op2); in zend_dfa_optimize_op_array()
[all …]
H A Dzend_optimizer_internal.h30 #define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]
31 #define ZEND_OP2_JMP_ADDR(opline) OP_JMP_ADDR(opline, (opline)->op2)
42 #define SAME_VAR(op1, op2) (op1 ## _type == op2 ## _type && op1.var == op2.var) argument
84 zend_result zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2);
H A Dblock_pass.c198 znode_op op2 = opline->op2; in zend_optimize_block() local
203 VAR_SOURCE(op2) = NULL; in zend_optimize_block()
454 SET_UNUSED(opline->op2); in zend_optimize_block()
466 SET_UNUSED(opline->op2); in zend_optimize_block()
545 src->op2.num = tmp; in zend_optimize_block()
563 src->op2.num = tmp; in zend_optimize_block()
655 opline->op2.num = 0; in zend_optimize_block()
763 opline->op2.var = 0; in zend_optimize_block()
773 opline->op2.var = 0; in zend_optimize_block()
1091 opline->op2.num = map[opline->op2.num]; in assemble_code_blocks()
[all …]
H A Dpass1.c49 SET_UNUSED(opline->op2); in replace_by_const_or_qm_assign()
200 if (send1_opline->op2.num == 2) { in zend_optimizer_pass1()
242 opline->op2.constant = send2_opline->op1.constant; in zend_optimizer_pass1()
300 opline->op2.num = 0; in zend_optimizer_pass1()
308 opline->op2.num = 0; in zend_optimizer_pass1()
328 COPY_NODE(opline->op1, opline->op2); in zend_optimizer_pass1()
329 opline->op2.num = 0; in zend_optimizer_pass1()
H A Dzend_inference.h125 DEFINE_SSA_OP_HAS_RANGE(op2)
126 DEFINE_SSA_OP_MIN_RANGE(op2)
127 DEFINE_SSA_OP_MAX_RANGE(op2)
128 DEFINE_SSA_OP_RANGE_UNDERFLOW(op2)
129 DEFINE_SSA_OP_RANGE_OVERFLOW(op2)
190 DEFINE_SSA_OP_INFO(op2) in DEFINE_SSA_OP_INFO() argument
193 DEFINE_SSA_OP_DEF_INFO(op2) in DEFINE_SSA_OP_INFO()
H A Dpass3.c125 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, target); in zend_optimizer_pass3()
156 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, target); in zend_optimizer_pass3()
226 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, target); in zend_optimizer_pass3()
232 opline->op2.num = 0; in zend_optimizer_pass3()
H A Dcompact_vars.c43 zend_bitset_incl(used_vars, VAR_NUM(opline->op2.var)); in zend_optimizer_compact_vars()
91 opline->op2.var = NUM_VAR(vars_map[VAR_NUM(opline->op2.var)]); in zend_optimizer_compact_vars()
/PHP-8.2/ext/ffi/
H A Dphp_ffi.h241 void zend_ffi_expr_bool_or(zend_ffi_val *val, zend_ffi_val *op2);
242 void zend_ffi_expr_bool_and(zend_ffi_val *val, zend_ffi_val *op2);
243 void zend_ffi_expr_bw_or(zend_ffi_val *val, zend_ffi_val *op2);
244 void zend_ffi_expr_bw_xor(zend_ffi_val *val, zend_ffi_val *op2);
245 void zend_ffi_expr_bw_and(zend_ffi_val *val, zend_ffi_val *op2);
248 void zend_ffi_expr_is_less(zend_ffi_val *val, zend_ffi_val *op2);
254 void zend_ffi_expr_add(zend_ffi_val *val, zend_ffi_val *op2);
255 void zend_ffi_expr_sub(zend_ffi_val *val, zend_ffi_val *op2);
256 void zend_ffi_expr_mul(zend_ffi_val *val, zend_ffi_val *op2);
257 void zend_ffi_expr_div(zend_ffi_val *val, zend_ffi_val *op2);
[all …]
H A Dffi.g576 expression(&op2)
584 {zend_ffi_val op2;}
593 {zend_ffi_val op2;}
602 {zend_ffi_val op2;}
611 {zend_ffi_val op2;}
620 {zend_ffi_val op2;}
629 {zend_ffi_val op2;}
641 {zend_ffi_val op2;}
659 {zend_ffi_val op2;}
671 {zend_ffi_val op2;}
[all …]
H A Dffi.c1842 ZVAL_DEREF(op2); in zend_ffi_cdata_do_operation()
1856 if (Z_TYPE_P(op2) == IS_OBJECT && Z_OBJCE_P(op2) == zend_ffi_cdata_ce) { in zend_ffi_cdata_do_operation()
7061 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7077 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7090 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7105 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7127 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7142 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7184 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
7200 …} else if (op2->kind == ZEND_FFI_VAL_FLOAT || op2->kind == ZEND_FFI_VAL_DOUBLE || op2->kind == ZEN…
[all …]
/PHP-8.2/Zend/tests/
H A Dbug37046.phpt14 echo "op2 $k\n";
21 op2 0
22 op2 1
/PHP-8.2/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
64 str2_p = collator_convert_object_to_string( op2, &str2 ); in collator_regular_compare_function()
136 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) in collator_numeric_compare_function() argument
148 if( Z_TYPE_P(op2) == IS_STRING ) in collator_numeric_compare_function()
150 num2_p = collator_convert_string_to_double( op2, &num2 ); in collator_numeric_compare_function()
151 op2 = num2_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
172 zend_string *str2 = collator_zval_to_string(op2); in collator_icu_compare_function()
H A Dcollator_sort.h21 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
/PHP-8.2/ext/standard/
H A Dphp_string.h64 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, bool case_insensi…
65 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2);
66 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2);

Completed in 276 milliseconds

123