Home
last modified time | relevance | path

Searched refs:AlmostBequalUlps (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsQuad.cpp323 if (AlmostBequalUlps(b.fX, a.fX)) { in subDivide()
325 } else if (AlmostBequalUlps(b.fX, c.fX)) { in subDivide()
328 if (AlmostBequalUlps(b.fY, a.fY)) { in subDivide()
330 } else if (AlmostBequalUlps(b.fY, c.fY)) { in subDivide()
DSkPathOpsLine.cpp94 if (!AlmostBequalUlps(xy.fY, y)) { in NearPointH()
129 if (!AlmostBequalUlps(xy.fX, x)) { in NearPointV()
DSkPathOpsTypes.h271 bool AlmostBequalUlps(float a, float b);
272 inline bool AlmostBequalUlps(double a, double b) { in AlmostBequalUlps() function
273 return AlmostBequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostBequalUlps()
DSkPathOpsCubic.cpp697 if (AlmostBequalUlps(dst[0].fX, a.fX)) { in subDivide()
700 if (AlmostBequalUlps(dst[0].fY, a.fY)) { in subDivide()
703 if (AlmostBequalUlps(dst[1].fX, d.fX)) { in subDivide()
706 if (AlmostBequalUlps(dst[1].fY, d.fY)) { in subDivide()
DSkPathOpsTypes.cpp107 bool AlmostBequalUlps(float a, float b) { in AlmostBequalUlps() function
DSkOpAngle.cpp225 crosses[index - 1] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in lineOnOneSide()
276 crosses[index] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in linesOnOriginalSide()
/external/skqp/src/pathops/
DSkPathOpsQuad.cpp323 if (AlmostBequalUlps(b.fX, a.fX)) { in subDivide()
325 } else if (AlmostBequalUlps(b.fX, c.fX)) { in subDivide()
328 if (AlmostBequalUlps(b.fY, a.fY)) { in subDivide()
330 } else if (AlmostBequalUlps(b.fY, c.fY)) { in subDivide()
DSkPathOpsLine.cpp94 if (!AlmostBequalUlps(xy.fY, y)) { in NearPointH()
129 if (!AlmostBequalUlps(xy.fX, x)) { in NearPointV()
DSkPathOpsTypes.h271 bool AlmostBequalUlps(float a, float b);
272 inline bool AlmostBequalUlps(double a, double b) { in AlmostBequalUlps() function
273 return AlmostBequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostBequalUlps()
DSkPathOpsCubic.cpp695 if (AlmostBequalUlps(dst[0].fX, a.fX)) { in subDivide()
698 if (AlmostBequalUlps(dst[0].fY, a.fY)) { in subDivide()
701 if (AlmostBequalUlps(dst[1].fX, d.fX)) { in subDivide()
704 if (AlmostBequalUlps(dst[1].fY, d.fY)) { in subDivide()
DSkPathOpsTypes.cpp107 bool AlmostBequalUlps(float a, float b) { in AlmostBequalUlps() function
DSkOpAngle.cpp225 crosses[index - 1] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in lineOnOneSide()
276 crosses[index] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in linesOnOriginalSide()