Home
last modified time | relevance | path

Searched refs:chopped (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp657 SkDCubic chopped[2]; in selfOneOff() local
658 chopped[0].set(&twoCubics[0]); in selfOneOff()
659 chopped[1].set(&twoCubics[3]); in selfOneOff()
660 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
664 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
665 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp657 SkDCubic chopped[2]; in selfOneOff() local
658 chopped[0].set(&twoCubics[0]); in selfOneOff()
659 chopped[1].set(&twoCubics[3]); in selfOneOff()
660 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
664 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
665 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java65 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testToString() local
67 classUnderTest, getActualClassName(chopped)); in testToString()
69 String roundTripString = chopped.toString(UTF_8); in testToString()
78 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testCharsetToString() local
80 classUnderTest, getActualClassName(chopped)); in testCharsetToString()
82 String roundTripString = chopped.toString(Internal.UTF_8); in testCharsetToString()
/external/skqp/gm/
Dtrickycubicstrokes.cpp39 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
40 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
41 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
42 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp415 SkPoint chopped[5]; in onDraw() local
416 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
434 SkPoint* pts = chopped + 2 * c; in onDraw()
/external/skia/gm/
Dtrickycubicstrokes.cpp39 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
40 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
41 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
42 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp398 SkPoint chopped[5]; in onDraw() local
399 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
417 SkPoint* pts = chopped + 2 * c; in onDraw()
/external/skia/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/external/skqp/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/external/skia/src/gpu/
DGrPathUtils.cpp602 SkPoint chopped[10]; in convertCubicToQuads() local
603 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
608 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
623 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
624 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
629 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/external/skqp/src/gpu/
DGrPathUtils.cpp602 SkPoint chopped[10]; in convertCubicToQuads() local
603 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
608 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
623 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
624 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
629 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/external/autotest/test_suites/
Dcontrol.link_perf13 Interim chopped down perf suite for link.
/external/skia/src/core/
DSkStroke.cpp813 SkPoint chopped[7]; in cubicPerpRay() local
824 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
825 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
827 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
828 cPts = chopped; in cubicPerpRay()
DSkPath.cpp3347 SkConic chopped[2]; in winding_conic() local
3350 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
3351 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
3353 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/external/skqp/src/core/
DSkStroke.cpp817 SkPoint chopped[7]; in cubicPerpRay() local
828 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
829 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
831 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
832 cPts = chopped; in cubicPerpRay()
DSkPath.cpp3347 SkConic chopped[2]; in winding_conic() local
3350 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
3351 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
3353 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp969 SkPoint chopped[10]; in convertCubicToQuads() local
970 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
975 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
/external/skia/tools/fonts/
DSkTestSVGTypeface.cpp967 SkPoint chopped[10]; in convertCubicToQuads() local
968 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
973 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
/external/e2fsprogs/doc/RelNotes/
Dv1.34.txt26 be chopped off will be lost.)
/external/u-boot/doc/
DREADME.chromium107 On the serial console the word MMC is chopped at the start of the line:
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoV5.td649 // Convert Floating Point to Integer: non-chopped.
/external/blktrace/doc/
Dblktrace.tex574 straddle a device or internal zone and needs to be chopped up into
/external/libpng/scripts/
Dpnglibconf.dfa445 # forces them to be chopped down to 8-bit, and disables any 16-bit

12