Home
last modified time | relevance | path

Searched refs:valid_unit_divide (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkGeometry.cpp35 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { in valid_unit_divide() function
78 return return_check_zero(valid_unit_divide(-C, B, roots)); in SkFindUnitQuadRoots()
95 r += valid_unit_divide(Q, A, r); in SkFindUnitQuadRoots()
96 r += valid_unit_divide(C, Q, r); in SkFindUnitQuadRoots()
183 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema()
203 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema()
231 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema()
458 if (!valid_unit_divide(tValues[i+1] - tValues[i], in SkChopCubicAt()
/external/skia/src/pathops/
DSkPathOpsQuad.cpp355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() function
384 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
/external/skqp/src/pathops/
DSkPathOpsQuad.cpp355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() function
384 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
/external/skia/src/core/
DSkGeometry.cpp38 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { in valid_unit_divide() function
81 return return_check_zero(valid_unit_divide(-C, B, roots)); in SkFindUnitQuadRoots()
98 r += valid_unit_divide(Q, A, r); in SkFindUnitQuadRoots()
99 r += valid_unit_divide(C, Q, r); in SkFindUnitQuadRoots()
249 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema()
269 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema()
297 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema()