Home
last modified time | relevance | path

Searched refs:nearly_zero (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/core/
DSkCubicMap.cpp19 static inline bool nearly_zero(SkScalar x) { in nearly_zero() function
58 if (nearly_zero(x) || nearly_zero(1 - x)) { in computeYFromX()
/third_party/flutter/skia/src/core/
DSkCubicMap.cpp18 static inline bool nearly_zero(SkScalar x) { in nearly_zero() function
57 if (nearly_zero(x) || nearly_zero(1 - x)) { in computeYFromX()
/third_party/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp171 static inline bool nearly_zero(double x, double tolerance = kNearlyZero) { in nearly_zero() function
191 return nearly_zero((pts[1].fY - pts[0].fY) * (pts[1].fX - pts[2].fX) - in is_colinear()
490 nearly_zero(c, tol)) { in precomputation_for_row()
/third_party/flutter/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp187 static inline bool nearly_zero(double x, double tolerance = kNearlyZero) { in nearly_zero() function
207 return nearly_zero((pts[1].y() - pts[0].y()) * (pts[1].x() - pts[2].x()) - in is_colinear()
509 nearly_zero(c, tol)) { in precomputation_for_row()