Searched defs:nearly_equal (Results 1 - 7 of 7) sorted by relevance

/external/skia/tests/
H A DSkColor4fTest.cpp21 static bool nearly_equal(float a, float b, float tol = kTolerance) { function
64 REPORTER_ASSERT(reporter, nearly_equal(pm4.r(), c4.fA * c4.fR));
65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG));
66 REPORTER_ASSERT(reporter, nearly_equal(pm4.b(), c4.fA * c4.fB));
H A DGeometryTest.cpp13 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { function
245 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], dst[i]));
H A DMatrix44Test.cpp56 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { function
70 return nearly_equal(m, identity);
391 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse));
404 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse));
415 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse));
428 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse));
469 REPORTER_ASSERT(reporter, nearly_equal(a, b));
518 REPORTER_ASSERT(reporter, nearly_equal(a, b));
521 REPORTER_ASSERT(reporter, nearly_equal(a, b));
524 REPORTER_ASSERT(reporter, nearly_equal(
[all...]
H A DMatrixTest.cpp19 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { function
71 return nearly_equal(m, identity);
804 return nearly_equal(matrix, remaining);
H A DPathTest.cpp3842 static bool nearly_equal(const SkRect& a, const SkRect& b) { function
3878 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval));
3884 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval));
4751 REPORTER_ASSERT(reporter, nearly_equal(tight, tight2));
/external/skia/src/core/
H A DSkICC.cpp317 static bool nearly_equal(float x, float y) { function
329 static bool nearly_equal(const SkColorSpaceTransferFn& u, function
331 return nearly_equal(u.fG, v.fG)
332 && nearly_equal(u.fA, v.fA)
333 && nearly_equal(u.fB, v.fB)
334 && nearly_equal(u.fC, v.fC)
335 && nearly_equal(u.fD, v.fD)
336 && nearly_equal(u.fE, v.fE)
337 && nearly_equal(u.fF, v.fF);
340 static bool nearly_equal(cons function
[all...]
/external/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp191 static inline bool nearly_equal(double x, double y, function
487 if (nearly_equal(x1, x2, segment.fNearlyZeroScaled, true)) {
543 nearly_equal(segment.fP0T.x(), p1, segment.fNearlyZeroScaled, true)) ||
545 nearly_equal(segment.fP2T.x(), p1, segment.fNearlyZeroScaled, true))) {
549 nearly_equal(segment.fP2T.x(), p2, segment.fNearlyZeroScaled, true)) ||
551 nearly_equal(segment.fP0T.x(), p2, segment.fNearlyZeroScaled, true))) {

Completed in 802 milliseconds