Home
last modified time | relevance | path

Searched refs:quad (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/third_party/flutter/skia/src/pathops/
DSkReduceOrder.cpp17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() argument
18 reduction[0] = reduction[1] = quad[0]; in coincident_line()
26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() argument
27 reduction[0] = quad[0]; in vertical_line()
28 reduction[1] = quad[2]; in vertical_line()
32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() argument
33 reduction[0] = quad[0]; in horizontal_line()
34 reduction[1] = quad[2]; in horizontal_line()
38 static int check_linear(const SkDQuad& quad, in check_linear() argument
40 if (!quad.isLinear(0, 2)) { in check_linear()
[all …]
/third_party/skia/tests/
DGrQuadCropTest.cpp29 DrawQuad quad = {GrQuad::MakeFromRect(kDrawRect, viewMatrix), in run_crop_axis_aligned_test() local
33 bool exact = GrQuadUtils::CropToRect(clipRect, clipAA, &quad, /* calc. locals */ !!localMatrix); in run_crop_axis_aligned_test()
35 ASSERTF(quad.fDevice.quadType() == GrQuad::Type::kAxisAligned, in run_crop_axis_aligned_test()
42 SkRect actualBounds = quad.fDevice.bounds(); in run_crop_axis_aligned_test()
56 SkPoint expectedPoint = quad.fDevice.point(p); in run_crop_axis_aligned_test()
58 SkPoint actualPoint = quad.fLocal.point(p); in run_crop_axis_aligned_test()
70 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kLeft, "Expected left edge AA set"); in run_crop_axis_aligned_test()
72 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kLeft), "Expected left edge AA unset"); in run_crop_axis_aligned_test()
77 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kRight, "Expected right edge AA set"); in run_crop_axis_aligned_test()
79 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kRight), "Expected right edge AA unset"); in run_crop_axis_aligned_test()
[all …]
DPathOpsQuadLineIntersectionThreadedTest.cpp18 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument
30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
41 intersections.intersect(quad, line); in doIntersect()
47 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, in testLineIntersect() argument
50 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY); in testLineIntersect()
51 pathStr.appendf(" path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX, in testLineIntersect()
52 quad[1].fY, quad[2].fX, quad[2].fY); in testLineIntersect()
58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
62 SkDPoint quadXY = quad.ptAtT(quadT); in testLineIntersect()
[all …]
DPathOpsQuadLineIntersectionTest.cpp18 QuadPts quad; member
33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument
45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
56 intersections.intersect(quad, line); in doIntersect()
63 QuadPts quad; member
86 const QuadPts& q = oneOffs[index].quad; in testOneOffs()
87 SkDQuad quad; in testOneOffs() local
88 quad.debugSet(q.fPts); in testOneOffs()
89 SkASSERT(ValidQuad(quad)); in testOneOffs()
[all …]
DPathOpsQuadReduceOrderTest.cpp23 SkDQuad quad; in oneOffTest() local
24 quad.debugSet(q.fPts); in oneOffTest()
26 SkDEBUGCODE(int result = ) reducer.reduce(quad); in oneOffTest()
53 SkDQuad quad; in standardTestCases() local
54 quad.debugSet(q.fPts); in standardTestCases()
55 order = reducer.reduce(quad); in standardTestCases()
62 SkDQuad quad; in standardTestCases() local
63 quad.debugSet(q.fPts); in standardTestCases()
64 order = reducer.reduce(quad); in standardTestCases()
DPathOpsDRectTest.cpp31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { in setRawBounds() argument
32 rect->set(quad[0]); in setRawBounds()
33 rect->add(quad[1]); in setRawBounds()
34 rect->add(quad[2]); in setRawBounds()
49 SkDQuad quad; in DEF_TEST() local
50 quad.debugSet(q.fPts); in DEF_TEST()
51 SkASSERT(ValidQuad(quad)); in DEF_TEST()
52 setRawBounds(quad, &rect); in DEF_TEST()
53 rect2.setBounds(quad); in DEF_TEST()
DStrokerTest.cpp238 SkPoint quad[3]; in DEF_TEST() local
239 quad[0].fX = r.nextRangeF(0, 500); in DEF_TEST()
240 quad[0].fY = r.nextRangeF(0, 500); in DEF_TEST()
243 quad[1].fX = r.nextRangeF(0, 500); in DEF_TEST()
244 quad[1].fY = r.nextRangeF(0, 500); in DEF_TEST()
245 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST()
247 quad[2].fX = r.nextRangeF(0, 500); in DEF_TEST()
248 quad[2].fY = r.nextRangeF(0, 500); in DEF_TEST()
249 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST()
250 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST()
[all …]
/third_party/skia/src/pathops/
DSkReduceOrder.cpp17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() argument
18 reduction[0] = reduction[1] = quad[0]; in coincident_line()
26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() argument
27 reduction[0] = quad[0]; in vertical_line()
28 reduction[1] = quad[2]; in vertical_line()
32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() argument
33 reduction[0] = quad[0]; in horizontal_line()
34 reduction[1] = quad[2]; in horizontal_line()
38 static int check_linear(const SkDQuad& quad, in check_linear() argument
40 if (!quad.isLinear(0, 2)) { in check_linear()
[all …]
/third_party/flutter/skia/tests/
DPathOpsQuadLineIntersectionThreadedTest.cpp18 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument
30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
41 intersections.intersect(quad, line); in doIntersect()
47 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, in testLineIntersect() argument
50 pathStr.appendf(" path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY); in testLineIntersect()
51 pathStr.appendf(" path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX, in testLineIntersect()
52 quad[1].fY, quad[2].fX, quad[2].fY); in testLineIntersect()
58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
62 SkDPoint quadXY = quad.ptAtT(quadT); in testLineIntersect()
[all …]
DPathOpsQuadLineIntersectionTest.cpp18 QuadPts quad; member
33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument
45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
56 intersections.intersect(quad, line); in doIntersect()
63 QuadPts quad; member
86 const QuadPts& q = oneOffs[index].quad; in testOneOffs()
87 SkDQuad quad; in testOneOffs() local
88 quad.debugSet(q.fPts); in testOneOffs()
89 SkASSERT(ValidQuad(quad)); in testOneOffs()
[all …]
DPathOpsQuadReduceOrderTest.cpp23 SkDQuad quad; in oneOffTest() local
24 quad.debugSet(q.fPts); in oneOffTest()
26 SkDEBUGCODE(int result = ) reducer.reduce(quad); in oneOffTest()
53 SkDQuad quad; in standardTestCases() local
54 quad.debugSet(q.fPts); in standardTestCases()
55 order = reducer.reduce(quad); in standardTestCases()
62 SkDQuad quad; in standardTestCases() local
63 quad.debugSet(q.fPts); in standardTestCases()
64 order = reducer.reduce(quad); in standardTestCases()
DPathOpsDRectTest.cpp31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { in setRawBounds() argument
32 rect->set(quad[0]); in setRawBounds()
33 rect->add(quad[1]); in setRawBounds()
34 rect->add(quad[2]); in setRawBounds()
49 SkDQuad quad; in DEF_TEST() local
50 quad.debugSet(q.fPts); in DEF_TEST()
51 SkASSERT(ValidQuad(quad)); in DEF_TEST()
52 setRawBounds(quad, &rect); in DEF_TEST()
53 rect2.setBounds(quad); in DEF_TEST()
DStrokerTest.cpp236 SkPoint quad[3]; in DEF_TEST() local
237 quad[0].fX = r.nextRangeF(0, 500); in DEF_TEST()
238 quad[0].fY = r.nextRangeF(0, 500); in DEF_TEST()
241 quad[1].fX = r.nextRangeF(0, 500); in DEF_TEST()
242 quad[1].fY = r.nextRangeF(0, 500); in DEF_TEST()
243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST()
245 quad[2].fX = r.nextRangeF(0, 500); in DEF_TEST()
246 quad[2].fY = r.nextRangeF(0, 500); in DEF_TEST()
247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST()
248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/lib/
Dcrt0_aarch64_efi.S48 .quad 0 /* ImageBase */
68 .quad 0 /* SizeOfStackReserve */
69 .quad 0 /* SizeOfStackCommit */
70 .quad 0 /* SizeOfHeapReserve */
71 .quad 0 /* SizeOfHeapCommit */
75 .quad 0 /* ExportTable */
76 .quad 0 /* ImportTable */
77 .quad 0 /* ResourceTable */
78 .quad 0 /* ExceptionTable */
79 .quad 0 /* CertificationTable */
[all …]
/third_party/flutter/skia/src/gpu/geometry/
DGrQuadUtils.cpp176 static bool is_simple_rect(const GrQuad& quad) { in is_simple_rect() argument
177 if (quad.quadType() != GrQuad::Type::kAxisAligned) { in is_simple_rect()
183 return ((quad.x(0) + SK_ScalarNearlyZero) < quad.x(2)) && in is_simple_rect()
184 ((quad.y(0) + SK_ScalarNearlyZero) < quad.y(1)); in is_simple_rect()
218 void ResolveAAType(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, const GrQuad& quad, in ResolveAAType() argument
233 if (quad.quadType() == GrQuad::Type::kAxisAligned && !quad.aaHasEffectOnRect()) { in ResolveAAType()
250 bool CropToRect(const SkRect& cropRect, GrAA cropAA, GrQuadAAFlags* edgeFlags, GrQuad* quad, in CropToRect() argument
252 SkASSERT(quad->isFinite()); in CropToRect()
254 if (quad->quadType() == GrQuad::Type::kAxisAligned) { in CropToRect()
260 if (is_simple_rect(*quad) && is_simple_rect(*local)) { in CropToRect()
[all …]
DGrQuadBuffer.h219 float* packQuad(const GrQuad& quad, float* coords);
220 const float* unpackQuad(GrQuad::Type type, const float* coords, GrQuad* quad) const;
232 float* GrQuadBuffer<T>::packQuad(const GrQuad& quad, float* coords) { in packQuad() argument
235 SkASSERT(quad.xs() + 4 == quad.ys() && quad.xs() + 8 == quad.ws()); in packQuad()
236 if (quad.hasPerspective()) { in packQuad()
237 memcpy(coords, quad.xs(), k3DQuadFloats * sizeof(float)); in packQuad()
240 memcpy(coords, quad.xs(), k2DQuadFloats * sizeof(float)); in packQuad()
246 const float* GrQuadBuffer<T>::unpackQuad(GrQuad::Type type, const float* coords, GrQuad* quad) cons… in unpackQuad() argument
247 SkASSERT(quad->xs() + 4 == quad->ys() && quad->xs() + 8 == quad->ws()); in unpackQuad()
250 memcpy(quad->xs(), coords, k3DQuadFloats * sizeof(float)); in unpackQuad()
[all …]
/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp165 static AI void outset_vertices(const V4f& outset, const QuadMetadata& metadata, Vertices* quad) { in outset_vertices() argument
171 quad->fX += fma(maskedOutsetCW, nextCW(metadata.fDX), maskedOutset * metadata.fDX); in outset_vertices()
172 quad->fY += fma(maskedOutsetCW, nextCW(metadata.fDY), maskedOutset * metadata.fDY); in outset_vertices()
173 if (quad->fUVRCount > 0) { in outset_vertices()
177 V4f du = nextCCW(quad->fU) - quad->fU; in outset_vertices()
178 V4f dv = nextCCW(quad->fV) - quad->fV; in outset_vertices()
179 quad->fU += fma(maskedOutsetCW, nextCW(du), maskedOutset * du); in outset_vertices()
180 quad->fV += fma(maskedOutsetCW, nextCW(dv), maskedOutset * dv); in outset_vertices()
181 if (quad->fUVRCount == 3) { in outset_vertices()
182 V4f dr = nextCCW(quad->fR) - quad->fR; in outset_vertices()
[all …]
/third_party/uboot/u-boot-2020.01/arch/riscv/lib/
Dcrt0_riscv_efi.S61 .quad 0 /* ImageBase */
81 .quad 0 /* SizeOfStackReserve */
82 .quad 0 /* SizeOfStackCommit */
83 .quad 0 /* SizeOfHeapReserve */
84 .quad 0 /* SizeOfHeapCommit */
88 .quad 0 /* ExportTable */
89 .quad 0 /* ImportTable */
90 .quad 0 /* ResourceTable */
91 .quad 0 /* ExceptionTable */
92 .quad 0 /* CertificationTable */
[all …]
/third_party/ffmpeg/tests/checkasm/aarch64/
Dcheckasm.S26 .quad 0x21f86d66c8ca00ce
27 .quad 0x75b6ba21077c48ad
28 .quad 0xed56bb2dcb3c7736
29 .quad 0x8bda43d3fd1a7e06
30 .quad 0xb64a9c9e5d318408
31 .quad 0xdf9a54b303f1d3a3
32 .quad 0x4a75479abd64e097
33 .quad 0x249214109d5d1c88
34 .quad 0x1a1b2550a612b48c
35 .quad 0x79445c159ce79064
[all …]
/third_party/boost/boost/geometry/srs/projections/proj/
Disea.hpp217 int quad; /* quad of last transformed point */ member
773 int downtri, quad; in isea_ptdd() local
776 quad = ((tri - 1) % 5) + ((tri - 1) / 10) * 5 + 1; in isea_ptdd()
784 return quad; in isea_ptdd()
788 inline int isea_dddi_ap3odd(isea_dgg<T> *g, int quad, isea_pt<T> *pt, isea_pt<T> *di) in isea_dddi_ap3odd() argument
822 if (quad <= 5) { in isea_dddi_ap3odd()
825 quad = 0; in isea_dddi_ap3odd()
830 quad += 1; in isea_dddi_ap3odd()
831 if (quad == 6) in isea_dddi_ap3odd()
832 quad = 1; in isea_dddi_ap3odd()
[all …]
/third_party/boringssl/linux-x86_64/crypto/fipsmodule/
Dvpaes-x86_64.S1026 .quad 0x0E05060F0D080180, 0x040703090A0B0C02
1027 .quad 0x01040A060F0B0780, 0x030D0E0C02050809
1030 .quad 0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F
1033 .quad 0xC2B2E8985A2A7000, 0xCABAE09052227808
1034 .quad 0x4C01307D317C4D00, 0xCD80B1FCB0FDCC81
1037 .quad 0xB19BE18FCB503E00, 0xA5DF7A6E142AF544
1038 .quad 0x3618D415FAE22300, 0x3BF7CCC10D2ED9EF
1040 .quad 0xE27A93C60B712400, 0x5EB7E955BC982FCD
1041 .quad 0x69EB88400AE12900, 0xC2A163C8AB82234A
1043 .quad 0xD0D26D176FBDC700, 0x15AABF7AC502A878
[all …]
/third_party/boringssl/mac-x86_64/crypto/fipsmodule/
Dvpaes-x86_64.S1024 .quad 0x0E05060F0D080180, 0x040703090A0B0C02
1025 .quad 0x01040A060F0B0780, 0x030D0E0C02050809
1028 .quad 0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F
1031 .quad 0xC2B2E8985A2A7000, 0xCABAE09052227808
1032 .quad 0x4C01307D317C4D00, 0xCD80B1FCB0FDCC81
1035 .quad 0xB19BE18FCB503E00, 0xA5DF7A6E142AF544
1036 .quad 0x3618D415FAE22300, 0x3BF7CCC10D2ED9EF
1038 .quad 0xE27A93C60B712400, 0x5EB7E955BC982FCD
1039 .quad 0x69EB88400AE12900, 0xC2A163C8AB82234A
1041 .quad 0xD0D26D176FBDC700, 0x15AABF7AC502A878
[all …]
/third_party/uboot/u-boot-2020.01/board/qualcomm/dragonboard410c/
Dhead.S21 .quad CONFIG_SYS_TEXT_BASE-PHYS_SDRAM_1
23 .quad 0 /* 0x60000 - ignored */
25 .quad 0
26 .quad 0 /* reserved */
27 .quad 0 /* reserved */
28 .quad 0 /* reserved */
/third_party/uboot/u-boot-2020.01/board/qualcomm/dragonboard820c/
Dhead.S23 .quad CONFIG_SYS_TEXT_BASE-PHYS_SDRAM_1 /* Image load offset, LE */
24 .quad 0 /* Effective size of kernel image, little-endian */
25 .quad 0 /* kernel flags, little-endian */
26 .quad 0 /* reserved */
27 .quad 0 /* reserved */
28 .quad 0 /* reserved */
/third_party/skia/src/gpu/ops/
DFillRectOp.cpp70 DrawQuad* quad, in Make() argument
74 GrQuadUtils::ResolveAAType(aaType, quad->fEdgeFlags, quad->fDevice, in Make()
75 &aaType, &quad->fEdgeFlags); in Make()
76 return Helper::FactoryHelper<FillRectOpImpl>(context, std::move(paint), aaType, quad, in Make()
83 DrawQuad* quad, const GrUserStencilSettings* stencil, in FillRectOpImpl() argument
90 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in FillRectOpImpl()
91 this->setBounds(quad->fDevice.bounds(), HasAABloat(aaType == GrAAType::kCoverage), in FillRectOpImpl()
95 int count = GrQuadUtils::ClipToW0(quad, &extra); in FillRectOpImpl()
99 quad->fEdgeFlags = GrQuadAAFlags::kNone; in FillRectOpImpl()
106 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOpImpl()
[all …]

12345678910>>...19