Lines Matching refs:roots
268 int roots = cubic.findMaxCurvature(maxCurvature);
279 for (int index = 0; index < roots; ++index) {
288 for (int index = 0; index < roots; ++index) {
298 for (int index = 0; index < roots; ++index) {
367 // cubic roots
458 double* roots = s;
459 if (R2MinusQ3 < 0) { // we have 3 real roots
465 *roots++ = r;
469 *roots++ = r;
472 if (!AlmostDequalUlps(s[0], r) && (roots - s == 1 || !AlmostDequalUlps(s[1], r))) {
473 *roots++ = r;
486 *roots++ = r;
490 *roots++ = r;
494 return static_cast<int>(roots - s);
726 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs);
727 for (int index = 0; index < roots; ++index) {