Home
last modified time | relevance | path

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

12

/external/skqp/src/pathops/
DSkOpCubicHull.cpp12 if (approximately_zero(dy)) { in rotate()
13 if (approximately_zero(dx)) { in rotate()
107 if (approximately_zero(SkTMin(smallest1distSq, smallest2distSq))) { in convexHull()
DSkPathOpsQuad.cpp57 if (approximately_zero(sign)) { in hullIntersects()
146 if (approximately_zero(B)) { in handle_zero()
168 if (approximately_zero(A) && (approximately_zero_inverse(p) || approximately_zero_inverse(q))) { in RootsReal()
DSkPathOpsTypes.h330 inline bool approximately_zero(double x) { in approximately_zero() function
342 inline bool approximately_zero(float x) { in approximately_zero() function
393 return approximately_zero(x - y); in approximately_equal()
DSkReduceOrder.cpp131 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic()
140 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
DSkPathOpsCubic.cpp172 if (approximately_zero(sign)) { in hullIntersects()
174 if (approximately_zero(sign)) { in hullIntersects()
413 if (approximately_zero(A) in RootsReal()
424 if (approximately_zero(s[i])) { in RootsReal()
431 if (approximately_zero(A + B + C + D)) { // 1 is one root in RootsReal()
DSkPathOpsPoint.h208 return approximately_zero(fX) && approximately_zero(fY); in approximatelyZero()
DSkLineParameters.h127 if (approximately_zero(normal)) { in normalize()
DSkDLineIntersection.cpp53 if (!approximately_zero(denom)) { in intersectRay()
DSkPathOpsWinding.cpp143 if (approximately_zero(t)) { in rayCheck()
/external/skia/src/pathops/
DSkOpCubicHull.cpp12 if (approximately_zero(dy)) { in rotate()
13 if (approximately_zero(dx)) { in rotate()
107 if (approximately_zero(SkTMin(smallest1distSq, smallest2distSq))) { in convexHull()
DSkPathOpsQuad.cpp57 if (approximately_zero(sign)) { in hullIntersects()
146 if (approximately_zero(B)) { in handle_zero()
168 if (approximately_zero(A) && (approximately_zero_inverse(p) || approximately_zero_inverse(q))) { in RootsReal()
DSkPathOpsTypes.h330 inline bool approximately_zero(double x) { in approximately_zero() function
342 inline bool approximately_zero(float x) { in approximately_zero() function
393 return approximately_zero(x - y); in approximately_equal()
DSkReduceOrder.cpp131 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic()
140 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
DSkPathOpsCubic.cpp172 if (approximately_zero(sign)) { in hullIntersects()
174 if (approximately_zero(sign)) { in hullIntersects()
413 if (approximately_zero(A) in RootsReal()
424 if (approximately_zero(s[i])) { in RootsReal()
431 if (approximately_zero(A + B + C + D)) { // 1 is one root in RootsReal()
DSkPathOpsPoint.h208 return approximately_zero(fX) && approximately_zero(fY); in approximatelyZero()
DSkLineParameters.h127 if (approximately_zero(normal)) { in normalize()
DSkDLineIntersection.cpp53 if (!approximately_zero(denom)) { in intersectRay()
DSkDCubicLineIntersection.cpp134 if (!approximately_zero(calcPt.fX)) { in intersectRay()
DSkPathOpsWinding.cpp143 if (approximately_zero(t)) { in rayCheck()
/external/skia/tests/
DPathOpsQuadIntersectionTest.cpp473 while (!approximately_zero(t1Step)) { in intersectionFinder()
479 while (!approximately_zero(t1Step)) { in intersectionFinder()
484 while (!approximately_zero(t2Step)) { in intersectionFinder()
490 while (!approximately_zero(t2Step)) { in intersectionFinder()
DPathOpsCubicIntersectionTest.cpp582 while (!approximately_zero(t1Step)) { in intersectionFinder()
588 while (!approximately_zero(t1Step)) { in intersectionFinder()
593 while (!approximately_zero(t2Step)) { in intersectionFinder()
599 while (!approximately_zero(t2Step)) { in intersectionFinder()
DPathOpsCubicLineIntersectionIdeas.cpp101 if (approximately_zero(A)
112 if (approximately_zero(A + B + C + D)) { // 1 is one root
/external/skqp/tests/
DPathOpsQuadIntersectionTest.cpp473 while (!approximately_zero(t1Step)) { in intersectionFinder()
479 while (!approximately_zero(t1Step)) { in intersectionFinder()
484 while (!approximately_zero(t2Step)) { in intersectionFinder()
490 while (!approximately_zero(t2Step)) { in intersectionFinder()
DPathOpsCubicIntersectionTest.cpp582 while (!approximately_zero(t1Step)) { in intersectionFinder()
588 while (!approximately_zero(t1Step)) { in intersectionFinder()
593 while (!approximately_zero(t2Step)) { in intersectionFinder()
599 while (!approximately_zero(t2Step)) { in intersectionFinder()
DPathOpsCubicLineIntersectionIdeas.cpp101 if (approximately_zero(A)
112 if (approximately_zero(A + B + C + D)) { // 1 is one root

12