Home
last modified time | relevance | path

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

123456

/php-src/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-src/ext/dom/lexbor/lexbor/core/
H A Dprint.c93 ret = lexbor_vsprintf(dst, size, format, va); in lexbor_sprintf()
108 start = dst; in lexbor_vsprintf()
109 end = dst + size; in lexbor_vsprintf()
120 lexbor_sprintf_append(dst, end, begin, size); in lexbor_vsprintf()
125 lexbor_sprintf_append(dst, end, begin, size); in lexbor_vsprintf()
129 lexbor_sprintf_append(dst, end, cdata, size); in lexbor_vsprintf()
134 lexbor_sprintf_append(dst, end, begin, size); in lexbor_vsprintf()
154 lexbor_sprintf_append(dst, end, begin, size); in lexbor_vsprintf()
163 if (end - dst > 0) { in lexbor_vsprintf()
164 *dst = '\0'; in lexbor_vsprintf()
[all …]
H A Dlexbor.h17 typedef void *(*lexbor_memory_realloc_f)(void *dst, size_t size);
19 typedef void (*lexbor_memory_free_f)(void *dst);
25 lexbor_realloc(void *dst, size_t size);
31 lexbor_free(void *dst);
/php-src/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()
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_32.c56 if (dst != src2) in emit_single_op()
71 SLJIT_ASSERT(dst == src2); in emit_single_op()
96 FAIL_IF(push_inst(compiler, CNTLZW | S(dst) | A(dst))); in emit_single_op()
100 return push_inst(compiler, XOR | S(dst) | A(dst) | B(TMP_REG1)); in emit_single_op()
119 src1 = dst; in emit_single_op()
225 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
243 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
332 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
365 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
374 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_uw()
[all …]
H A DsljitNativePPC_64.c161 if (dst != src2) in emit_single_op()
218 return push_inst(compiler, XOR | S(dst) | A(dst) | B(TMP_REG1)); in emit_single_op()
231 return push_inst(compiler, SRDI(32) | S(dst) | A(dst)); in emit_single_op()
246 src1 = dst; in emit_single_op()
320 return push_inst(compiler, SRDI(32) | S(dst) | A(dst)); in emit_single_op()
382 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
400 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
575 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
602 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
611 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_uw()
[all …]
H A DsljitNativeMIPS_common.c1608 return push_inst(compiler, DSHD | T(dst) | D(dst), DR(dst)); in emit_rev()
1643 return push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst)); in emit_rev()
1656 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1661 FAIL_IF(push_inst(compiler, SLL | T(dst) | D(dst) | SH_IMM(8), DR(dst))); in emit_rev()
1662 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1683 return push_inst(compiler, ANDI | S(dst) | T(dst) | 0xffff, DR(dst)); in emit_rev16()
1685 return push_inst(compiler, SEH | T(dst) | D(dst), DR(dst)); in emit_rev16()
1691 return push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst)); in emit_rev16()
1726 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
1755 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
[all …]
H A DsljitNativeX86_common.c1516 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1612 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1676 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz_ctz()
2126 if (FAST_IS_REG(dst) && dst != src2) {
2275 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2529 if (FAST_IS_REG(dst) && dst != src2 && dst != TMP_REG1 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
2657 if (FAST_IS_REG(dst) && src2 == dst) {
3111 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
3237 dst_r = (dst == src) ? TMP_FREG : dst;
4914 reg = FAST_IS_REG(dst) ? dst : TMP_REG1;
[all …]
H A DsljitNativeRISCV_common.c1741 if (dst == 0) { in emit_op()
1744 dst = TMP_REG2; in emit_op()
1747 dst_r = dst; in emit_op()
2189 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op_dst()
2240 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_fop1_conv_sw_from_f64()
2268 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_w()
2403 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
2453 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
2837 dst_r = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
3082 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
[all …]
H A DsljitNativeARM_64.c1577 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1685 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1876 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_dst()
1967 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
2077 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
2123 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2()
2489 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
3210 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_simd_sign()
3392 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_get_local_base()
3436 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()
[all …]
H A DsljitNativeARM_T2_32.c1045 return push_inst32(compiler, CLZ | RN4(dst) | RD4(dst) | RM4(dst)); in emit_op_imm()
1926 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op1()
2013 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op2()
2186 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op_dst()
2301 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_w()
2372 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
2423 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2()
3067 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
4130 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_simd_sign()
4257 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()
[all …]
/php-src/ext/gd/tests/
H A Dbug72913.phpt19 $dst = imagecreate(50, 50);
20 $transparent = imagecolorallocatealpha($dst, 255, 255, 255, 127);
21 imagealphablending($dst, false);
22 imagesavealpha($dst, true);
24 imagecopy($dst, $src, 0,0, 0,0, 50,50);
27 test_image_equals_file(__DIR__ . '/bug72913.png', $dst);
/php-src/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-src/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-src/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-src/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-src/ext/dom/lexbor/lexbor/ports/posix/lexbor/core/
H A Dmemory.c21 lexbor_realloc(void *dst, size_t size) in lexbor_realloc() argument
23 return lexbor_memory_realloc(dst, size); in lexbor_realloc()
33 lexbor_free(void *dst) in lexbor_free() argument
35 lexbor_memory_free(dst); in lexbor_free()
/php-src/ext/dom/lexbor/lexbor/ports/windows_nt/lexbor/core/
H A Dmemory.c21 lexbor_realloc(void *dst, size_t size) in lexbor_realloc() argument
23 return lexbor_memory_realloc(dst, size); in lexbor_realloc()
33 lexbor_free(void *dst) in lexbor_free() argument
35 lexbor_memory_free(dst); in lexbor_free()
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dprocessing_instruction.c68 lxb_dom_processing_instruction_copy(lxb_dom_processing_instruction_t *dst, in lxb_dom_processing_instruction_copy() argument
71 dst->target.length = 0; in lxb_dom_processing_instruction_copy()
73 if (lexbor_str_copy(&dst->target, &src->target, in lxb_dom_processing_instruction_copy()
74 lxb_dom_interface_node(dst)->owner_document->text) == NULL) in lxb_dom_processing_instruction_copy()
79 return lxb_dom_character_data_interface_copy(&dst->char_data, in lxb_dom_processing_instruction_copy()

Completed in 73 milliseconds

123456