Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkDLineIntersection.cpp15 bool startMatch = fT[0][0] == 0 || zero_or_one(fT[1][0]); in cleanUpParallelLines()
16 bool endMatch = fT[0][1] == 1 || zero_or_one(fT[1][1]); in cleanUpParallelLines()
19 if (startMatch && endMatch && (fT[0][0] != 0 || !zero_or_one(fT[1][0])) in cleanUpParallelLines()
20 && fT[0][1] == 1 && zero_or_one(fT[1][1])) { in cleanUpParallelLines()
DSkOpSpan.cpp247 SkASSERT(!zero_or_one(spanPtT->fT)); in merge()
332 if (!zero_or_one(inner->fT)) { in mergeMatches()
336 if (!zero_or_one(test->fT)) { in mergeMatches()
DSkPathOpsConic.cpp55 if (zero_or_one(t)) { in dxdyAtT()
DSkOpCoincidence.cpp391 bool oOnEnd = zero_or_one(span->oppPtTStart()->fT); in addEndMovedSpans()
406 bool oOnEnd = zero_or_one(span->oppPtTEnd()->fT); in addEndMovedSpans()
1358 if (zero_or_one(coin->coinPtTStart()->fT) && zero_or_one(coin->coinPtTEnd()->fT)) { in markCollapsed()
1361 if (zero_or_one(coin->oppPtTStart()->fT) && zero_or_one(coin->oppPtTEnd()->fT)) { in markCollapsed()
DSkPathOpsDebug.cpp1594 bool oOnEnd = zero_or_one(span->oppPtTStart()->fT); in debugAddEndMovedSpans()
1609 bool oOnEnd = zero_or_one(span->oppPtTEnd()->fT); in debugAddEndMovedSpans()
2092 if (zero_or_one(coin->coinPtTStart()->fT) && zero_or_one(coin->coinPtTEnd()->fT)) { in debugMarkCollapsed()
2095 if (zero_or_one(coin->oppPtTStart()->fT) && zero_or_one(coin->oppPtTEnd()->fT)) { in debugMarkCollapsed()
2514 if (!zero_or_one(inner->fT)) { in debugMergeMatches()
2518 if (!zero_or_one(test->fT)) { in debugMergeMatches()
DSkPathOpsQuad.cpp196 if (zero_or_one(t)) { in dxdyAtT()
DSkPathOpsTypes.h326 inline bool zero_or_one(double x) { in zero_or_one() function
DSkPathOpsCubic.cpp510 if (result.fX == 0 && result.fY == 0 && zero_or_one(t)) { in dxdyAtT()
DSkOpSegment.cpp252 if (t == result->fT || (!zero_or_one(t) && this->match(result, this, t, pt))) { in addT()