Home
last modified time | relevance | path

Searched refs:upCast (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pathops/
DSkOpSegment.cpp217 } while ((test = test->upCast()->next())); in existing()
271 } while ((spanBase = spanBase->upCast()->next())); in addT()
293 SkOpSpan* span = spanBase->upCast(); in calcAngles()
332 } while (span->upCastable() && (span = span->upCast()->next())); in collapsed()
474 spanBase = spanBase->upCast()->next(); in contains()
537 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
540 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
604 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
642 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
645 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
[all …]
DSkOpCoincidence.cpp37 : origSpan->upCast()->next()->prev()->ptT(); in correctOneEnd()
61 const SkOpSpan* start = coinPtTStart()->span()->upCast(); in expand()
76 SkOpSpanBase* next = end->final() ? nullptr : end->upCast()->next(); in expand()
154 const SkOpSpanBase* next = start->upCast()->next(); in ordered()
180 next = next->upCast()->next(); in ordered()
354 const SkOpSpan* base = ptT->span()->upCast(); in addEndMovedSpans()
446 const SkOpSpanBase* test = start->upCast()->next(); in addExpanded()
448 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
470 walk = walk->upCast()->next(); in addExpanded()
503 test = test->upCast()->next(); in addExpanded()
[all …]
DSkOpSpan.h344 return result->upCast(); in starter()
350 return result->upCast(); in starter()
363 return result->upCast(); in starter()
378 SkOpSpan* upCast() { in upCast() function
383 const SkOpSpan* upCast() const { in upCast() function
389 return final() ? nullptr : upCast(); in upCastable()
393 return final() ? nullptr : upCast(); in upCastable()
DSkPathOpsDebug.cpp772 } while ((span = span->upCast()->next())); in debugAddT()
790 span = base->upCast(); in debugCheckAngleCoin()
847 } while (!span->final() && (span = span->upCast()->next())); in DebugClearVisited()
959 } while ((spanBase = spanBase->final() ? nullptr : spanBase->upCast()->next())); in debugMissingCoincidence()
1006 while ((oppNext = oppNext->final() ? nullptr : oppNext->upCast()->next())) { in debugMoveMultiples()
1051 } while (oppTest != oppLast && (oppTest = oppTest->upCast()->next())); in debugMoveMultiples()
1055 } while ((test = test->final() ? nullptr : test->upCast()->next())); in debugMoveMultiples()
1085 spanBase = spanBase->upCast()->next(); in debugMoveNearby()
1091 const SkOpSpanBase* test = spanBase->upCast()->next(); in debugMoveNearby()
1425 : origSpan->upCast()->next()->prev()->ptT(); in debugCorrectOneEnd()
[all …]
DSkOpSpan.cpp273 SkOpSpanBase* result = fPrev ? fPrev->next() : upCast()->next()->prev(); in active()
333 innerBase->upCast()->release(test); in mergeMatches()
337 testBase->upCast()->release(inner); in mergeMatches()
415 span = const_cast<SkOpSpan*>(start->span()->upCast()); in insertCoincidence()
421 span = base->upCast(); in insertCoincidence()
DSkOpSegment.h301 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
302 : end->upCast()->oppValue(); in OppSign()
375 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
376 : end->upCast()->windValue(); in SpanSign()
382 return start->t() < end->t() ? start->upCast()->toAngle() : start->fromAngle(); in spanToAngle()
DSkPathOpsWinding.cpp199 } while (!next->final() && (span = next->upCast())); in windingSpanAtT()
382 } while (!next->final() && (span = next->upCast())); in findSortableTop()
DSkPathOpsSimplify.cpp69 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkOpAngle.cpp335 } while (!oSpan->final() && (oSpan = oSpan->upCast()->next())); in computeSector()
337 ? checkEnd->upCast()->next() : nullptr in computeSector()
342 : checkEnd ? checkEnd->upCast()->next() : fEnd->segment()->tail(); in computeSector()
DSkPathOpsOp.cpp165 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
/external/skia/tests/
DPathOpsAngleTest.cpp489 startSpan = startSpan->upCast()->next(); in debugAddAngle()
493 endSpan = endSpan->upCast()->next(); in debugAddAngle()
497 startSpan->upCast()->setToAngle(angle); in debugAddAngle()
500 endSpan->upCast()->setToAngle(angle); in debugAddAngle()
DPathOpsDebug.cpp1067 this->upCast()->dumpSpan(); in dumpBase()
1072 } else if (this->final() || !this->upCast()->isCoincident()) { in dumpBase()
1158 } while (!span->final() && (span = span->upCast()->next())); in dump()
1169 } while (!span->final() && (span = span->upCast()->next())); in dumpAll()
1178 const SkOpAngle* tAngle = span->final() ? nullptr : span->upCast()->toAngle(); in dumpAngles()
1187 } while (!span->final() && (span = span->upCast()->next())); in dumpAngles()