Searched refs:valid_unit_divide (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkGeometry.cpp | 41 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { in valid_unit_divide() function 75 return valid_unit_divide(-C, B, roots); in SkFindUnitQuadRoots() 93 r += valid_unit_divide(Q, A, r); in SkFindUnitQuadRoots() 94 r += valid_unit_divide(C, Q, r); in SkFindUnitQuadRoots() 179 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema() 199 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema() 227 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema() 261 (void)valid_unit_divide(-(Ax * Bx + Ay * By), Bx * Bx + By * By, &t); in SkFindQuadMaxCurvature() 473 if (!valid_unit_divide(tValues[i+1] - tValues[i], in SkChopCubicAt()
|
/external/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 306 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() function 335 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
|