Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpSpan.cpp157 SkASSERT(!zero_or_one(this->fPtT.fT)); in align()
162 if (zero_or_one(ptT->fT)) { in align()
183 SkASSERT(zero_or_one(t)); in alignEnd()
197 if (!zero_or_one(test->fT)) { in alignEnd()
295 SkASSERT(!zero_or_one(spanPtT->fT)); in merge()
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()
DSkPathOpsConic.cpp52 if (zero_or_one(t)) { in dxdyAtT()
DSkPathOpsQuad.cpp166 if (zero_or_one(t)) { in dxdyAtT()
DSkPathOpsTypes.h246 inline bool zero_or_one(double x) { in zero_or_one() function
DSkPathOpsDebug.cpp478 SkASSERT(!zero_or_one(i[0][0])); in debugAddAlignIntersection()
1504 SkASSERT(zero_or_one(t)); in debugAlignedEnd()
1522 if (!zero_or_one(test->fT)) { in debugAlignedEnd()
DSkPathOpsCubic.cpp483 if (result.fX == 0 && result.fY == 0 && zero_or_one(t)) { in dxdyAtT()
DSkOpSegment.cpp225 SkASSERT(!zero_or_one(i[0][0])); in addAlignIntersection()