Home
last modified time | relevance | path

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

/third_party/skia/src/pathops/
DSkDLineIntersection.cpp17 bool startMatch = fT[0][0] == 0 || zero_or_one(fT[1][0]); in cleanUpParallelLines()
18 bool endMatch = fT[0][1] == 1 || zero_or_one(fT[1][1]); in cleanUpParallelLines()
21 if (startMatch && endMatch && (fT[0][0] != 0 || !zero_or_one(fT[1][0])) in cleanUpParallelLines()
22 && fT[0][1] == 1 && zero_or_one(fT[1][1])) { in cleanUpParallelLines()
DSkOpSpan.cpp256 SkASSERT(!zero_or_one(spanPtT->fT)); in merge()
339 if (!zero_or_one(inner->fT)) { in mergeMatches()
343 if (!zero_or_one(test->fT)) { in mergeMatches()
DSkOpCoincidence.cpp396 bool oOnEnd = zero_or_one(span->oppPtTStart()->fT); in addEndMovedSpans()
411 bool oOnEnd = zero_or_one(span->oppPtTEnd()->fT); in addEndMovedSpans()
1385 if (zero_or_one(coin->coinPtTStart()->fT) && zero_or_one(coin->coinPtTEnd()->fT)) { in markCollapsed()
1388 if (zero_or_one(coin->oppPtTStart()->fT) && zero_or_one(coin->oppPtTEnd()->fT)) { in markCollapsed()
DSkPathOpsConic.cpp56 if (zero_or_one(t)) { in dxdyAtT()
DSkPathOpsDebug.cpp1575 bool oOnEnd = zero_or_one(span->oppPtTStart()->fT); in debugAddEndMovedSpans()
1590 bool oOnEnd = zero_or_one(span->oppPtTEnd()->fT); in debugAddEndMovedSpans()
2078 if (zero_or_one(coin->coinPtTStart()->fT) && zero_or_one(coin->coinPtTEnd()->fT)) { in debugMarkCollapsed()
2081 if (zero_or_one(coin->oppPtTStart()->fT) && zero_or_one(coin->oppPtTEnd()->fT)) { in debugMarkCollapsed()
2504 if (!zero_or_one(inner->fT)) { in debugMergeMatches()
2508 if (!zero_or_one(test->fT)) { in debugMergeMatches()
DSkPathOpsQuad.cpp206 if (zero_or_one(t)) { in dxdyAtT()
DSkPathWriter.cpp228 if (!zero_or_one(opPtT->fT)) { in assemble()
DSkPathOpsAsWinding.cpp92 if (zero_or_one(tVals[index]) && Contour::Direction::kCCW != directions[index]) { in contains_edge()
DSkPathOpsTypes.h326 inline bool zero_or_one(double x) { in zero_or_one() function
DSkPathOpsCubic.cpp509 if (result.fX == 0 && result.fY == 0 && zero_or_one(t)) { in dxdyAtT()
DSkOpSegment.cpp258 if (t == result->fT || (!zero_or_one(t) && this->match(result, this, t, pt))) { in addT()