Home
last modified time | relevance | path

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

12345

/PHP-8.0/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.0/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()
203 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 DsljitNativeX86_common.c1124 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1287 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1392 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz()
1782 if (FAST_IS_REG(dst) && dst != src2) {
1818 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1954 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2212 else if (SLOW_IS_REG(dst) && dst != src2 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
2319 if (SLOW_IS_REG(dst) && src2 == dst) {
2572 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
3051 reg = FAST_IS_REG(dst) ? dst : TMP_REG1;
[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()
290 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op()
352 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
[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_64.c245 sljit_s32 dst; in sljit_generate_code() local
1178 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1278 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1435 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
1457 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1515 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1561 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 DsljitNativeARM_T2_32.c808 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
821 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
832 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
838 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
842 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
846 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
850 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
854 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1352 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
2179 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
[all …]
H A DsljitNativeTILEGX_64.c412 #define CLZ(dst, src) \ argument
454 #define LD(dst, addr) \ argument
1575 if (dst != src2) in emit_single_op()
1677 if (src1 != dst) in emit_single_op()
1737 FAIL_IF(ADD(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1762 if (src1 != dst) in emit_single_op()
1789 if (src1 != dst) in emit_single_op()
1851 FAIL_IF(SUB(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1963 dst_r = dst; in emit_op()
2141 if (dst & SLJIT_MEM) in sljit_emit_op_flags()
[all …]
H A DsljitNativeSPARC_common.c731 dst_r = dst; in emit_op()
1057 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
1078 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
1116 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
1151 if (dst & SLJIT_MEM) in sljit_emit_fop1()
1172 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
1466 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
1487 return emit_op(compiler, op, flags, dst, 0, dst, 0, TMP_REG2, 0); in sljit_emit_op_flags()
1526 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
1529 if (dst & SLJIT_MEM) in sljit_emit_const()
[all …]
/PHP-8.0/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.0/ext/gd/tests/
H A Dbug72913.phpt15 $dst = imagecreate(50, 50);
16 $transparent = imagecolorallocatealpha($dst, 255, 255, 255, 127);
17 imagealphablending($dst, false);
18 imagesavealpha($dst, true);
20 imagecopy($dst, $src, 0,0, 0,0, 50,50);
23 test_image_equals_file(__DIR__ . '/bug72913.png', $dst);
/PHP-8.0/ext/filter/tests/
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";
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";
/PHP-8.0/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.0/ext/date/lib/
H A Dunixtime2tm.c112 tm->dst = 0; in timelib_unixtime2gmt()
123 signed int dst = tm->dst; in timelib_update_from_sse() local
130 timelib_unixtime2gmt(tm, tm->sse + tm->z + (tm->dst * 3600)); in timelib_update_from_sse()
154 tm->dst = dst; in timelib_update_from_sse()
166 signed int dst = tm->dst; in timelib_unixtime2local() local
168 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local()
172 tm->dst = dst; in timelib_unixtime2local()
182 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
210 t->dst = 0; in timelib_set_timezone_from_offset()
224 t->dst = abbr_info.dst; in timelib_set_timezone_from_abbr()
[all …]
/PHP-8.0/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()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_str.h6 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument
10 d = dst; in str_purify_filename()
11 end = dst + size - 1; in str_purify_filename()

Completed in 82 milliseconds

12345