Searched refs:AlmostBequalUlps (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 323 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()
|
D | SkPathOpsLine.cpp | 94 if (!AlmostBequalUlps(xy.fY, y)) { in NearPointH() 129 if (!AlmostBequalUlps(xy.fX, x)) { in NearPointV()
|
D | SkPathOpsTypes.h | 271 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()
|
D | SkPathOpsCubic.cpp | 697 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()
|
D | SkPathOpsTypes.cpp | 107 bool AlmostBequalUlps(float a, float b) { in AlmostBequalUlps() function
|
D | SkOpAngle.cpp | 225 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/ |
D | SkPathOpsQuad.cpp | 323 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()
|
D | SkPathOpsLine.cpp | 94 if (!AlmostBequalUlps(xy.fY, y)) { in NearPointH() 129 if (!AlmostBequalUlps(xy.fX, x)) { in NearPointV()
|
D | SkPathOpsTypes.h | 271 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()
|
D | SkPathOpsCubic.cpp | 695 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()
|
D | SkPathOpsTypes.cpp | 107 bool AlmostBequalUlps(float a, float b) { in AlmostBequalUlps() function
|
D | SkOpAngle.cpp | 225 crosses[index - 1] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in lineOnOneSide() 276 crosses[index] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in linesOnOriginalSide()
|