Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 105) sorted by relevance

12345

/PHP-8.1/ext/gd/libgd/
H A Dgd_matrix.c71 dst[4] = -src[4] * dst[0] - src[5] * dst[2]; in gdAffineInvert()
72 dst[5] = -src[4] * dst[1] - src[5] * dst[3]; in gdAffineInvert()
152 dst[0] = 1; in gdAffineIdentity()
153 dst[1] = 0; in gdAffineIdentity()
154 dst[2] = 0; in gdAffineIdentity()
155 dst[3] = 1; in gdAffineIdentity()
156 dst[4] = 0; in gdAffineIdentity()
157 dst[5] = 0; in gdAffineIdentity()
175 dst[1] = 0; in gdAffineScale()
176 dst[2] = 0; in gdAffineScale()
[all …]
H A Dgd_rotate.c42 if (i < dst->sx) { in gdImageSkewX()
205 gdImagePtr dst; in gdImageRotate90() local
235 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); in gdImageRotate90()
237 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); in gdImageRotate90()
244 return dst; in gdImageRotate90()
283 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); in gdImageRotate180()
285 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); in gdImageRotate180()
292 return dst; in gdImageRotate180()
331 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); in gdImageRotate270()
333 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); in gdImageRotate270()
[all …]
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeSPARC_32.c30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate()
33 …return (imm & 0x3ff) ? push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (imm & 0x3ff), DR(dst in load_immediate()
49 if (dst != src2) in emit_single_op()
50 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); in emit_single_op()
59 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op()
60 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)); in emit_single_op()
62 else if (dst != src2) in emit_single_op()
70 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); in emit_single_op()
71 …eturn push_inst(compiler, (op == SLJIT_MOV_S16 ? SRA : SRL) | D(dst) | S1(dst) | IMM(16), DR(dst)); in emit_single_op()
87 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op()
[all …]
H A DsljitNativePPC_32.c41 #define INS_CLEAR_LEFT(dst, src, from) \ argument
42 (RLWINM | S(src) | A(dst) | ((from) << 6) | (31 << 1))
45 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
53 if (dst != src2) in emit_single_op()
66 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
68 SLJIT_ASSERT(dst == src2); in emit_single_op()
81 SLJIT_ASSERT(dst == src2); in emit_single_op()
96 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
113 src1 = dst; in emit_single_op()
209 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativeMIPS_64.c180 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
195 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
207 return push_inst(compiler, DSRL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
227 FAIL_IF(push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(src2) | T(dst) | D(dst), DR(dst))); in emit_single_op()
240 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(dst) | T(dst) | IMM(1), DR(dst))); in emit_single_op()
468 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
518 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 32), DR(dst))); in emit_const()
519 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const()
520 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 16), DR(dst))); in emit_const()
521 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const()
[all …]
H A DsljitNativePPC_64.c30 #define ASM_SLJIT_CLZ(src, dst) \ argument
152 if (dst != src2) in emit_single_op()
165 SLJIT_ASSERT(dst == src2); in emit_single_op()
180 SLJIT_ASSERT(dst == src2); in emit_single_op()
193 SLJIT_ASSERT(dst == src2); in emit_single_op()
208 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
232 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
245 src1 = dst; in emit_single_op()
310 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
364 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativeX86_common.c1121 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1284 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1389 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz()
1779 if (FAST_IS_REG(dst) && dst != src2) {
1815 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1951 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2209 else if (SLOW_IS_REG(dst) && dst != src2 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
2316 if (SLOW_IS_REG(dst) && src2 == dst) {
2569 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
3048 reg = FAST_IS_REG(dst) ? dst : TMP_REG1;
[all …]
H A DsljitNativeMIPS_32.c90 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
93 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
109 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
112 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
136 FAIL_IF(push_inst(compiler, CLZ | S(src2) | T(dst) | D(dst), DR(dst))); in emit_single_op()
149 FAIL_IF(push_inst(compiler, ADDIU | S(dst) | T(dst) | IMM(1), DR(dst))); in emit_single_op()
228 FAIL_IF(push_inst(compiler, ADDU | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
364 FAIL_IF(push_inst(compiler, SUBU | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
375 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
385 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op()
[all …]
H A DsljitNativeARM_T2_32.c813 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
827 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
839 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
845 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
849 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
853 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
857 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
861 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1359 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
2190 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
[all …]
H A DsljitNativeARM_64.c235 sljit_s32 dst; in sljit_generate_code() local
1174 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1274 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1431 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
1453 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1511 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1557 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2()
1812 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
1961 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_get_local_base()
2004 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()
[all …]
H A DsljitNativeS390X.c1030 sljit_s32 dst, in emit_rr() argument
1067 sljit_s32 dst, in emit_rrf() argument
1071 sljit_gpr dst_r = SLOW_IS_REG(dst) ? gpr(dst & REG_MASK) : tmp0; in emit_rrf()
1094 sljit_s32 dst, in emit_ri() argument
1118 sljit_s32 dst, in emit_rie_d() argument
1139 sljit_s32 dst, in emit_rx() argument
1359 if (ins == 0 || (SLOW_IS_REG(dst) && dst == src1)) in emit_non_commutative()
1997 dst_r = SLOW_IS_REG(dst) ? gpr(REG_MASK & dst) : tmp0; in sljit_emit_op1()
2062 if ((dst != SLJIT_UNUSED) && (dst & SLJIT_MEM)) in sljit_emit_op1()
2966 dst_r = FAST_IS_REG(dst) ? gpr(dst & REG_MASK) : tmp0; in sljit_emit_const()
[all …]
H A DsljitNativeSPARC_common.c732 dst_r = dst; in emit_op()
1058 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1079 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1117 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1152 if (dst & SLJIT_MEM) in sljit_emit_fop1()
1173 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
1471 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
1492 return emit_op(compiler, op, flags, dst, 0, dst, 0, TMP_REG2, 0); in sljit_emit_op_flags()
1531 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
1534 if (dst & SLJIT_MEM) in sljit_emit_const()
[all …]
H A DsljitNativePPC_common.c1077 dst_r = dst; in emit_op()
1703 dst = 0; in sljit_emit_fop1_conv_sw_from_f64()
1721 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1746 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1754 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1784 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1824 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1873 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
2148 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
2413 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
[all …]
/PHP-8.1/main/
H A Dstrlcat.c64 PHPAPI size_t php_strlcat(dst, src, siz) in php_strlcat() argument
65 char *dst; in php_strlcat()
69 const char *d = dst;
75 while (n-- != 0 && *dst != '\0')
76 dst++;
77 dlen = dst - d;
84 *dst++ = *src;
89 *dst = '\0';
H A Dexplicit_bzero.c29 PHPAPI void php_explicit_bzero(void *dst, size_t siz) in php_explicit_bzero() argument
32 explicit_memset(dst, 0, siz); in php_explicit_bzero()
34 RtlSecureZeroMemory(dst, siz); in php_explicit_bzero()
36 memset(dst, 0, siz); in php_explicit_bzero()
37 asm __volatile__("" :: "r"(dst) : "memory"); in php_explicit_bzero()
40 volatile unsigned char *buf = (volatile unsigned char *)dst; in php_explicit_bzero()
H A Dstrlcpy.c62 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy() argument
63 char *dst; in php_strlcpy()
73 if ((*dst++ = *src++) == 0)
81 *dst = '\0'; /* NUL-terminate dst */
/PHP-8.1/ext/gd/tests/
H A Dbug72913.phpt13 $dst = imagecreate(50, 50);
14 $transparent = imagecolorallocatealpha($dst, 255, 255, 255, 127);
15 imagealphablending($dst, false);
16 imagesavealpha($dst, true);
18 imagecopy($dst, $src, 0,0, 0,0, 50,50);
21 test_image_equals_file(__DIR__ . '/bug72913.png', $dst);
/PHP-8.1/ext/date/lib/
H A Dunixtime2tm.c76 tm->dst = 0; in timelib_unixtime2gmt()
87 signed int dst = tm->dst; in timelib_update_from_sse() local
94 timelib_unixtime2gmt(tm, tm->sse + tm->z + (tm->dst * 3600)); in timelib_update_from_sse()
118 tm->dst = dst; in timelib_update_from_sse()
130 signed int dst = tm->dst; in timelib_unixtime2local() local
132 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local()
136 tm->dst = dst; in timelib_unixtime2local()
146 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
174 t->dst = 0; in timelib_set_timezone_from_offset()
188 t->dst = abbr_info.dst; in timelib_set_timezone_from_abbr()
[all …]
/PHP-8.1/ext/filter/tests/
H A D050.phpt13 foreach ($test as $src => $dst) {
15 if ($dst !== $out) {
17 echo "$src -> false != $dst\n";
18 } elseif ($dst === false) {
21 echo "$src -> $out != $dst\n";
H A D049.phpt18 foreach ($test as $src => $dst) {
20 if ($dst !== $out) {
22 echo "$src -> false != $dst\n";
23 } elseif ($dst === false) {
26 echo "$src -> $out != $dst\n";
/PHP-8.1/ext/date/tests/
H A D010.phpt14 ["dst"]=>
23 ["dst"]=>
32 ["dst"]=>
41 ["dst"]=>
50 ["dst"]=>
H A Dbug30096.phpt7 echo "no dst --> dst\n";
14 echo "\ndst --> no dst\n";
38 no dst --> dst
44 dst --> no dst
H A DDateTimeZone_listAbbreviations_basic1.phpt28 ["dst"]=>
37 ["dst"]=>
46 ["dst"]=>
55 ["dst"]=>
64 ["dst"]=>
73 ["dst"]=>
H A Dtimezone_abbreviations_list_basic1.phpt28 ["dst"]=>
37 ["dst"]=>
46 ["dst"]=>
55 ["dst"]=>
64 ["dst"]=>
73 ["dst"]=>
/PHP-8.1/ext/intl/
H A Dintl_convert.c120 zend_string* dst; in intl_convert_utf16_to_utf8() local
135 dst = zend_string_alloc(dst_len, 0); in intl_convert_utf16_to_utf8()
139 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
142 zend_string_efree(dst); in intl_convert_utf16_to_utf8()
149 ZSTR_VAL(dst)[dst_len] = 0; in intl_convert_utf16_to_utf8() local
150 return dst; in intl_convert_utf16_to_utf8()

Completed in 113 milliseconds

12345