/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 103 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyEqual() 123 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { in ApproximatelyEqual() 140 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyPEqual()
|
D | SkPathOpsTypes.h | 147 inline bool approximately_equal(double x, double y) { in approximately_equal() function 168 return approximately_equal(x, y); in approximately_equal_squared()
|
D | SkReduceOrder.cpp | 137 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic() 146 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
|
D | SkDCubicLineIntersection.cpp | 316 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs() 318 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
|
D | SkQuarticRoot.cpp | 78 if (approximately_equal(roots[i], 1)) { in SkReducedQuarticRoots()
|
D | SkDCubicToQuads.cpp | 144 if (!approximately_equal(inflectT[start], inflectT[next])) { in toQuadraticTs()
|
D | SkPathOpsQuad.cpp | 80 if (approximately_equal(t[idx2], tValue)) { in AddValidTs()
|
D | SkDLineIntersection.cpp | 51 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) { in cleanUpParallelLines()
|
D | SkDCubicIntersection.cpp | 129 if (&cubic1 != &cubic2 || !approximately_equal(to1, to2)) { in intersect()
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkPathOpsPoint.h | 103 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyEqual() 123 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { in ApproximatelyEqual() 140 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyPEqual()
|
D | SkPathOpsTypes.h | 147 inline bool approximately_equal(double x, double y) { in approximately_equal() function 168 return approximately_equal(x, y); in approximately_equal_squared()
|
D | SkReduceOrder.cpp | 137 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic() 146 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
|
D | SkDCubicLineIntersection.cpp | 316 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs() 318 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
|
D | SkQuarticRoot.cpp | 78 if (approximately_equal(roots[i], 1)) { in SkReducedQuarticRoots()
|
D | SkDCubicToQuads.cpp | 144 if (!approximately_equal(inflectT[start], inflectT[next])) { in toQuadraticTs()
|
D | SkPathOpsQuad.cpp | 80 if (approximately_equal(t[idx2], tValue)) { in AddValidTs()
|
D | SkDLineIntersection.cpp | 51 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) { in cleanUpParallelLines()
|
D | SkDCubicIntersection.cpp | 129 if (&cubic1 != &cubic2 || !approximately_equal(to1, to2)) { in intersect()
|
/external/skia/tests/ |
D | PathOpsDLineTest.cpp | 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); in PathOpsLineUtilitiesTest() 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)); in PathOpsLineUtilitiesTest()
|
D | PathOpsDVectorTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in PathOpsDVectorTest()
|
D | PathOpsDPointTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p), in PathOpsDPointTest()
|
D | PathOpsCubicReduceOrderTest.cpp | 40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX) 41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
|
D | PathOpsCubicIntersectionTest.cpp | 583 REPORTER_ASSERT(reporter, !approximately_equal(i[0][0], i[1][0])); in selfOneOff()
|
/external/chromium_org/third_party/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 80 static bool approximately_equal(float a, float b) { in approximately_equal() function 96 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic() 102 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
|
/external/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 80 static bool approximately_equal(float a, float b) { in approximately_equal() function 96 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic() 102 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
|