Home
last modified time | relevance | path

Searched refs:nearly_equal (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/src/ports/
H A DSkNDKConversions.cpp72 static bool nearly_equal(float a, float b) { in nearly_equal() function
76 static bool nearly_equal(const skcms_TransferFunction& x, const skcms_TransferFunction& y) { in nearly_equal() function
77 return nearly_equal(x.g, y.g) in nearly_equal()
78 && nearly_equal(x.a, y.a) in nearly_equal()
79 && nearly_equal(x.b, y.b) in nearly_equal()
80 && nearly_equal(x.c, y.c) in nearly_equal()
81 && nearly_equal(x.d, y.d) in nearly_equal()
82 && nearly_equal(x.e, y.e) in nearly_equal()
83 && nearly_equal(x.f, y.f); in nearly_equal()
86 static bool nearly_equal(cons function
[all...]
/third_party/skia/src/core/
H A DSkICC.cpp213 static bool nearly_equal(float x, float y) { in nearly_equal() function
225 static bool nearly_equal(const skcms_TransferFunction& u, in nearly_equal() function
227 return nearly_equal(u.g, v.g) in nearly_equal()
228 && nearly_equal(u.a, v.a) in nearly_equal()
229 && nearly_equal(u.b, v.b) in nearly_equal()
230 && nearly_equal(u.c, v.c) in nearly_equal()
231 && nearly_equal(u.d, v.d) in nearly_equal()
232 && nearly_equal(u.e, v.e) in nearly_equal()
233 && nearly_equal(u.f, v.f); in nearly_equal()
236 static bool nearly_equal(cons function
[all...]
H A DSkPathBuilder.cpp323 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { in nearly_equal() function
355 } else if (!nearly_equal(fPts.back(), pt)) { in arcTo()
/third_party/skia/tests/
H A DNdkEncodeTest.cpp236 static bool nearly_equal(float a, float b) { in nearly_equal() function
240 static bool nearly_equal(const skcms_TransferFunction& x, const skcms_TransferFunction& y) { in nearly_equal() function
241 return nearly_equal(x.g, y.g) in nearly_equal()
242 && nearly_equal(x.a, y.a) in nearly_equal()
243 && nearly_equal(x.b, y.b) in nearly_equal()
244 && nearly_equal(x.c, y.c) in nearly_equal()
245 && nearly_equal(x.d, y.d) in nearly_equal()
246 && nearly_equal(x.e, y.e) in nearly_equal()
247 && nearly_equal(x.f, y.f); in nearly_equal()
250 static bool nearly_equal(cons function
258 static bool nearly_equal(SkColorSpace* a, SkColorSpace* b) { nearly_equal() function
[all...]
H A DRuntimeBlendTest.cpp22 static bool nearly_equal(const SkColor& x, const SkColor& y) { in nearly_equal() function
60 REPORTER_ASSERT(r, nearly_equal(colors[0], colors[1]), in test_blend()
H A DGeometryTest.cpp16 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { in nearly_equal() function
641 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], pts[i])); in DEF_TEST()
H A DMatrixTest.cpp20 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { in nearly_equal() function
78 return nearly_equal(m, identity); in is_identity()
787 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
H A DPathTest.cpp3863 static bool nearly_equal(const SkRect& a, const SkRect& b) { in nearly_equal() function
3927 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
3933 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
5049 REPORTER_ASSERT(reporter, nearly_equal(tight, tight2)); in DEF_TEST()
/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp176 static inline bool nearly_equal(double x, double y, in nearly_equal() function
469 if (nearly_equal(x1, x2, segment.fNearlyZeroScaled, true)) { in precomputation_for_row()
525 nearly_equal(segment.fP0T.fX, p1, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
527 nearly_equal(segment.fP2T.fX, p1, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
531 nearly_equal(segment.fP2T.fX, p2, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
533 nearly_equal(segment.fP0T.fX, p2, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
/third_party/skia/gm/
H A Dp3.cpp33 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function
91 if (nearly_equal(pixel, expected)) { in compare_pixel()

Completed in 17 milliseconds