Home
last modified time | relevance | path

Searched refs:fLine (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp98 , fLine(&l) in LineQuadraticIntersections()
106 SkDEBUGPARAMS(fLine(nullptr)) in LineQuadraticIntersections()
120 double t = fLine->nearPoint(quadMidPt, nullptr); in checkCoincident()
154 double adj = (*fLine)[1].fX - (*fLine)[0].fX; in intersectRay()
155 double opp = (*fLine)[1].fY - (*fLine)[0].fY; in intersectRay()
158 r[n] = (fQuad[n].fY - (*fLine)[0].fY) * adj - (fQuad[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
279 double lineT = fLine->exactPoint(fQuad[qIndex]); in addExactEndPoints()
294 double lineT = fLine->nearPoint(fQuad[qIndex], nullptr); in addNearEndPoints()
357 double dx = (*fLine)[1].fX - (*fLine)[0].fX; in findLineT()
358 double dy = (*fLine)[1].fY - (*fLine)[0].fY; in findLineT()
[all …]
DSkDConicLineIntersection.cpp20 , fLine(&l) in LineConicIntersections()
28 SkDEBUGPARAMS(fLine(nullptr)) in LineConicIntersections()
42 double t = fLine->nearPoint(conicMidPt, nullptr); in checkCoincident()
107 SkDEBUGCODE(SkDPoint linePt = fLine->ptAtT(lineT)); in intersect()
120 double adj = (*fLine)[1].fX - (*fLine)[0].fX; in intersectRay()
121 double opp = (*fLine)[1].fY - (*fLine)[0].fY; in intersectRay()
124 r[n] = (fConic[n].fY - (*fLine)[0].fY) * adj - (fConic[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
174 double lineT = fLine->exactPoint(fConic[cIndex]); in addExactEndPoints()
189 double lineT = fLine->nearPoint(fConic[cIndex], nullptr); in addNearEndPoints()
252 double dx = (*fLine)[1].fX - (*fLine)[0].fX; in findLineT()
[all …]
DSkDCubicLineIntersection.cpp86 , fLine(l) in LineCubicIntersections()
101 double t = fLine.nearPoint(cubicMidPt, nullptr); in checkCoincident()
121 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
122 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
125 c[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; in intersectRay()
134 c[n].fY = (fCubic[n].fY - fLine[0].fY) * opp in intersectRay()
135 + (fCubic[n].fX - fLine[0].fX) * adj; in intersectRay()
271 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints()
288 double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); in addNearEndPoints()
350 double dx = fLine[1].fX - fLine[0].fX; in findLineT()
[all …]
DSkReduceOrder.cpp10 fLine[0] = line[0]; in reduce()
12 fLine[1] = line[different]; in reduce()
250 *reducePts++ = reducer.fLine[index].asSkPoint(); in Quad()
DSkReduceOrder.h28 SkDLine fLine; member
DSkPathOpsCurve.h50 SkDLine fLine; member
DSkOpSegment.cpp1646 edge->fLine[1].set(fPts[1]); in subDivide()
/external/skia/tests/
DPathOpsCubicReduceOrderTest.cpp211 if (order == 2 && reducer.fLine[0] == reducer.fLine[1]) { in DEF_TEST()
216 if ( (reducer.fLine[0].fX != cubic[0].fX && reducer.fLine[0].fX != cubic[3].fX) in DEF_TEST()
217 || (reducer.fLine[0].fY != cubic[0].fY && reducer.fLine[0].fY != cubic[3].fY) in DEF_TEST()
218 || (reducer.fLine[1].fX != cubic[0].fX && reducer.fLine[1].fX != cubic[3].fX) in DEF_TEST()
219 || (reducer.fLine[1].fY != cubic[0].fY && reducer.fLine[1].fY != cubic[3].fY)) { in DEF_TEST()
228 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds.fLeft) in DEF_TEST()
229 && !AlmostEqualUlps(reducer.fLine[0].fX, bounds.fRight)) in DEF_TEST()
230 || (!AlmostEqualUlps(reducer.fLine[0].fY, bounds.fTop) in DEF_TEST()
231 && !AlmostEqualUlps(reducer.fLine[0].fY, bounds.fBottom)) in DEF_TEST()
232 || (!AlmostEqualUlps(reducer.fLine[1].fX, bounds.fLeft) in DEF_TEST()
[all …]
DPathOpsDebug.cpp104 fLine.dumpID(id); in dumpID()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp151 …veTest(const char *name, const char *file, int32_t line) : fName(name), fFile(file), fLine(line) {} in HowExpensiveTest()
188 int32_t fLine; member in HowExpensiveTest
197 fprintf(stderr, "%s:%d:\t%s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
201 fprintf(stderr, "%s:%d: Running: %s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
266 int fLine; member in NumTest
294 fLine(LINE), in NumTest()
307 fFile,fLine,getName(),trial,fExpect); in warmup()
394 int fLine; member in NumFmtTest
422 fLine(LINE), in NumFmtTest()
440 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup()
[all …]
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf3.c1599 Int fLine; /* declaring file line number, or zero */ member
2411 tv->fLine = lineNo; in parse_var_DIE()
4969 varp->fLine ); in new_dwarf3_reader_wrk()
5017 if (varAI->fLine > 0 && varp->fLine == 0) in new_dwarf3_reader_wrk()
5018 varp->fLine = varAI->fLine; in new_dwarf3_reader_wrk()
5108 varp->fndn_ix, varp->fLine, td3 in new_dwarf3_reader_wrk()