Home
last modified time | relevance | path

Searched refs:xy (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/external/skia/src/pathops/
DSkPathOpsLine.cpp21 double SkDLine::exactPoint(const SkDPoint& xy) const { in exactPoint()
22 if (xy == fPts[0]) { // do cheapest test first in exactPoint()
25 if (xy == fPts[1]) { in exactPoint()
31 double SkDLine::nearPoint(const SkDPoint& xy, bool* unequal) const { in nearPoint() argument
32 if (!AlmostBetweenUlps(fPts[0].fX, xy.fX, fPts[1].fX) in nearPoint()
33 || !AlmostBetweenUlps(fPts[0].fY, xy.fY, fPts[1].fY)) { in nearPoint()
39 SkDVector ab0 = xy - fPts[0]; in nearPoint()
49 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ? in nearPoint()
65 bool SkDLine::nearRay(const SkDPoint& xy) const { in nearRay()
69 SkDVector ab0 = xy - fPts[0]; in nearRay()
[all …]
DSkPathOpsLine.h24 double exactPoint(const SkDPoint& xy) const;
25 static double ExactPointH(const SkDPoint& xy, double left, double right, double y);
26 static double ExactPointV(const SkDPoint& xy, double top, double bottom, double x);
28 double nearPoint(const SkDPoint& xy, bool* unequal) const;
29 bool nearRay(const SkDPoint& xy) const;
30 static double NearPointH(const SkDPoint& xy, double left, double right, double y);
31 static double NearPointV(const SkDPoint& xy, double top, double bottom, double x);
/external/valgrind/none/tests/s390x/
Dxor.stdout.exp49 xy 0000000000000000 ^ 0000000000000000 = 0000000000000000 (cc=0)
50 xy 0000000000000001 ^ 0000000000000000 = 0000000000000001 (cc=1)
51 xy 000000000000FFFF ^ 0000000000000000 = 000000000000FFFF (cc=1)
52 xy 0000000000007FFF ^ 0000000000000000 = 0000000000007FFF (cc=1)
53 xy 0000000000008000 ^ 0000000000000000 = 0000000000008000 (cc=1)
54 xy 00000000FFFFFFFF ^ 0000000000000000 = 00000000FFFFFFFF (cc=1)
55 xy 0000000080000000 ^ 0000000000000000 = 0000000080000000 (cc=1)
56 xy 000000007FFFFFFF ^ 0000000000000000 = 000000007FFFFFFF (cc=1)
57 xy AAAAAAAAAAAAAAAA ^ 0000000000000000 = AAAAAAAAAAAAAAAA (cc=1)
58 xy 8000000000000000 ^ 0000000000000000 = 8000000000000000 (cc=0)
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathShear.h67 T xy, xz, yz, yx, zx, zy;
257 return (&xy)[i];
264 return (&xy)[i];
271 xy = xz = yz = yx = zx = zy = 0; in Shear6()
278 xy = XY; in Shear6()
290 xy = v.x; in Shear6()
303 xy = T (v.x); in Shear6()
315 xy = XY; in Shear6()
327 xy = h.xy; in Shear6()
340 xy = T (h.xy); in Shear6()
[all …]
/external/v8/test/webkit/
Dchar-at-expected.txt81 PASS "xy".charAt() is "x"
82 PASS "xy".charCodeAt() is 120
83 PASS "xy".charAt(undefined) is "x"
84 PASS "xy".charCodeAt(undefined) is 120
85 PASS "xy".charAt(0) is "x"
86 PASS "xy".charCodeAt(0) is 120
87 PASS "xy".charAt(null) is "x"
88 PASS "xy".charCodeAt(null) is 120
89 PASS "xy".charAt(false) is "x"
90 PASS "xy".charCodeAt(false) is 120
[all …]
/external/skia/src/opts/
DSkBitmapProcState_opts_SSE2.cpp15 const uint32_t* xy, in S32_opaque_D32_filter_DX_SSE2() argument
24 uint32_t XY = *xy++; in S32_opaque_D32_filter_DX_SSE2()
54 uint32_t XX = *xy++; // x0:14 | 4 | x1:14 in S32_opaque_D32_filter_DX_SSE2()
121 const uint32_t* xy, in S32_alpha_D32_filter_DX_SSE2() argument
130 uint32_t XY = *xy++; in S32_alpha_D32_filter_DX_SSE2()
164 uint32_t XX = *xy++; // x0:14 | 4 | x1:14 in S32_alpha_D32_filter_DX_SSE2()
246 void ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[], in ClampX_ClampY_filter_scale_SSE2() argument
260 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY); in ClampX_ClampY_filter_scale_SSE2()
269 while ((size_t(xy) & 0x0F) != 0) { in ClampX_ClampY_filter_scale_SSE2()
271 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2()
[all …]
DSkBitmapProcState_matrix_neon.h31 uint32_t xy[], int count, int x, int y) { in SCALE_NOFILTER_NAME() argument
43 *xy++ = TILEY_PROCF(mapper.fixedY(), maxY); in SCALE_NOFILTER_NAME()
49 memset(xy, 0, count * sizeof(uint16_t)); in SCALE_NOFILTER_NAME()
58 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx), in SCALE_NOFILTER_NAME()
72 int16_t *dst16 = (int16_t *)xy; in SCALE_NOFILTER_NAME()
100 xy = (uint32_t *) dst16; in SCALE_NOFILTER_NAME()
103 uint16_t* xx = (uint16_t*)xy; in SCALE_NOFILTER_NAME()
111 uint32_t xy[], int count, int x, int y) { in AFFINE_NOFILTER_NAME() argument
135 int16_t *dst16 = (int16_t *) xy; in AFFINE_NOFILTER_NAME()
172 xy = (uint32_t *) dst16; in AFFINE_NOFILTER_NAME()
[all …]
DSkBitmapProcState_opts_SSSE3.cpp49 inline void PrepareConstantsTwoPixelPairs(const uint32_t* xy, in PrepareConstantsTwoPixelPairs() argument
58 const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy)); in PrepareConstantsTwoPixelPairs()
95 inline void PrepareConstantsTwoPixelPairsDXDY(const uint32_t* xy, in PrepareConstantsTwoPixelPairsDXDY() argument
104 _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy)); in PrepareConstantsTwoPixelPairsDXDY()
394 const uint32_t* xy, in S32_generic_D32_filter_DX_SSSE3() argument
408 const uint32_t XY = *xy++; in S32_generic_D32_filter_DX_SSSE3()
441 PrepareConstantsTwoPixelPairs(xy, mask_3FFF, mask_000F, in S32_generic_D32_filter_DX_SSSE3()
444 xy += 4; in S32_generic_D32_filter_DX_SSSE3()
474 uint32_t xx = *xy++; // x0:14 | 4 | x1:14 in S32_generic_D32_filter_DX_SSSE3()
513 PrepareConstantsTwoPixelPairs(xy, mask_3FFF, mask_000F, in S32_generic_D32_filter_DX_SSSE3()
[all …]
DSkBitmapProcState_opts_SSE2.h14 const uint32_t* xy,
17 const uint32_t* xy,
19 void ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[],
22 uint32_t xy[], int count, int x, int y);
24 uint32_t xy[], int count, int x, int y);
26 uint32_t xy[], int count, int x, int y);
/external/skia/src/core/
DSkBitmapProcState_sample.h12 const uint32_t* SK_RESTRICT xy,
15 const uint32_t* SK_RESTRICT xy,
18 const uint32_t* SK_RESTRICT xy,
21 const uint32_t* SK_RESTRICT xy,
25 const uint32_t* SK_RESTRICT xy, in MAKENAME()
41 XY = *xy++; in MAKENAME()
47 XY = *xy++; in MAKENAME()
54 XY = *xy++; in MAKENAME()
67 const uint32_t* SK_RESTRICT xy, in MAKENAME()
81 SkASSERT((unsigned)xy[0] < (unsigned)s.fPixmap.height()); in MAKENAME()
[all …]
DSkBitmapProcState_matrix_template.h15 void NoFilterProc_Scale(const SkBitmapProcState& s, uint32_t xy[], in NoFilterProc_Scale() argument
27 *xy++ = TileProc::Y(s, mapper.fixedY(), maxY); in NoFilterProc_Scale()
33 memset(xy, 0, count * sizeof(uint16_t)); in NoFilterProc_Scale()
40 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx), in NoFilterProc_Scale()
49 *xy++ = (a << 16) | b; in NoFilterProc_Scale()
51 *xy++ = (b << 16) | a; in NoFilterProc_Scale()
56 *xy++ = (a << 16) | b; in NoFilterProc_Scale()
58 *xy++ = (b << 16) | a; in NoFilterProc_Scale()
61 uint16_t* xx = (uint16_t*)xy; in NoFilterProc_Scale()
73 void NoFilterProc_Affine(const SkBitmapProcState& s, uint32_t xy[], in NoFilterProc_Affine() argument
[all …]
DSkBitmapProcState_filter.h28 int xy = x * y; in Filter_32_opaque() local
31 int scale = 256 - 16*y - 16*x + xy; in Filter_32_opaque()
35 scale = 16*x - xy; in Filter_32_opaque()
39 scale = 16*y - xy; in Filter_32_opaque()
43 lo += (a11 & mask) * xy; in Filter_32_opaque()
44 hi += ((a11 >> 8) & mask) * xy; in Filter_32_opaque()
58 int xy = x * y; in Filter_32_alpha() local
61 int scale = 256 - 16*y - 16*x + xy; in Filter_32_alpha()
65 scale = 16*x - xy; in Filter_32_alpha()
69 scale = 16*y - xy; in Filter_32_alpha()
[all …]
DSkBitmapProcState_matrix.h29 uint32_t xy[], int count, int x, int y);
31 uint32_t xy[], int count, int x, int y);
33 uint32_t* SK_RESTRICT xy, int count,
51 uint32_t xy[], int count, int x, int y) { in SCALE_FILTER_NAME() argument
68 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME()
75 decal_filter_scale(xy, SkFractionalIntToFixed(fx), in SCALE_FILTER_NAME()
82 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
89 uint32_t xy[], int count, int x, int y) { in AFFINE_FILTER_NAME() argument
108 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); in AFFINE_FILTER_NAME()
110 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X); in AFFINE_FILTER_NAME()
[all …]
DSkBitmapProcState_matrixProcs.cpp78 void ClampX_ClampY_nofilter_scale(const SkBitmapProcState& s, uint32_t xy[], in ClampX_ClampY_nofilter_scale() argument
80 return NoFilterProc_Scale<ClampTileProcs, true>(s, xy, count, x, y); in ClampX_ClampY_nofilter_scale()
82 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, uint32_t xy[], in ClampX_ClampY_nofilter_affine() argument
84 return NoFilterProc_Affine<ClampTileProcs>(s, xy, count, x, y); in ClampX_ClampY_nofilter_affine()
329 static int nofilter_trans_preamble(const SkBitmapProcState& s, uint32_t** xy, in nofilter_trans_preamble() argument
332 **xy = s.fIntTileProcY(mapper.intY(), s.fPixmap.height()); in nofilter_trans_preamble()
333 *xy += 1; // bump the ptr in nofilter_trans_preamble()
339 uint32_t xy[], int count, int x, int y) { in clampx_nofilter_trans() argument
342 int xpos = nofilter_trans_preamble(s, &xy, x, y); in clampx_nofilter_trans()
346 memset(xy, 0, count * sizeof(uint16_t)); in clampx_nofilter_trans()
[all …]
DSkBitmapProcState_procs.h27 int xy = x * y >> 3; in Filter_565_Expanded() local
28 return a00 * (32 - 2*y - 2*x + xy) + in Filter_565_Expanded()
29 a01 * (2*x - xy) + in Filter_565_Expanded()
30 a10 * (2*y - xy) + in Filter_565_Expanded()
31 a11 * xy; in Filter_565_Expanded()
55 int xy = x * y >> 4; in Filter_4444_D32() local
56 uint32_t result = a00 * (16 - y - x + xy) + in Filter_4444_D32()
57 a01 * (x - xy) + in Filter_4444_D32()
58 a10 * (y - xy) + in Filter_4444_D32()
59 a11 * xy; in Filter_4444_D32()
[all …]
/external/opencv3/3rdparty/libpng/
Dpng.c854 int png_xy_from_XYZ(png_xy *xy, png_XYZ XYZ)
859 if (!png_muldiv(&xy->redx, XYZ.redX, PNG_FP_1, d)) return 1;
860 if (!png_muldiv(&xy->redy, XYZ.redY, PNG_FP_1, d)) return 1;
866 if (!png_muldiv(&xy->greenx, XYZ.greenX, PNG_FP_1, d)) return 1;
867 if (!png_muldiv(&xy->greeny, XYZ.greenY, PNG_FP_1, d)) return 1;
873 if (!png_muldiv(&xy->bluex, XYZ.blueX, PNG_FP_1, d)) return 1;
874 if (!png_muldiv(&xy->bluey, XYZ.blueY, PNG_FP_1, d)) return 1;
882 if (!png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite)) return 1;
883 if (!png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite)) return 1;
888 int png_XYZ_from_xy(png_XYZ *XYZ, png_xy xy)
[all …]
/external/fonttools/Lib/fontTools/misc/
Dtransform.py88 def __init__(self, xx=1, xy=0, yx=0, yy=1, dx=0, dy=0): argument
99 self.__affine = xx, xy, yx, yy, dx, dy
111 xx, xy, yx, yy, dx, dy = self.__affine
112 return (xx*x + yx*y + dx, xy*x + yy*y + dy)
123 xx, xy, yx, yy, dx, dy = self.__affine
124 return [(xx*x + yx*y + dx, xy*x + yy*y + dy) for x, y in points]
238 xx, xy, yx, yy, dx, dy = self.__affine
239 det = xx*yy - yx*xy
240 xx, xy, yx, yy = yy/det, -xy/det, -yx/det, xx/det
241 dx, dy = -xx*dx - yx*dy, -xy*dx - yy*dy
[all …]
/external/clang/test/Analysis/
Dtaint-tester.c50 struct XYStruct xy = {2, 3, 11}; in taintTracking() local
51 scanf("%d", &xy.y); in taintTracking()
52 scanf("%d", &xy.x); in taintTracking()
53 int tx = xy.x; // expected-warning + {{tainted}} in taintTracking()
54 int ty = xy.y; // FIXME: This should be tainted as well. in taintTracking()
55 char ntz = xy.z;// no warning in taintTracking()
57 scanf("%d %d", &xy.y, &xy.x); in taintTracking()
58 int ttx = xy.x; // expected-warning + {{tainted}} in taintTracking()
59 int tty = xy.y; // expected-warning + {{tainted}} in taintTracking()
/external/pdfium/third_party/lpng_v163/
Dpng.c1132 png_xy_from_XYZ(png_xy *xy, const png_XYZ *XYZ)
1137 if (!png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d)) return 1;
1138 if (!png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d)) return 1;
1144 if (!png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d)) return 1;
1145 if (!png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d)) return 1;
1151 if (!png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d)) return 1;
1152 if (!png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d)) return 1;
1160 if (!png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite)) return 1;
1161 if (!png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite)) return 1;
1167 png_XYZ_from_xy(png_XYZ *XYZ, const png_xy *xy)
[all …]
/external/libpng/
Dpng.c1198 png_xy_from_XYZ(png_xy *xy, const png_XYZ *XYZ)
1203 if (png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d) == 0)
1205 if (png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d) == 0)
1212 if (png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d) == 0)
1214 if (png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d) == 0)
1221 if (png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d) == 0)
1223 if (png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d) == 0)
1232 if (png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite) == 0)
1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
1241 png_XYZ_from_xy(png_XYZ *XYZ, const png_xy *xy)
[all …]
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationUiDevice.java71 int[] xy = new int[2]; in call() local
72 rootView.getLocationOnScreen(xy); in call()
73 if (xy[0] == 0 && xy[1] == 0) { in call()
78 rect.offset(xy[0], xy[1]); in call()
80 Bitmap.createBitmap(rect.width() + xy[0], rect.height() + xy[1], Config.ARGB_8888); in call()
/external/llvm/test/CodeGen/Mips/
Dhfptrcall.ll10 @xy = common global { float, float } zeroinitializer, align 4
83 …store float %5, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i32 0, i32…
84 …store float %6, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i32 0, i32…
85 …%xy.real = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i32…
86 …%xy.imag = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i32…
87 %conv5 = fpext float %xy.real to double
88 %conv6 = fpext float %xy.imag to double
89 …%xy.real7 = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i3…
90 …%xy.imag8 = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @xy, i3…
91 %conv9 = fpext float %xy.real7 to double
[all …]
/external/llvm/test/Transforms/InstCombine/
Dblend_x86.ll3 define <2 x double> @constant_blendvpd(<2 x double> %xy, <2 x double> %ab) {
5 ; CHECK-NEXT: %1 = select <2 x i1> <i1 true, i1 false>, <2 x double> %ab, <2 x double> %xy
7 …%1 = tail call <2 x double> @llvm.x86.sse41.blendvpd(<2 x double> %xy, <2 x double> %ab, <2 x doub…
11 define <2 x double> @constant_blendvpd_zero(<2 x double> %xy, <2 x double> %ab) {
13 ; CHECK-NEXT: ret <2 x double> %xy
14 …%1 = tail call <2 x double> @llvm.x86.sse41.blendvpd(<2 x double> %xy, <2 x double> %ab, <2 x doub…
18 define <2 x double> @constant_blendvpd_dup(<2 x double> %xy, <2 x double> %sel) {
20 ; CHECK-NEXT: ret <2 x double> %xy
21 …%1 = tail call <2 x double> @llvm.x86.sse41.blendvpd(<2 x double> %xy, <2 x double> %xy, <2 x doub…
69 define <4 x double> @constant_blendvpd_avx(<4 x double> %xy, <4 x double> %ab) {
[all …]
/external/freetype/src/base/
Dftcalc.c690 FT_Fixed xx, xy, yx, yy; in FT_Matrix_Multiply() local
696 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply()
697 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply()
699 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply()
701 b->xx = xx; b->xy = xy; in FT_Matrix_Multiply()
719 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
724 matrix->xy = - FT_DivFix( matrix->xy, delta ); in FT_Matrix_Invert()
744 FT_Fixed xx, xy, yx, yy; in FT_Matrix_Multiply_Scaled() local
752 xx = FT_MulDiv( a->xx, b->xx, val ) + FT_MulDiv( a->xy, b->yx, val ); in FT_Matrix_Multiply_Scaled()
753 xy = FT_MulDiv( a->xx, b->xy, val ) + FT_MulDiv( a->xy, b->yy, val ); in FT_Matrix_Multiply_Scaled()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftcalc.c663 FT_Fixed xx, xy, yx, yy; in FT_Matrix_Multiply() local
669 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply()
670 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply()
672 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply()
674 b->xx = xx; b->xy = xy; in FT_Matrix_Multiply()
692 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
697 matrix->xy = - FT_DivFix( matrix->xy, delta ); in FT_Matrix_Invert()
717 FT_Fixed xx, xy, yx, yy; in FT_Matrix_Multiply_Scaled() local
725 xx = FT_MulDiv( a->xx, b->xx, val ) + FT_MulDiv( a->xy, b->yx, val ); in FT_Matrix_Multiply_Scaled()
726 xy = FT_MulDiv( a->xx, b->xy, val ) + FT_MulDiv( a->xy, b->yy, val ); in FT_Matrix_Multiply_Scaled()
[all …]

12345678910>>...14