Searched refs:allRoots (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/tests/ |
D | PathOpsCubicLineIntersectionIdeas.cpp | 163 double allRoots[3] = {0}, validRoots[3] = {0}; in DEF_TEST() local 164 int realRoots = SkDCubic::RootsReal(A, B, C, D, allRoots); in DEF_TEST() 165 int valid = SkDQuad::AddValidTs(allRoots, realRoots, validRoots); in DEF_TEST() 184 double largest = SkTMax(fabs(allRoots[0]), fabs(allRoots[1])); in DEF_TEST() 186 largest = SkTMax(largest, fabs(allRoots[2])); in DEF_TEST() 192 realRoots, allRoots[0], allRoots[1], allRoots[2], valid, validRoots[0], in DEF_TEST() 195 double smallest = SkTMin(allRoots[0], allRoots[1]); in DEF_TEST() 197 smallest = SkTMin(smallest, allRoots[2]); in DEF_TEST() 260 double allRoots[3] = {0}, validRoots[3] = {0}; in testOneFailure() local 261 int realRoots = SkDCubic::RootsReal(A, B, C, D, allRoots); in testOneFailure() [all …]
|
/third_party/skia/tests/ |
D | PathOpsCubicLineIntersectionIdeas.cpp | 163 double allRoots[3] = {0}, validRoots[3] = {0}; in DEF_TEST() local 164 int realRoots = SkDCubic::RootsReal(A, B, C, D, allRoots); in DEF_TEST() 165 int valid = SkDQuad::AddValidTs(allRoots, realRoots, validRoots); in DEF_TEST() 184 double largest = std::max(fabs(allRoots[0]), fabs(allRoots[1])); in DEF_TEST() 186 largest = std::max(largest, fabs(allRoots[2])); in DEF_TEST() 192 realRoots, allRoots[0], allRoots[1], allRoots[2], valid, validRoots[0], in DEF_TEST() 195 double smallest = std::min(allRoots[0], allRoots[1]); in DEF_TEST() 197 smallest = std::min(smallest, allRoots[2]); in DEF_TEST() 260 double allRoots[3] = {0}, validRoots[3] = {0}; in testOneFailure() local 261 int realRoots = SkDCubic::RootsReal(A, B, C, D, allRoots); in testOneFailure() [all …]
|