Home
last modified time | relevance | path

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

12345

/PHP-8.2/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.2/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()
46 if (dst != src2) in emit_single_op()
47 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); in emit_single_op()
55 return push_inst(compiler, AND | D(dst) | S1(src2) | IMM(0xff), DR(dst)); in emit_single_op()
56 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op()
57 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)); in emit_single_op()
66 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); in emit_single_op()
67 …eturn push_inst(compiler, (op == SLJIT_MOV_S16 ? SRA : SRL) | D(dst) | S1(dst) | IMM(16), DR(dst)); in emit_single_op()
82 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()
91 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
108 src1 = dst; in emit_single_op()
212 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativeMIPS_64.c188 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
208 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
221 return push_inst(compiler, DSRL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
248 FAIL_IF(push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(src2) | T(dst) | D(dst), DR(dst))); in emit_single_op()
261 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(dst) | T(dst) | IMM(1), DR(dst))); in emit_single_op()
489 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
539 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 32), DR(dst))); in emit_const()
540 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const()
541 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 16), DR(dst))); in emit_const()
542 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
117 #define INS_CLEAR_LEFT(dst, src, from) \ 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()
219 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
232 src1 = dst; in emit_single_op()
306 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
366 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[all …]
H A DsljitNativeX86_common.c1140 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1303 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1402 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz()
1739 if (FAST_IS_REG(dst) && dst != src2) {
1773 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1909 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2160 else if (FAST_IS_REG(dst) && dst != src2 && dst != TMP_REG1 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
2269 if (FAST_IS_REG(dst) && src2 == dst) {
2550 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
3029 reg = FAST_IS_REG(dst) ? dst : TMP_REG1;
[all …]
H A DsljitNativeMIPS_32.c92 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
95 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
112 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
115 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
135 FAIL_IF(push_inst(compiler, CLZ | S(src2) | T(dst) | D(dst), DR(dst))); in emit_single_op()
148 FAIL_IF(push_inst(compiler, ADDIU | S(dst) | T(dst) | IMM(1), DR(dst))); in emit_single_op()
227 FAIL_IF(push_inst(compiler, ADDU | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
363 FAIL_IF(push_inst(compiler, SUBU | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
374 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
384 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op()
[all …]
H A DsljitNativeS390X.c1043 sljit_s32 dst, in emit_rr() argument
1080 sljit_s32 dst, in emit_rr1() argument
1083 sljit_gpr dst_r = FAST_IS_REG(dst) ? gpr(dst) : tmp0; in emit_rr1()
1150 sljit_gpr dst_r = FAST_IS_REG(dst) ? gpr(dst) : tmp0; in emit_rie_d()
1387 if (ins == 0 || (FAST_IS_REG(dst) && dst == src1)) in emit_non_commutative()
2092 dst_r = FAST_IS_REG(dst) ? gpr(REG_MASK & dst) : tmp0; in sljit_emit_op1()
2856 sljit_ins dst_r = FAST_IS_REG(dst) ? gpr(dst) : tmp0; in sljit_emit_fop1_conv_sw_from_f64()
2882 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
2940 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
3317 dst_r = FAST_IS_REG(dst) ? gpr(dst & REG_MASK) : tmp0; in sljit_emit_const()
[all …]
H A DsljitNativeARM_T2_32.c827 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
842 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
854 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1568 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1649 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1824 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1877 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1928 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2()
2451 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
2610 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()
[all …]
H A DsljitNativeARM_64.c240 sljit_u32 dst; in sljit_generate_code() local
1254 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1349 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1521 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
1543 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1601 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1647 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2()
1937 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
2089 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_get_local_base()
2133 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()
[all …]
H A DsljitNativePPC_common.c1155 dst_r = dst; in emit_op()
1798 dst = 0; in sljit_emit_fop1_conv_sw_from_f64()
1816 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1841 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1849 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1879 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1919 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1968 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
2273 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
2555 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
[all …]
H A DsljitNativeSPARC_common.c831 dst_r = dst; in emit_op()
1168 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1189 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1227 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1262 if (dst & SLJIT_MEM) in sljit_emit_fop1()
1283 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
1586 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
1607 return emit_op(compiler, op, flags, dst, 0, dst, 0, TMP_REG2, 0); in sljit_emit_op_flags()
1646 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
1649 if (dst & SLJIT_MEM) in sljit_emit_const()
[all …]
/PHP-8.2/main/
H A Dstrlcat.c64 PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz) in php_strlcat() argument
66 const char *d = dst; in php_strlcat()
72 while (n-- != 0 && *dst != '\0') in php_strlcat()
73 dst++; in php_strlcat()
74 dlen = dst - d; in php_strlcat()
81 *dst++ = *src; in php_strlcat()
86 *dst = '\0'; in php_strlcat()
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(char *dst, const char *src, size_t siz) in php_strlcpy() argument
70 if ((*dst++ = *src++) == 0) in php_strlcpy()
78 *dst = '\0'; /* NUL-terminate dst */ in php_strlcpy()
/PHP-8.2/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.2/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()
117 tm->dst = dst; in timelib_update_from_sse()
129 signed int dst = tm->dst; in timelib_unixtime2local() local
131 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local()
135 tm->dst = dst; in timelib_unixtime2local()
145 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
173 t->dst = 0; in timelib_set_timezone_from_offset()
187 t->dst = abbr_info.dst; in timelib_set_timezone_from_abbr()
[all …]
/PHP-8.2/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.2/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.2/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 84 milliseconds

12345