Home
last modified time | relevance | path

Searched refs:approximately_equal (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/pathops/
DSkPathOpsPoint.h103 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()
DSkPathOpsTypes.h147 inline bool approximately_equal(double x, double y) { in approximately_equal() function
168 return approximately_equal(x, y); in approximately_equal_squared()
DSkReduceOrder.cpp137 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic()
146 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
DSkDCubicLineIntersection.cpp316 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs()
318 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
DSkQuarticRoot.cpp78 if (approximately_equal(roots[i], 1)) { in SkReducedQuarticRoots()
DSkDCubicToQuads.cpp144 if (!approximately_equal(inflectT[start], inflectT[next])) { in toQuadraticTs()
DSkPathOpsQuad.cpp80 if (approximately_equal(t[idx2], tValue)) { in AddValidTs()
DSkDLineIntersection.cpp51 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) { in cleanUpParallelLines()
DSkDCubicIntersection.cpp129 if (&cubic1 != &cubic2 || !approximately_equal(to1, to2)) { in intersect()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsPoint.h103 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()
DSkPathOpsTypes.h147 inline bool approximately_equal(double x, double y) { in approximately_equal() function
168 return approximately_equal(x, y); in approximately_equal_squared()
DSkReduceOrder.cpp137 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic()
146 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
DSkDCubicLineIntersection.cpp316 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs()
318 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
DSkQuarticRoot.cpp78 if (approximately_equal(roots[i], 1)) { in SkReducedQuarticRoots()
DSkDCubicToQuads.cpp144 if (!approximately_equal(inflectT[start], inflectT[next])) { in toQuadraticTs()
DSkPathOpsQuad.cpp80 if (approximately_equal(t[idx2], tValue)) { in AddValidTs()
DSkDLineIntersection.cpp51 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) { in cleanUpParallelLines()
DSkDCubicIntersection.cpp129 if (&cubic1 != &cubic2 || !approximately_equal(to1, to2)) { in intersect()
/external/skia/tests/
DPathOpsDLineTest.cpp51 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()
DPathOpsDVectorTest.cpp46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in PathOpsDVectorTest()
DPathOpsDPointTest.cpp46 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p), in PathOpsDPointTest()
DPathOpsCubicReduceOrderTest.cpp40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
DPathOpsCubicIntersectionTest.cpp583 REPORTER_ASSERT(reporter, !approximately_equal(i[0][0], i[1][0])); in selfOneOff()
/external/chromium_org/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp80 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/
DSkDWriteGeometrySink.cpp80 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()

12