/external/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 …]
|
/external/skqp/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 …]
|
/external/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() 824 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
|
D | PathTest.cpp | 3880 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/ |
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() 824 if (!nearly_equal(original, reconstituted)) { in check_decompScale()
|
D | PathTest.cpp | 3865 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/ |
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()
|
/external/skqp/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()
|
/external/skqp/gm/ |
D | p3.cpp | 17 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function 75 if (nearly_equal(pixel, expected)) { in compare_pixel()
|
/external/skia/gm/ |
D | p3.cpp | 17 static bool nearly_equal(SkColor4f x, SkColor4f y) { in nearly_equal() function 75 if (nearly_equal(pixel, expected)) { in compare_pixel()
|