Home
last modified time | relevance | path

Searched refs:R2MinusQ3 (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp127 double R2MinusQ3 = R2 - Q3;
128 *R2MinusQ3Ptr = R2MinusQ3;
178 double R2MinusQ3; in DEF_TEST()
179 if (r2check(A, B, C, D, &R2MinusQ3)) { in DEF_TEST()
180 smallestR2 = std::min(smallestR2, R2MinusQ3); in DEF_TEST()
181 largestR2 = std::max(largestR2, R2MinusQ3); in DEF_TEST()
/external/skqp/tests/
DPathOpsCubicLineIntersectionIdeas.cpp127 double R2MinusQ3 = R2 - Q3;
128 *R2MinusQ3Ptr = R2MinusQ3;
178 double R2MinusQ3; in DEF_TEST()
179 if (r2check(A, B, C, D, &R2MinusQ3)) { in DEF_TEST()
180 smallestR2 = SkTMin(smallestR2, R2MinusQ3); in DEF_TEST()
181 largestR2 = SkTMax(largestR2, R2MinusQ3); in DEF_TEST()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp455 double R2MinusQ3 = R2 - Q3; in RootsReal() local
459 if (R2MinusQ3 < 0) { // we have 3 real roots in RootsReal()
476 double sqrtR2MinusQ3 = sqrt(R2MinusQ3); in RootsReal()
/external/skqp/src/pathops/
DSkPathOpsCubic.cpp453 double R2MinusQ3 = R2 - Q3; in RootsReal() local
457 if (R2MinusQ3 < 0) { // we have 3 real roots in RootsReal()
474 double sqrtR2MinusQ3 = sqrt(R2MinusQ3); in RootsReal()
/external/skqp/src/core/
DSkGeometry.cpp767 SkScalar R2MinusQ3 = R * R - Q3; in solve_cubic_poly() local
770 if (R2MinusQ3 < 0) { // we have 3 real roots in solve_cubic_poly()
784 SkScalar A = SkScalarAbs(R) + SkScalarSqrt(R2MinusQ3); in solve_cubic_poly()
/external/skia/src/core/
DSkGeometry.cpp970 SkScalar R2MinusQ3 = R * R - Q3; in solve_cubic_poly() local
973 if (R2MinusQ3 < 0) { // we have 3 real roots in solve_cubic_poly()
987 SkScalar A = SkScalarAbs(R) + SkScalarSqrt(R2MinusQ3); in solve_cubic_poly()