Home
last modified time | relevance | path

Searched refs:points (Results 1 – 25 of 1900) sorted by relevance

12345678910>>...76

/third_party/skia/bench/
DHairlinePathBench.cpp26 static const int points[] = { variable
90 int size = SK_ARRAY_COUNT(points); in makePath()
101 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
102 SkIntToScalar(points[base1+1] + yTrans)); in makePath()
103 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath()
104 SkIntToScalar(points[base2+1] + yTrans)); in makePath()
105 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath()
106 SkIntToScalar(points[base3+1] + yTrans)); in makePath()
122 int size = SK_ARRAY_COUNT(points); in makePath()
133 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
[all …]
/third_party/mesa3d/src/glx/
Deval.c41 const GLfloat * points, GLubyte * pc) in __glFillMap1f() argument
45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); in __glFillMap1f()
51 __GLX_PUT_FLOAT_ARRAY(0, points, k); in __glFillMap1f()
52 points += stride; in __glFillMap1f()
60 const GLdouble * points, GLubyte * pc) in __glFillMap1d() argument
64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); in __glFillMap1d()
69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); in __glFillMap1d()
70 points += stride; in __glFillMap1d()
79 const GLfloat * points, GLfloat * data) in __glFillMap2f() argument
85 __GLX_MEM_COPY(data, points, majorOrder * majorStride * in __glFillMap2f()
[all …]
/third_party/skia/third_party/externals/icu/source/data/unidata/
DconfusablesWholeScript.txt26 # Total code points: 7
38 # Total code points: 7
52 # Total code points: 9
64 # Total code points: 7
76 # Total code points: 7
88 # Total code points: 7
100 # Total code points: 7
116 # Total code points: 11
128 # Total code points: 7
140 # Total code points: 7
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DconfusablesWholeScript.txt26 # Total code points: 7
38 # Total code points: 7
52 # Total code points: 9
64 # Total code points: 7
76 # Total code points: 7
88 # Total code points: 7
100 # Total code points: 7
116 # Total code points: 11
128 # Total code points: 7
140 # Total code points: 7
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/unicode/
DconfusablesWholeScript.txt26 # Total code points: 7
38 # Total code points: 7
52 # Total code points: 9
64 # Total code points: 7
76 # Total code points: 7
88 # Total code points: 7
100 # Total code points: 7
116 # Total code points: 11
128 # Total code points: 7
140 # Total code points: 7
[all …]
/third_party/icu/icu4c/source/data/unidata/
DconfusablesWholeScript.txt26 # Total code points: 7
38 # Total code points: 7
52 # Total code points: 9
64 # Total code points: 7
76 # Total code points: 7
88 # Total code points: 7
100 # Total code points: 7
116 # Total code points: 11
128 # Total code points: 7
140 # Total code points: 7
[all …]
/third_party/skia/tests/
DPathCoverageTest.cpp39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument
40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance()
41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance()
44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument
45 return SkPointPriv::DistanceToLineSegmentBetween(points[1], points[0], points[2]); in compute_distance()
69 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument
70 int distance = estimate_distance(points); in quadraticPointCount_EE()
74 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument
75 int distance = estimate_distance(points); in quadraticPointCount_EC()
79 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument
[all …]
/third_party/skia/src/utils/
DSkParsePath.cpp80 SkPoint points[3]; in FromSVGString() local
112 data = find_points(data, points, 1, relative, &c); in FromSVGString()
113 path.moveTo(points[0]); in FromSVGString()
116 c = points[0]; in FromSVGString()
119 data = find_points(data, points, 1, relative, &c); in FromSVGString()
120 path.lineTo(points[0]); in FromSVGString()
121 c = points[0]; in FromSVGString()
136 data = find_points(data, points, 3, relative, &c); in FromSVGString()
139 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString()
140 points[0] = c; in FromSVGString()
[all …]
DSkPatchUtils.cpp76 explicit FwDCubicEvaluator(const SkPoint points[4]) in FwDCubicEvaluator()
77 : fCoefs(points) { in FwDCubicEvaluator()
78 memcpy(fPoints, points, 4 * sizeof(SkPoint)); in FwDCubicEvaluator()
138 static SkScalar approx_arc_length(const SkPoint points[], int count) { in approx_arc_length() argument
144 arcLength += SkPoint::Distance(points[i], points[i + 1]); in approx_arc_length()
193 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic()
194 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
195 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
196 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
197 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
[all …]
/third_party/skia/docs/examples/
DPoint_subtract_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in draw() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
16 points[1] += points[0] - points[2]; in draw()
17 points[2] -= points[3] - points[5]; in draw()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
DIPoint_subtract_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in draw() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
21 points[1] += points[0] - points[3]; in draw()
22 points[2] -= points[1] - points[0]; in draw()
24 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
DPath_IsCubicDegenerate.cpp7 SkPoint points[] = {{1, 0}, {0, 0}, {0, 0}, {0, 0}}; in draw() local
11 prior = points[0].fX; in draw()
13 if (SkPath::IsCubicDegenerate(points[0], points[1], points[2], points[3], false)) { in draw()
15 points[0].fX += step; in draw()
18 points[0].fX -= step; in draw()
20 } while (prior != points[0].fX); in draw()
DPath_getPoints.cpp7 auto debugster = [](const char* prefix, const SkPath& path, SkPoint* points, int max) -> void { in draw() argument
8 int count = path.getPoints(points, max); in draw()
10 for (int i = 0; i < std::min(count, max) && points; ++i) { in draw()
11 SkDebugf("(%1.8g,%1.8g) ", points[i].fX, points[i].fY); in draw()
18 SkPoint points[3]; in draw() local
20 debugster("zero max", path, points, 0); in draw()
21 debugster("too small", path, points, 2); in draw()
22 debugster("just right", path, points, path.countPoints()); in draw()
DPath_IsLineDegenerate.cpp7 SkPoint points[] = { {100, 100}, {100.000001f, 100.000001f}, {100.0001f, 100.0001f} }; in draw() local
8 for (size_t i = 0; i < SK_ARRAY_COUNT(points) - 1; ++i) { in draw()
11 points[i].fX, points[i].fY, points[i + 1].fX, points[i + 1].fY, in draw()
12 SkPath::IsLineDegenerate(points[i], points[i + 1], exact) in draw()
DPoint_Offset_2.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in draw() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
16 SkPoint::Offset(points, SK_ARRAY_COUNT(points), 1, 9); in draw()
17 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
DPoint_subtractfrom_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in draw() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
16 points[1] -= {1, 1}; in draw()
17 points[2] -= {-1, -1}; in draw()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
DPoint_addto_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in draw() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
16 points[1] += {1, 1}; in draw()
17 points[2] += {-1, -1}; in draw()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
DPoint_Offset.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in draw() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
16 SkPoint::Offset(points, SK_ARRAY_COUNT(points), { 1, 9 } ); in draw()
17 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in draw()
DIPoint_subtractfrom_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in draw() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
21 points[1] -= {1, 1}; in draw()
22 points[2] -= {-1, -1}; in draw()
24 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
DIPoint_addto_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in draw() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
21 points[1] += {1, 1}; in draw()
22 points[2] += {-1, -1}; in draw()
24 draw_lines(points, SK_ARRAY_COUNT(points), paint); in draw()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dbit_slicer.c99 points->kind = _kind; \
100 points->index = (raw - raw_start) * 256 + i; \
101 points->level = raw0; \
102 points->thresh = tr; \
103 ++points; \
184 points->kind = VBI3_CRI_BIT; \
185 points->index = (raw - raw_start) << 8; \
186 points->level = tavg << 8; \
187 points->thresh = tr << 8; \
188 ++points; \
[all …]
/third_party/pcre2/pcre2/maint/Unicode.tables/
DScriptExtensions.txt29 # points associated with that value, listed in code point order.
31 # All code points not explicitly listed for Script_Extensions
46 # Total code points: 1
60 # Total code points: 18
68 # Total code points: 4
78 # Total code points: 4
102 # Total code points: 238
110 # Total code points: 13
118 # Total code points: 1
126 # Total code points: 1
[all …]
/third_party/skia/gm/
Ddstreadshuffle.cpp72 SkPoint points[4]; in drawShape() local
73 kRect.toQuad(points); in drawShape()
74 fConvexPath = SkPathBuilder().moveTo(points[0]) in drawShape()
75 .quadTo(points[1], points[2]) in drawShape()
76 .quadTo(points[3], points[0]) in drawShape()
85 SkPoint points[5] = {{50.f, 0.f}}; in drawShape() local
89 rot.mapPoints(points + i, points + i - 1, 1); in drawShape()
91 b.moveTo(points[0]); in drawShape()
93 b.lineTo(points[(2 * i) % 5]); in drawShape()
/third_party/typescript/tests/baselines/reference/
DExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js9 export class points {
26 var points = /** @class */ (function () { function
27 function points() { function
29 return points;
31 A.points = points;
/third_party/skia/src/core/
DSkPath_serial.cpp125 buffer.write(fPathRef->points(), pts * sizeof(SkPoint)); in writeToMemory()
225 const SkPoint* points = buffer.skipCount<SkPoint>(pts); in readFromMemory_EQ4Or5() local
257 tmp.moveTo(*points++); in readFromMemory_EQ4Or5()
261 tmp.lineTo(*points++); in readFromMemory_EQ4Or5()
265 tmp.quadTo(points[0], points[1]); in readFromMemory_EQ4Or5()
266 points += 2; in readFromMemory_EQ4Or5()
270 tmp.conicTo(points[0], points[1], *conics++); in readFromMemory_EQ4Or5()
271 points += 2; in readFromMemory_EQ4Or5()
275 tmp.cubicTo(points[0], points[1], points[2]); in readFromMemory_EQ4Or5()
276 points += 3; in readFromMemory_EQ4Or5()

12345678910>>...76