/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dynasm.lua | 288 local op = match(stmt, "^%s*(%S+)") 289 if op == ".if" then 292 if op == ".endif" then lvl = lvl - 1 end 293 elseif op == ".elif" or op == ".else" or op == ".endif" then 773 if not op then werror("bad statement syntax") end 782 params.op = op 783 return op, params 804 local op, params = splitstmt(stmt) 807 local f = map_op[op.."_"..#params] or map_op[op.."_*"] 812 if map_op[op.."_"..i] then [all …]
|
H A D | dasm_x86.lua | 554 if op >= 4294967296 then r = op%4294967296 wputb((op-r)/4294967296) op = r end 555 if op >= 16777216 then wputb(shr(op, 24)); op = band(op, 0xffffff) end 556 if op >= 65536 then 563 wputb(shr(op, 16)); op = band(op, 0xffff); psz = psz + 1 565 if op >= 256 then 566 local b = shr(op, 8) 568 wputb(b); op = band(op, 255); psz = psz + 1 571 if sz == "b" then op = op - 1 end 572 wputb(op) 676 local function opmodestr(op, args) [all …]
|
/php-src/ext/standard/ |
H A D | scanf.c | 584 char op = 0; in php_sscanf_internal() local 743 op = 'i'; in php_sscanf_internal() 748 op = 'i'; in php_sscanf_internal() 753 op = 'i'; in php_sscanf_internal() 759 op = 'i'; in php_sscanf_internal() 764 op = 'i'; in php_sscanf_internal() 774 op = 'f'; in php_sscanf_internal() 778 op = 's'; in php_sscanf_internal() 782 op = 's'; in php_sscanf_internal() 791 op = '['; in php_sscanf_internal() [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | funcs.c | 550 char *pbuf, *op, *np; in file_getbuffer() local 585 op = ms->o.buf; in file_getbuffer() 586 eop = op + len; in file_getbuffer() 588 while (op < eop) { in file_getbuffer() 590 CAST(size_t, eop - op), &state); in file_getbuffer() 598 (void)memcpy(np, op, bytesconsumed); in file_getbuffer() 599 op += bytesconsumed; in file_getbuffer() 603 OCTALIFY(np, op); in file_getbuffer() 614 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 616 *np++ = *op++; in file_getbuffer() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 812 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_info() local 847 op--; in zend_jit_trace_copy_ssa_var_info() 946 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_range() local 1559 op->op1_use_chain = ssa_vars[op->op1_use].use_chain; in zend_jit_trace_build_tssa() 1562 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_jit_trace_build_tssa() 1563 op->op2_use_chain = ssa_vars[op->op2_use].use_chain; in zend_jit_trace_build_tssa() 1566 if (op->result_use >= 0 && op->result_use != op->op1_use && op->result_use != op->op2_use) { in zend_jit_trace_build_tssa() 1567 op->res_use_chain = ssa_vars[op->result_use].use_chain; in zend_jit_trace_build_tssa() 1582 op--; in zend_jit_trace_build_tssa() 3575 if (!zend_jit_free_op(jit, op, -1, op->op2.var)) { in zend_jit_trace_deoptimization() [all …]
|
H A D | zend_jit_internal.h | 69 # define OP_ADDR(opline, type, op) \ argument 71 ZEND_ADDR_CONST_ZVAL((opline)->op.zv) : \ 72 ZEND_ADDR_MEM_ZVAL(ZREG_FP, (opline)->op.var)) 74 # define OP_ADDR(opline, type, op) \ argument 76 ZEND_ADDR_CONST_ZVAL(RT_CONSTANT(opline, (opline)->op)) : \ 77 ZEND_ADDR_MEM_ZVAL(ZREG_FP, (opline)->op.var)) 80 #define OP_REG_ADDR(opline, type, op, _ssa_op) \ argument 83 OP_ADDR(opline, type, op)) 388 uint8_t op, /* zend_jit_trace_op */ 652 if (trace->op == ZEND_JIT_TRACE_VM || trace->op == ZEND_JIT_TRACE_END) { in zend_jit_trace_get_exit_opline()
|
/php-src/Zend/tests/ |
H A D | bug79791.phpt | 2 Bug #79791: Assertion failure when unsetting variable during binary op
|
H A D | oss_fuzz_61712.phpt | 2 OSS-Fuzz #61712 (assertion failure with error handler during binary op)
|
H A D | oss_fuzz_61712b.phpt | 2 OSS-Fuzz #61712 (assertion failure with error handler during binary op)
|
H A D | bug76667.phpt | 2 Bug #76667 (Segfault with divide-assign op and __get + __set)
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.h | 822 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, 1072 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op); 1161 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, 1242 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, 1250 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u(struct sljit_compiler *compiler, sljit_s32 op, 1336 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op, 1349 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_dst(struct sljit_compiler *compiler, sljit_s32 op, 1393 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, 1413 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, 1426 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2r(struct sljit_compiler *compiler, sljit_s32 op, [all …]
|
H A D | sljitNativeMIPS_32.c | 29 static sljit_s32 emit_copysign(struct sljit_compiler *compiler, sljit_s32 op, in emit_copysign() argument 32 int is_32 = (op & SLJIT_32); in emit_copysign() 132 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fcopy() argument 138 int is_32 = (op & SLJIT_32); in sljit_emit_fcopy() 141 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy() 143 op = GET_OPCODE(op); in sljit_emit_fcopy() 150 if (op == SLJIT_COPY_TO_F64) in sljit_emit_fcopy() 180 if (op == SLJIT_COPY_TO_F64) in sljit_emit_fcopy()
|
H A D | sljitNativeRISCV_64.c | 149 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fcopy() argument 155 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy() 157 if (GET_OPCODE(op) == SLJIT_COPY_TO_F64) in sljit_emit_fcopy() 162 if (!(op & SLJIT_32)) in sljit_emit_fcopy()
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_emit.c | 76 if (func->op == IR_FUNC || func->op == IR_FUNC_ADDR) { in ir_call_proto() 97 if (func->op == IR_FUNC || func->op == IR_FUNC_ADDR) { in ir_is_fastcall() 167 if (insn->op == IR_PARAM) { in ir_get_param_reg() 335 if (addr_insn->op == IR_FUNC) { in ir_call_addr() 338 IR_ASSERT(addr_insn->op == IR_ADDR || addr_insn->op == IR_FUNC_ADDR); in ir_call_addr() 349 if (ctx->ir_base[insn->op1].op == IR_SNAPSHOT) { in ir_jmp_addr() 650 && !IR_IS_SYM_CONST(ctx->ir_base[from].op) in ir_emit_dessa_move() 918 if (insn->op == IR_PHI) { in ir_emit_dessa_moves() 984 IR_ASSERT(insn->op == IR_ENTRY); in ir_match() 993 if (insn->op == IR_END || insn->op == IR_LOOP_END) { in ir_match() [all …]
|
H A D | ir_private.h | 871 #define IR_IS_CONST_OP(op) ((op) > IR_NOP && (op) <= IR_C_FLOAT) argument 872 #define IR_IS_FOLDABLE_OP(op) ((op) <= IR_LAST_FOLDABLE_OP) argument 873 #define IR_IS_SYM_CONST(op) ((op) == IR_STR || (op) == IR_SYM || (op) == IR_FUNC) argument 879 if (IR_IS_SYM_CONST(v->op)) { in ir_const_is_true() 955 uint32_t flags = ir_op_flags[insn->op]; in ir_operands_count() 967 uint32_t flags = ir_op_flags[insn->op]; in ir_input_edges_count() 1060 #define IR_IS_BB_START(op) \ argument 1063 #define IR_IS_BB_MERGE(op) \ argument 1064 ((op) == IR_MERGE || (op) == IR_LOOP_BEGIN) 1066 #define IR_IS_BB_END(op) \ argument [all …]
|
H A D | ir_ra.c | 64 flags = ir_op_flags[insn->op]; in ir_assign_virtual_registers_slow() 707 if (insn->op == IR_END || insn->op == IR_LOOP_END) { in ir_compute_live_ranges() 757 if (insn->op != IR_PHI) { in ir_compute_live_ranges() 764 if (insn->op == IR_PARAM || insn->op == IR_RLOAD) { in ir_compute_live_ranges() 1325 if (insn->op == IR_END || insn->op == IR_LOOP_END) { in ir_compute_live_ranges() 1380 if (insn->op == IR_PARAM || insn->op == IR_RLOAD) { in ir_compute_live_ranges() 1919 if (insn->op == IR_PHI) { in ir_coalesce() 2142 if (insn->op == IR_PHI) { in ir_gen_dessa_moves() 2211 if (insn->op == IR_PHI) { in ir_gen_dessa_moves() 3517 IR_ASSERT(insn->op == IR_VAR || insn->op == IR_ALLOCA); in ir_linear_scan() [all …]
|
/php-src/Zend/tests/nullsafe_operator/ |
H A D | 005.phpt | 2 Test nullsafe property assignment op
|
H A D | 015.phpt | 2 Test nullsafe in binary op
|
/php-src/Zend/ |
H A D | zend_ini_parser.y | 48 static int get_int_val(zval *op) { in get_int_val() argument 49 switch (Z_TYPE_P(op)) { in get_int_val() 51 return Z_LVAL_P(op); in get_int_val() 53 return (int)Z_DVAL_P(op); in get_int_val() 56 int val = atoi(Z_STRVAL_P(op)); in get_int_val() 57 zend_string_free(Z_STR_P(op)); in get_int_val()
|
H A D | zend_vm_gen.php | 1661 $op = trim(fgets($f)); 1662 if ($op !== "") { 1663 $order[$op] = null; 2448 $op = $m[3]; 2449 $len = strlen($op); 2479 $opnames[$op] = $code; 2518 $op = $m[4]; 2603 $op = $m[2]; 2604 $len = strlen($op); 2634 $op = $m[1]; [all …]
|
H A D | zend_vm_trace_lines.h | 21 #define VM_TRACE(op) zend_vm_trace(execute_data, opline); argument
|
H A D | README.md | 88 opline->op<X>.op_type 90 get_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 92 get_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 94 get_obj_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 96 get_obj_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>)
|
/php-src/Zend/Optimizer/ |
H A D | block_pass.c | 62 #define VAR_SOURCE(op) Tsource[VAR_NUM(op.var)] argument 875 zend_op *op = src + 1; in zend_optimize_block() local 878 while (op < opline) { in zend_optimize_block() 886 op++; in zend_optimize_block() 970 zend_op *end = op + b->len; in assemble_code_blocks() 971 for (; op < end; op++) { in assemble_code_blocks() 972 if (op->op1_type == IS_CONST) { in assemble_code_blocks() 1635 zend_op *end = op + bb->len; in zend_merge_blocks() 1636 while (op < end) { in zend_merge_blocks() 1643 MAKE_NOP(op); in zend_merge_blocks() [all …]
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_020.phpt | 2 Test typed properties binary assign op helper test
|
/php-src/ext/gmp/ |
H A D | gmp.c | 233 #define gmp_binary_ui_op(op, uop) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, uop, 0) argument 234 #define gmp_binary_op(op) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, NULL, 0) argument 235 #define gmp_binary_ui_op_no_zero(op, uop) \ argument 239 #define gmp_unary_op(op) _gmp_unary_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op) argument 240 #define gmp_unary_opl(op) _gmp_unary_opl(INTERNAL_FUNCTION_PARAM_PASSTHRU, op) argument 353 op(gmpnum_result, gmpnum_op, (gmp_ulong) shift); in shift_operator_helper() 358 #define DO_BINARY_UI_OP_EX(op, uop, check_b_zero) \ argument 364 #define DO_BINARY_UI_OP(op) DO_BINARY_UI_OP_EX(op, op ## _ui, 0) argument 365 #define DO_BINARY_OP(op) DO_BINARY_UI_OP_EX(op, NULL, 0) argument 367 #define DO_UNARY_OP(op) \ argument [all …]
|