Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/pathops/
DSkDQuadLineIntersection.cpp98 , fLine(l) in LineQuadraticIntersections()
124 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
125 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
128 r[n] = (fQuad[n].fY - fLine[0].fY) * adj - (fQuad[n].fX - fLine[0].fX) * opp; in intersectRay()
226 double lineT = fLine.exactPoint(fQuad[qIndex]); in addExactEndPoints()
241 double lineT = fLine.nearPoint(fQuad[qIndex], NULL); in addNearEndPoints()
304 double dx = fLine[1].fX - fLine[0].fX; in findLineT()
305 double dy = fLine[1].fY - fLine[0].fY; in findLineT()
307 return (xy.fX - fLine[0].fX) / dx; in findLineT()
309 return (xy.fY - fLine[0].fY) / dy; in findLineT()
[all …]
DSkDCubicLineIntersection.cpp86 , fLine(l) in LineCubicIntersections()
98 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
99 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
102 c[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; in intersectRay()
111 c[n].fY = (fCubic[n].fY - fLine[0].fY) * opp in intersectRay()
112 + (fCubic[n].fX - fLine[0].fX) * adj; in intersectRay()
247 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints()
264 double lineT = fLine.nearPoint(fCubic[cIndex], NULL); in addNearEndPoints()
326 double dx = fLine[1].fX - fLine[0].fX; in findLineT()
327 double dy = fLine[1].fY - fLine[0].fY; in findLineT()
[all …]
DSkReduceOrder.cpp10 fLine[0] = line[0]; in reduce()
12 fLine[1] = line[different]; in reduce()
268 *reducePts++ = reducer.fLine[index].asSkPoint(); in Quad()
DSkReduceOrder.h29 SkDLine fLine; member
/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp98 , fLine(l) in LineQuadraticIntersections()
124 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
125 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
128 r[n] = (fQuad[n].fY - fLine[0].fY) * adj - (fQuad[n].fX - fLine[0].fX) * opp; in intersectRay()
226 double lineT = fLine.exactPoint(fQuad[qIndex]); in addExactEndPoints()
241 double lineT = fLine.nearPoint(fQuad[qIndex], NULL); in addNearEndPoints()
304 double dx = fLine[1].fX - fLine[0].fX; in findLineT()
305 double dy = fLine[1].fY - fLine[0].fY; in findLineT()
307 return (xy.fX - fLine[0].fX) / dx; in findLineT()
309 return (xy.fY - fLine[0].fY) / dy; in findLineT()
[all …]
DSkDCubicLineIntersection.cpp86 , fLine(l) in LineCubicIntersections()
98 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
99 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
102 c[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; in intersectRay()
111 c[n].fY = (fCubic[n].fY - fLine[0].fY) * opp in intersectRay()
112 + (fCubic[n].fX - fLine[0].fX) * adj; in intersectRay()
247 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints()
264 double lineT = fLine.nearPoint(fCubic[cIndex], NULL); in addNearEndPoints()
326 double dx = fLine[1].fX - fLine[0].fX; in findLineT()
327 double dy = fLine[1].fY - fLine[0].fY; in findLineT()
[all …]
DSkReduceOrder.cpp10 fLine[0] = line[0]; in reduce()
12 fLine[1] = line[different]; in reduce()
268 *reducePts++ = reducer.fLine[index].asSkPoint(); in Quad()
DSkReduceOrder.h29 SkDLine fLine; member
/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 …]
/external/chromium_org/third_party/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 …]
/external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp147 …veTest(const char *name, const char *file, int32_t line) : fName(name), fFile(file), fLine(line) {} in HowExpensiveTest()
184 int32_t fLine; member in HowExpensiveTest
193 fprintf(stderr, "%s:%d:\t%s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
197 fprintf(stderr, "%s:%d: Running: %s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
262 int fLine; member in NumTest
290 fLine(LINE), in NumTest()
303 fFile,fLine,getName(),trial,fExpect); in warmup()
390 int fLine; member in NumFmtTest
418 fLine(LINE), in NumFmtTest()
436 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup()
[all …]
/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/main/coregrind/m_debuginfo/
Dreaddwarf3.c1416 Int fLine; /* declaring file line number, or zero */ member
2016 tv->fLine = lineNo; in parse_var_DIE()
4169 varp->fLine ); in new_dwarf3_reader_wrk()
4217 if (varAI->fLine > 0 && varp->fLine == 0) in new_dwarf3_reader_wrk()
4218 varp->fLine = varAI->fLine; in new_dwarf3_reader_wrk()
4308 varp->fName, varp->fLine, td3 in new_dwarf3_reader_wrk()