/PHP-7.3/ext/gd/libgd/ |
H A D | gd_matrix.c | 73 dst[4] = -src[4] * dst[0] - src[5] * dst[2]; in gdAffineInvert() 74 dst[5] = -src[4] * dst[1] - src[5] * dst[3]; in gdAffineInvert() 154 dst[0] = 1; in gdAffineIdentity() 155 dst[1] = 0; in gdAffineIdentity() 156 dst[2] = 0; in gdAffineIdentity() 157 dst[3] = 1; in gdAffineIdentity() 158 dst[4] = 0; in gdAffineIdentity() 159 dst[5] = 0; in gdAffineIdentity() 177 dst[1] = 0; in gdAffineScale() 178 dst[2] = 0; in gdAffineScale() [all …]
|
H A D | gd_rotate.c | 46 if (i < dst->sx) { in gdImageSkewX() 209 gdImagePtr dst; in gdImageRotate90() local 239 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); in gdImageRotate90() 241 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); in gdImageRotate90() 248 return dst; in gdImageRotate90() 287 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); in gdImageRotate180() 289 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); in gdImageRotate180() 296 return dst; in gdImageRotate180() 335 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); in gdImageRotate270() 337 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); in gdImageRotate270() [all …]
|
/PHP-7.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeSPARC_32.c | 30 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 D | sljitNativePPC_32.c | 41 #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 D | sljitNativeX86_common.c | 919 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte() 1082 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half() 1187 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz() 1583 if (FAST_IS_REG(dst) && dst != src2) { 1619 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; 1755 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; 2013 else if (SLOW_IS_REG(dst) && dst != src2 && !ADDRESSING_DEPENDS_ON(src2, dst)) { 2254 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; 2276 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; 2342 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; [all …]
|
H A D | sljitNativeMIPS_64.c | 180 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() 466 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 510 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 32), DR(dst))); in emit_const() 511 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const() 512 FAIL_IF(push_inst(compiler, ORI | S(dst) | T(dst) | IMM(init_value >> 16), DR(dst))); in emit_const() 513 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_const() [all …]
|
H A D | sljitNativePPC_64.c | 30 #define ASM_SLJIT_CLZ(src, dst) \ argument 155 if (dst != src2) in emit_single_op() 168 SLJIT_ASSERT(dst == src2); in emit_single_op() 183 SLJIT_ASSERT(dst == src2); in emit_single_op() 196 SLJIT_ASSERT(dst == src2); in emit_single_op() 211 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op() 235 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op() 248 src1 = dst; in emit_single_op() 293 return push_inst(compiler, RLDI(dst, dst, 32, 32, 0)); in emit_single_op() 355 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op() [all …]
|
H A D | sljitNativeMIPS_32.c | 90 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() 380 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op() [all …]
|
H A D | sljitNativeARM_T2_32.c | 786 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 799 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 810 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 816 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 820 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 824 if (dst == arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm() 828 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() 1334 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1() 2148 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags() [all …]
|
H A D | sljitNativeARM_64.c | 1130 dst = 5; in sljit_emit_op1() 1132 dst = 3; in sljit_emit_op1() 1134 dst = 1; in sljit_emit_op1() 1142 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1() 1242 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2() 1359 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64() 1439 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1() 1485 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop2() 1750 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags() 1899 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_get_local_base() [all …]
|
H A D | sljitNativeTILEGX_64.c | 412 #define CLZ(dst, src) \ argument 454 #define LD(dst, addr) \ argument 1593 if (dst != src2) in emit_single_op() 1695 if (src1 != dst) in emit_single_op() 1755 FAIL_IF(ADD(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op() 1780 if (src1 != dst) in emit_single_op() 1807 if (src1 != dst) in emit_single_op() 1869 FAIL_IF(SUB(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op() 1981 dst_r = dst; in emit_op() 2159 if (dst & SLJIT_MEM) in sljit_emit_op_flags() [all …]
|
/PHP-7.3/main/ |
H A D | strlcat.c | 66 PHPAPI size_t php_strlcat(dst, src, siz) in php_strlcat() argument 67 char *dst; in php_strlcat() 71 const char *d = dst; 77 while (n-- != 0 && *dst != '\0') 78 dst++; 79 dlen = dst - d; 86 *dst++ = *src; 91 *dst = '\0';
|
H A D | explicit_bzero.c | 31 PHPAPI void php_explicit_bzero(void *dst, size_t siz) in php_explicit_bzero() argument 34 explicit_memset(dst, 0, siz); in php_explicit_bzero() 36 RtlSecureZeroMemory(dst, siz); in php_explicit_bzero() 38 memset(dst, 0, siz); in php_explicit_bzero() 39 asm __volatile__("" :: "r"(dst) : "memory"); in php_explicit_bzero() 42 volatile unsigned char *buf = (volatile unsigned char *)dst; in php_explicit_bzero()
|
H A D | strlcpy.c | 64 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy() argument 65 char *dst; in php_strlcpy() 75 if ((*dst++ = *src++) == 0) 83 *dst = '\0'; /* NUL-terminate dst */
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_stat_init.c | 55 _zip_stat_merge(zip_stat_t *dst, const zip_stat_t *src, zip_error_t *error) in _zip_stat_merge() argument 59 dst->index = src->index; in _zip_stat_merge() 62 dst->size = src->size; in _zip_stat_merge() 65 dst->comp_size = src->comp_size; in _zip_stat_merge() 68 dst->mtime = src->mtime; in _zip_stat_merge() 71 dst->crc = src->crc; in _zip_stat_merge() 74 dst->comp_method = src->comp_method; in _zip_stat_merge() 77 dst->encryption_method = src->encryption_method; in _zip_stat_merge() 80 dst->flags = src->flags; in _zip_stat_merge() 82 dst->valid |= src->valid; in _zip_stat_merge()
|
/PHP-7.3/ext/gd/tests/ |
H A D | bug72913.phpt | 15 $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-7.3/ext/date/lib/ |
H A D | unixtime2tm.c | 112 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-7.3/ext/filter/tests/ |
H A D | 049.phpt | 18 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 D | 050.phpt | 13 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-7.3/ext/date/tests/ |
H A D | 010.phpt | 14 ["dst"]=> 23 ["dst"]=> 32 ["dst"]=> 41 ["dst"]=> 50 ["dst"]=>
|
H A D | bug30096.phpt | 7 echo "no dst --> dst\n"; 14 echo "\ndst --> no dst\n"; 38 no dst --> dst 44 dst --> no dst
|
H A D | timezone_abbreviations_list_basic1.phpt | 6 * Description: Returns associative array containing dst, offset and the timezone name 35 ["dst"]=> 44 ["dst"]=> 53 ["dst"]=> 62 ["dst"]=> 71 ["dst"]=> 80 ["dst"]=>
|
H A D | DateTimeZone_listAbbreviations_basic1.phpt | 6 * Description: Returns associative array containing dst, offset and the timezone name 35 ["dst"]=> 44 ["dst"]=> 53 ["dst"]=> 62 ["dst"]=> 71 ["dst"]=> 80 ["dst"]=>
|
/PHP-7.3/ext/intl/ |
H A D | intl_convert.c | 122 zend_string* dst; in intl_convert_utf16_to_utf8() local 137 dst = zend_string_alloc(dst_len, 0); in intl_convert_utf16_to_utf8() 141 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8() 144 zend_string_efree(dst); in intl_convert_utf16_to_utf8() 151 ZSTR_VAL(dst)[dst_len] = 0; in intl_convert_utf16_to_utf8() local 152 return dst; in intl_convert_utf16_to_utf8()
|
/PHP-7.3/ext/json/ |
H A D | json_encoder.c | 259 char *dst; in php_json_escape_string() local 343 dst[0] = '\\'; in php_json_escape_string() 344 dst[1] = 'u'; in php_json_escape_string() 348 dst[5] = digits[us & 0xf]; in php_json_escape_string() 352 dst[0] = '\\'; in php_json_escape_string() 353 dst[1] = 'u'; in php_json_escape_string() 357 dst[5] = digits[us & 0xf]; in php_json_escape_string() 450 dst[0] = '\\'; in php_json_escape_string() 451 dst[1] = 'u'; in php_json_escape_string() 452 dst[2] = '0'; in php_json_escape_string() [all …]
|