/PHP-7.3/ext/opcache/Optimizer/ |
H A D | pass3.c | 334 zend_op *op; in zend_optimizer_pass3() 335 for(op = opline+1; op<end; op++) { in zend_optimizer_pass3() 341 if(op->opcode == ZEND_JMP || in zend_optimizer_pass3() 342 op->opcode == ZEND_JMPZ || in zend_optimizer_pass3() 347 op->opcode == ZEND_CASE || in zend_optimizer_pass3() 353 op->opcode == ZEND_EXIT) { in zend_optimizer_pass3() 368 for(op = &op_array->opcodes[opline->op2.opline_num]; op<end; op++) { in zend_optimizer_pass3() 375 if(op->opcode == ZEND_JMP || in zend_optimizer_pass3() 376 op->opcode == ZEND_JMPZ || in zend_optimizer_pass3() 381 op->opcode == ZEND_CASE || in zend_optimizer_pass3() [all …]
|
H A D | escape_analysis.c | 107 if (op->op1_def >= 0) { in zend_build_equi_escape_sets() 110 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets() 114 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets() 119 union_find_unite(parent, size, op->op2_def, op->op2_use); in zend_build_equi_escape_sets() 125 union_find_unite(parent, size, op->result_def, op->result_use); in zend_build_equi_escape_sets() 129 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets() 132 union_find_unite(parent, size, op->result_def, op->op2_use); in zend_build_equi_escape_sets() 135 union_find_unite(parent, size, op->result_def, op->op1_def); in zend_build_equi_escape_sets() 358 op--; in is_escape_use() 361 || (op->op1_def >= 0 && ssa->vars[op->op1_def].alias)) { in is_escape_use() [all …]
|
H A D | zend_optimizer_internal.h | 36 #define INV_COND(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ : ZEND_JMPZ) argument 37 #define INV_EX_COND(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ : ZEND_JMPZ) argument 38 #define INV_COND_EX(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument 39 #define INV_EX_COND_EX(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument 41 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED) argument 52 #define LITERAL_LONG(op, val) do { \ argument 55 op.constant = zend_optimizer_add_literal(op_array, &_c); \ 58 #define LITERAL_BOOL(op, val) do { \ argument 61 op.constant = zend_optimizer_add_literal(op_array, &_c); \
|
H A D | zend_ssa.c | 174 zend_op *op = opline; in find_adjusted_tmp_var() local 178 op--; in find_adjusted_tmp_var() 179 if (op->result_type != IS_TMP_VAR || op->result.var != var_num) { in find_adjusted_tmp_var() 194 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 201 } else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) { in find_adjusted_tmp_var() 210 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 1047 op->op1_use_chain = ssa_vars[op->op1_use].use_chain; in zend_ssa_compute_use_def_chains() 1050 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_ssa_compute_use_def_chains() 1051 op->op2_use_chain = ssa_vars[op->op2_use].use_chain; in zend_ssa_compute_use_def_chains() 1054 if (op->result_use >= 0 && op->result_use != op->op1_use && op->result_use != op->op2_use) { in zend_ssa_compute_use_def_chains() [all …]
|
/PHP-7.3/Zend/ |
H A D | zend_operators.c | 271 ((Z_TYPE_P(op) == IS_LONG || Z_TYPE_P(op) == IS_DOUBLE) ? (op) : \ 272 (((op) == result) ? (_convert_scalar_to_number((op), silent, 1), (op)) : \ 355 ZVAL_LONG(op, zval_get_long(op)); in convert_to_long_base() 409 ZVAL_DOUBLE(op, (double) Z_LVAL_P(op)); in convert_to_double() 475 ZVAL_BOOL(op, Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean() 478 ZVAL_BOOL(op, Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean() 794 op = Z_REFVAL_P(op); in _zval_get_long_func_ex() 845 op = Z_REFVAL_P(op); in zval_get_double_func() 882 zval *z = Z_OBJ_HT_P(op)->get(op, &tmp); in zval_get_string_func() 894 op = Z_REFVAL_P(op); in zval_get_string_func() [all …]
|
H A D | zend_operators.h | 266 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op); in zval_get_long() 269 return EXPECTED(Z_TYPE_P(op) == IS_DOUBLE) ? Z_DVAL_P(op) : zval_get_double_func(op); in zval_get_double() 290 #define _zval_get_long(op) zval_get_long(op) argument 291 #define _zval_get_double(op) zval_get_double(op) argument 292 #define _zval_get_string(op) zval_get_string(op) argument 293 #define _zval_get_long_func(op) zval_get_long_func(op) argument 297 #define convert_to_cstring(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_cstring((op)); } argument 298 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); } argument 327 if (Z_STRLEN_P(op) > 1 || (Z_STRLEN_P(op) && Z_STRVAL_P(op)[0] != '0')) { in i_zend_is_true() 349 op = Z_REFVAL_P(op); in i_zend_is_true() [all …]
|
H A D | zend_vm_execute.skl | 75 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op) 82 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(zend_uintptr_t)op->handler); 84 op->handler = (const void *)(zend_uintptr_t)Z_LVAL_P(zv); 87 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op) 89 op->handler = zend_opcode_handlers[(zend_uintptr_t)op->handler]; 92 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op) 95 return op->handler; 102 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(zend_uintptr_t)op->handler);
|
H A D | zend_vm_trace_handlers.h | 21 #define VM_TRACE(op) zend_vm_trace(#op, sizeof(#op)-1); argument 27 static void zend_vm_trace(const char *op, size_t op_len) in zend_vm_trace() argument 39 memcpy(buf + last_len + 1, op, op_len + 1); in zend_vm_trace() 50 last = op; in zend_vm_trace()
|
H A D | zend_vm.h | 26 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op); 27 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op); 28 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op);
|
/PHP-7.3/ext/standard/ |
H A D | versioning.c | 211 char *v1, *v2, *op = NULL; in PHP_FUNCTION() local 219 Z_PARAM_STRING(op, op_len) in PHP_FUNCTION() 223 if (!op) { in PHP_FUNCTION() 226 if (!strncmp(op, "<", op_len) || !strncmp(op, "lt", op_len)) { in PHP_FUNCTION() 229 if (!strncmp(op, "<=", op_len) || !strncmp(op, "le", op_len)) { in PHP_FUNCTION() 232 if (!strncmp(op, ">", op_len) || !strncmp(op, "gt", op_len)) { in PHP_FUNCTION() 235 if (!strncmp(op, ">=", op_len) || !strncmp(op, "ge", op_len)) { in PHP_FUNCTION() 238 if (!strncmp(op, "==", op_len) || !strncmp(op, "=", op_len) || !strncmp(op, "eq", op_len)) { in PHP_FUNCTION() 241 if (!strncmp(op, "!=", op_len) || !strncmp(op, "<>", op_len) || !strncmp(op, "ne", op_len)) { in PHP_FUNCTION()
|
/PHP-7.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.c | 96 #define GET_FLAG_TYPE(op) ((op) >> VARIABLE_FLAG_SHIFT) argument 101 #define HAS_FLAGS(op) \ argument 109 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S32) 112 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S16) 1073 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_P); in check_sljit_emit_return() 1130 CHECK_ARGUMENT((op >= SLJIT_BREAKPOINT && op <= SLJIT_LMUL_SW) in check_sljit_emit_op0() 1201 !(op & VARIABLE_FLAG_MASK) ? "" : jump_names[GET_FLAG_TYPE(op)]); in check_sljit_emit_op1() 1271 !(op & VARIABLE_FLAG_MASK) ? "" : jump_names[GET_FLAG_TYPE(op)]); in check_sljit_emit_op2() 1741 CHECK_ARGUMENT(op == SLJIT_MOV || op == SLJIT_MOV32 in check_sljit_emit_op_flags() 1742 || (GET_OPCODE(op) >= SLJIT_AND && GET_OPCODE(op) <= SLJIT_XOR)); in check_sljit_emit_op_flags() [all …]
|
H A D | sljitNativeSPARC_common.c | 124 #define DOP(op) ((op) << 5) argument 700 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 751 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 809 op = GET_OPCODE(op); in sljit_emit_op0() 810 switch (op) { in sljit_emit_op0() 864 op = GET_OPCODE(op); in sljit_emit_op1() 865 switch (op) { in sljit_emit_op1() 915 op = GET_OPCODE(op); in sljit_emit_op2() 916 switch (op) { in sljit_emit_op2() 969 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument [all …]
|
H A D | sljitNativePPC_common.c | 989 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 1012 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 1041 op = GET_OPCODE(op); in sljit_emit_op0() 1042 switch (op) { in sljit_emit_op0() 1126 op = GET_OPCODE(op); in sljit_emit_op1() 1159 switch (op) { in sljit_emit_op1() 1404 if (!HAS_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2() 1422 if (GET_OPCODE(op) != SLJIT_AND && GET_OPCODE(op) != SLJIT_AND) { in sljit_emit_op2() 1477 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 6)) argument 1506 op = GET_OPCODE(op); in sljit_emit_fop1_conv_sw_from_f64() [all …]
|
H A D | sljitNativeMIPS_64.c | 126 if (op & SLJIT_SET_Z) \ 132 if (op & SLJIT_SET_Z) \ 147 if (op & SLJIT_SET_Z) \ 154 if (op & SLJIT_SET_Z) \ 166 switch (GET_OPCODE(op)) { in emit_single_op() 215 if (op & SLJIT_SET_Z) in emit_single_op() 224 if (op & SLJIT_SET_Z) in emit_single_op() 293 if (op & SLJIT_SET_Z) in emit_single_op() 375 if (op & SLJIT_SET_Z) in emit_single_op() 381 if (op & SLJIT_SET_Z) in emit_single_op() [all …]
|
H A D | sljitNativeMIPS_common.c | 954 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 1008 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op() 1019 if ((op >= SLJIT_MOV && op <= SLJIT_MOV_P) && (dst & SLJIT_MEM)) in emit_op() 1070 op = GET_OPCODE(op); in sljit_emit_op0() 1071 switch (op) { in sljit_emit_op0() 1158 if ((op & SLJIT_I32_OP) && GET_OPCODE(op) >= SLJIT_NOT) in sljit_emit_op1() 1308 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_F32_OP) >> 7)) argument 1309 #define FMT(op) (((op & SLJIT_F32_OP) ^ SLJIT_F32_OP) << (21 - 8)) argument 1429 op ^= SLJIT_F32_OP; in sljit_emit_fop1() 1455 op ^= SLJIT_F32_OP; in sljit_emit_fop1() [all …]
|
H A D | sljitNativeMIPS_32.c | 43 if (op & SLJIT_SET_Z) \ 49 if (op & SLJIT_SET_Z) \ 57 if (op & SLJIT_SET_Z) \ 63 if (op & SLJIT_SET_Z) \ 74 switch (GET_OPCODE(op)) { in emit_single_op() 124 if (op & SLJIT_SET_Z) in emit_single_op() 133 if (op & SLJIT_SET_Z) in emit_single_op() 202 if (op & SLJIT_SET_Z) in emit_single_op() 284 if (op & SLJIT_SET_Z) in emit_single_op() 290 if (op & SLJIT_SET_Z) in emit_single_op() [all …]
|
H A D | sljitNativeX86_common.c | 784 op = GET_OPCODE(op); in sljit_emit_op0() 851 switch (op) { in sljit_emit_op0() 1044 if (op >= SLJIT_MOV_U8 && op <= SLJIT_MOV_S8) in emit_prefetch() 1046 else if (op >= SLJIT_MOV_U16 && op <= SLJIT_MOV_S16) in emit_prefetch() 1260 op = GET_OPCODE(op); in sljit_emit_op1() 1262 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) { in sljit_emit_op1() 1286 switch (op) { in sljit_emit_op1() 1315 …if (SLJIT_UNLIKELY(dst_is_ereg) && (!(op == SLJIT_MOV || op == SLJIT_MOV_U32 || op == SLJIT_MOV_S3… in sljit_emit_op1() 1321 switch (op) { in sljit_emit_op1() 1359 switch (op) { in sljit_emit_op1() [all …]
|
H A D | sljitNativeARM_32.c | 1471 op = SLJIT_SUB | GET_ALL_FLAGS(op); in emit_op() 1478 op = SLJIT_ADD | GET_ALL_FLAGS(op); in emit_op() 1507 op = SLJIT_SUB | GET_ALL_FLAGS(op); in emit_op() 1585 op = GET_OPCODE(op); in sljit_emit_op0() 1586 switch (op) { in sljit_emit_op0() 1831 op ^= SLJIT_F32_OP; in sljit_emit_fop1_conv_sw_from_f64() 1853 op ^= SLJIT_F32_OP; in sljit_emit_fop1_conv_f64_from_sw() 1877 op ^= SLJIT_F32_OP; in sljit_emit_fop1_cmp() 1953 op ^= SLJIT_F32_OP; in sljit_emit_fop2() 2468 op = GET_OPCODE(op); in sljit_emit_op_flags() [all …]
|
H A D | sljitNativeARM_64.c | 572 if (arg1 == 0 && op != SLJIT_ADD && op != SLJIT_SUB) in emit_op_imm() 584 switch (op) { in emit_op_imm() 647 if (op == SLJIT_OR) in emit_op_imm() 704 switch (op) { in emit_op_imm() 1088 op = GET_OPCODE(op); in sljit_emit_op0() 1089 switch (op) { in sljit_emit_op0() 1129 if (op >= SLJIT_MOV_U8 && op <= SLJIT_MOV_S8) in sljit_emit_op1() 1131 else if (op >= SLJIT_MOV_U16 && op <= SLJIT_MOV_S16) in sljit_emit_op1() 1144 op = GET_OPCODE(op); in sljit_emit_op1() 1145 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) { in sljit_emit_op1() [all …]
|
H A D | sljitNativeTILEGX_64.c | 1644 if (op & SLJIT_SET_E) in emit_single_op() 1653 if (op & SLJIT_SET_E) in emit_single_op() 1976 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_S32 && !(src2 & SLJIT_MEM)) in emit_op() 1978 if (GET_FLAGS(op)) in emit_op() 1983 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_S32) in emit_op() 2036 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_S32) in emit_op() 2045 if ((op >= SLJIT_MOV && op <= SLJIT_MOVU_S32) && (dst & SLJIT_MEM)) in emit_op() 2095 op = GET_OPCODE(op); in sljit_emit_op_flags() 2096 if (op == SLJIT_MOV_S32 || op == SLJIT_MOV_U32) in sljit_emit_op_flags() 2172 op = GET_OPCODE(op); in sljit_emit_op0() [all …]
|
H A D | sljitNativeARM_T2_32.c | 1231 op = GET_OPCODE(op); in sljit_emit_op0() 1232 switch (op) { in sljit_emit_op0() 1336 op = GET_OPCODE(op); in sljit_emit_op1() 1337 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) { in sljit_emit_op1() 1338 switch (op) { in sljit_emit_op1() 1535 op ^= SLJIT_F32_OP; in sljit_emit_fop1_conv_sw_from_f64() 1557 op ^= SLJIT_F32_OP; in sljit_emit_fop1_conv_f64_from_sw() 1581 op ^= SLJIT_F32_OP; in sljit_emit_fop1_cmp() 1611 op ^= SLJIT_F32_OP; in sljit_emit_fop1() 1657 op ^= SLJIT_F32_OP; in sljit_emit_fop2() [all …]
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 46 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; in phpdbg_decode_op() 53 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op() 56 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op() 59 zval *literal = RT_CONSTANT(opline, *op); in phpdbg_decode_op() 67 zend_op_array *ops, const zend_op *opline, znode_op op, zend_uchar op_type, in phpdbg_decode_input_op() argument 71 result = phpdbg_decode_op(ops, opline, &op, op_type); in phpdbg_decode_input_op() 73 spprintf(&result, 0, "J%td", OP_JMP_ADDR(opline, op) - ops->opcodes); in phpdbg_decode_input_op() 75 spprintf(&result, 0, "%" PRIu32, op.num); in phpdbg_decode_input_op() 77 if (op.num != (uint32_t)-1) { in phpdbg_decode_input_op() 78 spprintf(&result, 0, "try-catch(%" PRIu32 ")", op.num); in phpdbg_decode_input_op() [all …]
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | str_shuffle_basic.phpt | 29 $op = str_shuffle($ip); 31 if (!is_string($op) || strlen($op) != $len_ip) { 36 if (empty($a[$op])) { 38 $a[$op] = 0; 42 $a[$op]++;
|
/PHP-7.3/ext/mbstring/oniguruma/doc/ |
H A D | CALLOUTS.BUILTIN.ja | 81 (*CMP{x::TAG/LONG, op::STRING, y::TAG/LONG}) 83 xの値とyの値をop演算子で比較する 86 op: '==', '!=', '>', '<', '>=', '<=' 91 slot 0: op値 (src/regexec.c の中の enum OP_CMP)
|
/PHP-7.3/ext/filter/ |
H A D | filter.c | 677 if (!op) { in php_filter_array_handler() 681 } else if (Z_TYPE_P(op) == IS_LONG) { in php_filter_array_handler() 685 } else if (Z_TYPE_P(op) == IS_ARRAY) { in php_filter_array_handler() 801 zval *array_input = NULL, *op = NULL; in PHP_FUNCTION() local 808 …if (op && (Z_TYPE_P(op) != IS_ARRAY) && !(Z_TYPE_P(op) == IS_LONG && PHP_FILTER_ID_EXISTS(Z_LVAL_P… in PHP_FUNCTION() 817 if (op) { in PHP_FUNCTION() 818 if (Z_TYPE_P(op) == IS_LONG) { in PHP_FUNCTION() 819 filter_flags = Z_LVAL_P(op); in PHP_FUNCTION() 820 …} else if (Z_TYPE_P(op) == IS_ARRAY && (option = zend_hash_str_find(HASH_OF(op), "flags", sizeof("… in PHP_FUNCTION() 846 zval *array_input = NULL, *op = NULL; in PHP_FUNCTION() local [all …]
|