Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 109) sorted by last modified time

12345

/PHP-7.4/
H A DNEWS2515 . Fixed bug #76667 (Segfault with divide-assign op and __get + __set).
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_compile.c612 #define OP1(op, dst, dstw, src, srcw) \ argument
613 sljit_emit_op1(compiler, (op), (dst), (dstw), (src), (srcw))
614 #define OP2(op, dst, dstw, src1, src1w, src2, src2w) \ argument
615 sljit_emit_op2(compiler, (op), (dst), (dstw), (src1), (src1w), (src2), (src2w))
616 #define OP_SRC(op, src, srcw) \ argument
617 sljit_emit_op_src(compiler, (op), (src), (srcw))
632 #define OP_FLAGS(op, dst, dstw, type) \ argument
633 sljit_emit_op_flags(compiler, (op), (dst), (dstw), (type))
/PHP-7.4/ext/gd/libgd/
H A Dgd.c573 int op = -1; in gdImageColorResolveAlpha() local
585 op = c; /* Save open slot */ in gdImageColorResolveAlpha()
610 if (op == -1) in gdImageColorResolveAlpha()
612 op = im->colorsTotal; in gdImageColorResolveAlpha()
613 if (op == gdMaxColors) in gdImageColorResolveAlpha()
619 im->red[op] = r; in gdImageColorResolveAlpha()
620 im->green[op] = g; in gdImageColorResolveAlpha()
621 im->blue[op] = b; in gdImageColorResolveAlpha()
622 im->alpha[op] = a; in gdImageColorResolveAlpha()
623 im->open[op] = 0; in gdImageColorResolveAlpha()
[all …]
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch593 if ((op = get_op(*l)) != -1) {
598 if (op != FILE_OPDIVIDE) {
/PHP-7.4/Zend/
H A Dzend_vm_execute.h349 #define HYBRID_CASE(op) op ## _LABEL argument
61202 if (op->op1_type < op->op2_type) {
61220 if (op->op1_type < op->op2_type) {
61228 if (op->op1_type < op->op2_type) {
61236 if (op->op1_type < op->op2_type) {
61260 if (op->op1_type < op->op2_type) {
61281 if (op->op1_type < op->op2_type) {
61297 if (op->op1_type < op->op2_type) {
61376 if (OP_JMP_ADDR(op, op->op1) > op) {
61419 if (op->op1_type < op->op2_type) {
[all …]
H A Dzend_vm_def.h8551 zval *op, *jump_zv; variable
8557 if (Z_TYPE_P(op) != IS_LONG) {
8558 ZVAL_DEREF(op);
8559 if (Z_TYPE_P(op) != IS_LONG) {
8580 zval *op, *jump_zv; variable
8586 if (Z_TYPE_P(op) != IS_STRING) {
8591 ZVAL_DEREF(op);
8592 if (Z_TYPE_P(op) != IS_STRING) {
8878 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_JMP, (OP_JMP_ADDR(op, op->op1) > op), ZEND_JMP_FORWARD, JMP_ADDR…
9331 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_SEND_VAL, op->op1_type == IS_CONST && !Z_REFCOUNTED_P(RT_CONSTAN…
[all …]
H A Dzend_operators.c271 ((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()
583 zval *z = Z_OBJ_HT_P(op)->get(op, &tmp); in _convert_to_string()
810 op = Z_REFVAL_P(op); in _zval_get_long_func_ex()
861 op = Z_REFVAL_P(op); in zval_get_double_func()
899 zval *z = Z_OBJ_HT_P(op)->get(op, &tmp); in __zval_get_string_func()
[all …]
H A Dzend_execute.c522 static inline ZEND_ATTRIBUTE_UNUSED zval *_get_obj_zval_ptr(int op_type, znode_op op, zend_free_op … in _get_obj_zval_ptr() argument
528 return get_zval_ptr(op_type, op, should_free, type); in _get_obj_zval_ptr()
531 static inline ZEND_ATTRIBUTE_UNUSED zval *_get_obj_zval_ptr_undef(int op_type, znode_op op, zend_fr… in _get_obj_zval_ptr_undef() argument
537 return get_zval_ptr_undef(op_type, op, should_free, type); in _get_obj_zval_ptr_undef()
4015 static void zend_swap_operands(zend_op *op) /* {{{ */ in zend_swap_operands() argument
4020 tmp = op->op1; in zend_swap_operands()
4021 tmp_type = op->op1_type; in zend_swap_operands()
4022 op->op1 = op->op2; in zend_swap_operands()
4023 op->op1_type = op->op2_type; in zend_swap_operands()
4024 op->op2 = tmp; in zend_swap_operands()
[all …]
H A Dzend_compile.c40 target = (src)->u.op; \
49 (target)->u.op = src; \
84 static void init_op(zend_op *op) in init_op() argument
86 MAKE_NOP(op); in init_op()
87 op->extended_value = 0; in init_op()
88 op->lineno = CG(zend_lineno); in init_op()
621 #define LITERAL_STR(op, str) do { \ argument
653 info.var_num = loop_var->u.op.var; in zend_begin_loop()
7072 fn(result, op); in zend_ct_eval_unary_op()
8110 result->u.op.var = -1; in zend_compile_rope_add_ex()
[all …]
H A Dzend_inheritance.c619 zend_op *op = fptr->op_array.opcodes; in zend_get_function_declaration() local
620 zend_op *end = op + fptr->op_array.last; in zend_get_function_declaration()
623 while (op < end) { in zend_get_function_declaration()
624 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) in zend_get_function_declaration()
625 && op->op1.num == (zend_ulong)idx) in zend_get_function_declaration()
627 precv = op; in zend_get_function_declaration()
629 ++op; in zend_get_function_declaration()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c4669 static int preload_header_handler(sapi_header_struct *h, sapi_header_op_enum op, sapi_headers_struc… in preload_header_handler() argument
4702 …int (*orig_header_handler)(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_s… in accel_finish_startup()
/PHP-7.4/main/
H A Doutput.c771 if (op && OG(active) && OG(running)) { in php_output_lock_error()
786 context->op = op; in php_output_context_init()
794 int op = context->op; in php_output_context_reset() local
797 context->op = op; in php_output_context_reset()
913 int original_op = context->op; in php_output_handler_op()
925 context->op, in php_output_handler_op()
937 if (php_output_lock_error(context->op)) { in php_output_handler_op()
944 context->op = original_op; in php_output_handler_op()
1027 context->op = original_op; in php_output_handler_op()
1041 if (php_output_lock_error(op)) { in php_output_op()
[all …]
/PHP-7.4/sapi/cli/
H A Dphp_cli.c389 static int sapi_cli_header_handler(sapi_header_struct *h, sapi_header_op_enum op, sapi_headers_stru… in sapi_cli_header_handler() argument
/PHP-7.4/ext/opcache/Optimizer/
H A Dsccp.c378 if (IS_PARTIAL_ARRAY(op)) { in ct_eval_bool_cast()
389 ZVAL_BOOL(result, zend_is_true(op)); in ct_eval_bool_cast()
394 switch (Z_TYPE_P(op)) { in zval_to_string_offset()
396 *result = Z_LVAL_P(op); in zval_to_string_offset()
400 Z_STRVAL_P(op), Z_STRLEN_P(op), result, NULL, 0)) { in zval_to_string_offset()
1057 #define SET_RESULT(op, zv) do { \ argument
1058 if (ssa_op->op##_def >= 0) { \
1059 set_value(scdf, ctx, ssa_op->op##_def, zv); \
1062 #define SET_RESULT_BOT(op) SET_RESULT(op, &ctx->bot) argument
1063 #define SET_RESULT_TOP(op) SET_RESULT(op, &ctx->top) argument
[all …]
H A Dzend_ssa.c174 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()
1057 op->op1_use_chain = ssa_vars[op->op1_use].use_chain; in zend_ssa_compute_use_def_chains()
1060 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_ssa_compute_use_def_chains()
1061 op->op2_use_chain = ssa_vars[op->op2_use].use_chain; in zend_ssa_compute_use_def_chains()
1064 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 …]
H A Dzend_inference.c1926 zend_ssa_op *op; in add_usages() local
1929 op = ssa->ops + use; in add_usages()
1930 if (op->result_def >= 0) { in add_usages()
1933 if (op->op1_def >= 0) { in add_usages()
1936 if (op->op2_def >= 0) { in add_usages()
1940 op--; in add_usages()
1944 if (op->op1_def >= 0) { in add_usages()
1947 if (op->op2_def >= 0) { in add_usages()
1952 op++; in add_usages()
1956 if (op->op1_def >= 0) { in add_usages()
[all …]
H A Dzend_optimizer.c810 #define GET_OP(op) CRT_CONSTANT_EX(op_array, opline, opline->op, rt_constants) in zend_optimizer_get_called_func() argument
H A Dssa_integrity.c45 static inline zend_bool is_used_by_op(zend_ssa *ssa, int op, int check) { in is_used_by_op() argument
46 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_used_by_op()
52 static inline zend_bool is_defined_by_op(zend_ssa *ssa, int op, int check) { in is_defined_by_op() argument
53 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_defined_by_op()
H A Dblock_pass.c79 #define VAR_NUM_EX(op) VAR_NUM((op).var) argument
81 #define VAR_SOURCE(op) Tsource[VAR_NUM(op.var)] argument
866 zend_op *op = src + 1; in zend_optimize_block() local
869 while (op < opline) { in zend_optimize_block()
877 op++; in zend_optimize_block()
953 zend_op *end = op + b->len; in assemble_code_blocks()
954 for (; op < end; op++) { in assemble_code_blocks()
1846 zend_op *end = op + bb->len; in zend_merge_blocks()
1847 while (op < end) { in zend_merge_blocks()
1854 MAKE_NOP(op); in zend_merge_blocks()
[all …]
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c2491 switch(cparam->op) { in php_openssl_sockop_set_option()
2509 switch(xparam->op) { in php_openssl_sockop_set_option()
2519 (xparam->op == STREAM_XPORT_OP_CONNECT_ASYNC && in php_openssl_sockop_set_option()
/PHP-7.4/ext/standard/
H A Dinfo.c308 int op = VER_GREATER_EQUAL; in php_get_windows_name() local
316 VER_SET_CONDITION(dwlConditionMask, VER_MAJORVERSION, op); in php_get_windows_name()
317 VER_SET_CONDITION(dwlConditionMask, VER_MINORVERSION, op); in php_get_windows_name()
318 VER_SET_CONDITION(dwlConditionMask, VER_SERVICEPACKMAJOR, op); in php_get_windows_name()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_sockets.c127 static int fpm_sockets_hash_op(int sock, struct sockaddr *sa, char *key, int type, int op) /* {{{ */ in fpm_sockets_hash_op() argument
150 switch (op) { in fpm_sockets_hash_op()
176 if (op == FPM_STORE_SOCKET) { in fpm_sockets_hash_op()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c575 zend_op *op = op_array->opcodes; in _get_recv_op() local
576 zend_op *end = op + op_array->last; in _get_recv_op()
579 while (op < end) { in _get_recv_op()
580 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT in _get_recv_op()
581 || op->opcode == ZEND_RECV_VARIADIC) && op->op1.num == offset) in _get_recv_op()
583 return op; in _get_recv_op()
585 ++op; in _get_recv_op()
/PHP-7.4/ext/tidy/
H A Dtidy.c1210 …if (TG(clean_output) && (output_context->op & PHP_OUTPUT_HANDLER_START) && (output_context->op & P… in php_tidy_output_handler()
/PHP-7.4/ext/gmp/
H A Dgmp.c364 #define gmp_binary_ui_op(op, uop) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, uop, 0) argument
365 #define gmp_binary_op(op) _gmp_binary_ui_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op, NULL, 0) argument
366 #define gmp_binary_opl(op) _gmp_binary_opl(INTERNAL_FUNCTION_PARAM_PASSTHRU, op) argument
367 #define gmp_binary_ui_op_no_zero(op, uop) \ argument
371 #define gmp_unary_op(op) _gmp_unary_op(INTERNAL_FUNCTION_PARAM_PASSTHRU, op) argument
372 #define gmp_unary_opl(op) _gmp_unary_opl(INTERNAL_FUNCTION_PARAM_PASSTHRU, op) argument
482 op(gmpnum_result, gmpnum_op, (gmp_ulong) shift); in shift_operator_helper()
494 #define DO_BINARY_UI_OP(op) DO_BINARY_UI_OP_EX(op, op ## _ui, 0) argument
495 #define DO_BINARY_OP(op) DO_BINARY_UI_OP_EX(op, NULL, 0) argument
497 #define DO_UNARY_OP(op) \ argument
[all …]

Completed in 325 milliseconds

12345