/third_party/skia/src/ports/ |
D | SkNDKConversions.cpp | 72 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(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in nearly_equal() function [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkICC.cpp | 196 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 …]
|
/third_party/skia/src/core/ |
D | SkICC.cpp | 196 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 …]
|
D | SkPathBuilder.cpp | 323 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/ |
D | NdkEncodeTest.cpp | 236 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(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in nearly_equal() function [all …]
|
D | RuntimeBlendTest.cpp | 22 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()
|
D | GeometryTest.cpp | 16 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()
|
D | MatrixTest.cpp | 20 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()
|
D | PathTest.cpp | 3863 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/flutter/skia/tests/ |
D | Matrix44Test.cpp | 57 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 …]
|
D | GeometryTest.cpp | 16 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()
|
D | MatrixTest.cpp | 20 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { in nearly_equal() function 78 return nearly_equal(m, identity); in is_identity() 778 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
|
D | SkSLInterpreterTest.cpp | 16 static bool nearly_equal(const float a[], const float b[], int count) { in nearly_equal() function 45 : nearly_equal(out.get(), expected, expectedCount); in test()
|
D | PathTest.cpp | 3839 static bool nearly_equal(const SkRect& a, const SkRect& b) { in nearly_equal() function 3875 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo() 3881 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval)); in test_arcTo() 4988 REPORTER_ASSERT(reporter, nearly_equal(tight, tight2)); in DEF_TEST()
|
/third_party/flutter/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 192 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()
|
/third_party/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 176 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/ |
D | p3.cpp | 33 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function 91 if (nearly_equal(pixel, expected)) { in compare_pixel()
|
/third_party/flutter/skia/gm/ |
D | p3.cpp | 34 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function 92 if (nearly_equal(pixel, expected)) { in compare_pixel()
|