Home
last modified time | relevance | path

Searched refs:nearly_equal (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkICC.cpp196 static bool nearly_equal(float x, float y) { in nearly_equal() function
208 static bool nearly_equal(const skcms_TransferFunction& u, in nearly_equal() function
210 return nearly_equal(u.g, v.g) in nearly_equal()
211 && nearly_equal(u.a, v.a) in nearly_equal()
212 && nearly_equal(u.b, v.b) in nearly_equal()
213 && nearly_equal(u.c, v.c) in nearly_equal()
214 && nearly_equal(u.d, v.d) in nearly_equal()
215 && nearly_equal(u.e, v.e) in nearly_equal()
216 && nearly_equal(u.f, v.f); in nearly_equal()
219 static bool nearly_equal(const skcms_Matrix3x3& u, const skcms_Matrix3x3& v) { in nearly_equal() function
[all …]
/external/skqp/src/core/
DSkICC.cpp196 static bool nearly_equal(float x, float y) { in nearly_equal() function
208 static bool nearly_equal(const skcms_TransferFunction& u, in nearly_equal() function
210 return nearly_equal(u.g, v.g) in nearly_equal()
211 && nearly_equal(u.a, v.a) in nearly_equal()
212 && nearly_equal(u.b, v.b) in nearly_equal()
213 && nearly_equal(u.c, v.c) in nearly_equal()
214 && nearly_equal(u.d, v.d) in nearly_equal()
215 && nearly_equal(u.e, v.e) in nearly_equal()
216 && nearly_equal(u.f, v.f); in nearly_equal()
219 static bool nearly_equal(const skcms_Matrix3x3& u, const skcms_Matrix3x3& v) { in nearly_equal() function
[all …]
/external/skia/tests/
DMatrix44Test.cpp57 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { in nearly_equal() function
71 return nearly_equal(m, identity); in is_identity()
385 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
398 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
409 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
422 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
462 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_transpose()
510 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
513 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
516 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
[all …]
DGeometryTest.cpp16 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { in nearly_equal() function
380 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], pts[i])); in DEF_TEST()
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()
824 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
DPathTest.cpp3880 static bool nearly_equal(const SkRect& a, const SkRect& b) { in nearly_equal() function
3916 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
3922 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
4864 REPORTER_ASSERT(reporter, nearly_equal(tight, tight2)); in DEF_TEST()
/external/skqp/tests/
DMatrix44Test.cpp57 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { in nearly_equal() function
71 return nearly_equal(m, identity); in is_identity()
385 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
398 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
409 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
422 REPORTER_ASSERT(reporter, nearly_equal(expected, inverse)); in test_invert()
462 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_transpose()
510 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
513 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
516 REPORTER_ASSERT(reporter, nearly_equal(a, b)); in test_set_row_col_major()
[all …]
DGeometryTest.cpp16 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { in nearly_equal() function
380 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], pts[i])); in DEF_TEST()
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()
824 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
DPathTest.cpp3865 static bool nearly_equal(const SkRect& a, const SkRect& b) { in nearly_equal() function
3901 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
3907 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo()
4837 REPORTER_ASSERT(reporter, nearly_equal(tight, tight2)); in DEF_TEST()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp192 static inline bool nearly_equal(double x, double y, in nearly_equal() function
488 if (nearly_equal(x1, x2, segment.fNearlyZeroScaled, true)) { in precomputation_for_row()
544 nearly_equal(segment.fP0T.x(), p1, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
546 nearly_equal(segment.fP2T.x(), p1, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
550 nearly_equal(segment.fP2T.x(), p2, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
552 nearly_equal(segment.fP0T.x(), p2, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp192 static inline bool nearly_equal(double x, double y, in nearly_equal() function
488 if (nearly_equal(x1, x2, segment.fNearlyZeroScaled, true)) { in precomputation_for_row()
544 nearly_equal(segment.fP0T.x(), p1, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
546 nearly_equal(segment.fP2T.x(), p1, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
550 nearly_equal(segment.fP2T.x(), p2, segment.fNearlyZeroScaled, true)) || in calculate_side_of_quad()
552 nearly_equal(segment.fP0T.x(), p2, segment.fNearlyZeroScaled, true))) { in calculate_side_of_quad()
/external/skqp/gm/
Dp3.cpp17 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function
75 if (nearly_equal(pixel, expected)) { in compare_pixel()
/external/skia/gm/
Dp3.cpp17 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function
75 if (nearly_equal(pixel, expected)) { in compare_pixel()