Home
last modified time | relevance | path

Searched refs:coin (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/src/pathops/
H A DSkOpCoincidence.cpp434 SkCoincidentSpans* coin = this->fHead; in DEBUG_COIN_DECLARE_ONLY_PARAMS() local
435 if (!coin) { in DEBUG_COIN_DECLARE_ONLY_PARAMS()
439 const SkOpPtT* startPtT = coin->coinPtTStart(); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
440 const SkOpPtT* oStartPtT = coin->oppPtTStart(); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
444 SkOPASSERT(coin->coinPtTEnd()->contains(coin->oppPtTEnd())); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
447 const SkOpSpanBase* end = coin->coinPtTEnd()->span(); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
448 const SkOpSpanBase* oEnd = coin->oppPtTEnd()->span(); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
452 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in DEBUG_COIN_DECLARE_ONLY_PARAMS()
453 const SkOpSpanBase* oTest = coin in DEBUG_COIN_DECLARE_ONLY_PARAMS()
944 contains(const SkCoincidentSpans* coin, const SkOpSegment* seg, const SkOpSegment* opp, double oppT) const contains() argument
1008 SkCoincidentSpans* coin = fHead; DEBUG_COIN_DECLARE_ONLY_PARAMS() local
1020 SkCoincidentSpans* coin = fHead; DEBUG_COIN_DECLARE_ONLY_PARAMS() local
1152 release(SkCoincidentSpans* coin, SkCoincidentSpans* remove) release() argument
1173 releaseDeleted(SkCoincidentSpans* coin) releaseDeleted() argument
1228 SkCoincidentSpans* coin = fHead; DEBUG_COIN_DECLARE_ONLY_PARAMS() local
1299 fixUp(SkCoincidentSpans* coin, SkOpPtT* deleted, const SkOpPtT* kept) fixUp() argument
1337 SkCoincidentSpans* coin = fHead; DEBUG_COIN_DECLARE_ONLY_PARAMS() local
1381 markCollapsed(SkCoincidentSpans* coin, SkOpPtT* test) markCollapsed() argument
1436 SkCoincidentSpans* coin = fHead; release() local
[all...]
H A DSkPathOpsDebug.cpp28 #define FAIL_IF(cond, coin) \
29 do { if (cond) log->record(SkPathOpsDebug::kFail_Glitch, coin); } while (false)
135 void record(GlitchType type, const SkCoincidentSpans* coin, in record()
138 glitch->fCoinSpan = coin->coinPtTStart(); in record()
139 glitch->fEndSpan = coin->coinPtTEnd(); in record()
163 void record(GlitchType type, const SkCoincidentSpans* coin, in record()
166 glitch->fCoinSpan = coin->coinPtTStart(); in record()
167 glitch->fEndSpan = coin->coinPtTEnd(); in record()
173 void record(GlitchType type, const SkCoincidentSpans* coin, in record()
177 glitch->fCoinSpan = coin in record()
1613 const SkCoincidentSpans* coin = this->fHead; debugAddExpanded() local
1959 debugRelease(SkPathOpsDebug::GlitchLog* log, const SkCoincidentSpans* coin, const SkCoincidentSpans* remove) const debugRelease() argument
1981 const SkCoincidentSpans* coin = fHead; debugRelease() local
1998 const SkCoincidentSpans* coin = fHead; debugExpand() local
2026 const SkCoincidentSpans* coin = fHead; debugMark() local
2074 debugMarkCollapsed(SkPathOpsDebug::GlitchLog* log, const SkCoincidentSpans* coin, const SkOpPtT* test) const debugMarkCollapsed() argument
2257 const SkCoincidentSpans* coin = head; DebugCheckBetween() local
2297 const SkCoincidentSpans* coin = fHead; debugCorrectEnds() local
[all...]
H A DSkOpSpan.h206 bool containsCoinEnd(const SkOpSpanBase* coin) const { in containsCoinEnd()
207 SkASSERT(this != coin); in containsCoinEnd()
210 if (next == coin) { in containsCoinEnd()
282 void insertCoinEnd(SkOpSpanBase* coin) { in insertCoinEnd() argument
283 if (containsCoinEnd(coin)) { in insertCoinEnd()
284 SkASSERT(coin->containsCoinEnd(this)); in insertCoinEnd()
288 SkASSERT(this != coin); in insertCoinEnd()
289 SkOpSpanBase* coinNext = coin->fCoinEnd; in insertCoinEnd()
290 coin->fCoinEnd = this->fCoinEnd; in insertCoinEnd()
439 bool containsCoincidence(const SkOpSpan* coin) cons
468 insertCoincidence(SkOpSpan* coin) insertCoincidence() argument
[all...]
H A DSkOpCoincidence.h187 const SkCoincidentSpans* coin, const SkOpPtT* test) const;
237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp);
265 bool contains(const SkCoincidentSpans* coin, const SkOpSegment* seg,
281 void fixUp(SkCoincidentSpans* coin, SkOpPtT* deleted, const SkOpPtT* kept);
286 bool release(SkCoincidentSpans* coin, SkCoincidentSpans* );
H A DSkPathOpsTSect.cpp871 // FIXME: incomplete : if we're not at the end, find end of coin in extractCoincident()
1299 SkTCoincident coin; in mergeCoincidence() local
1300 coin.setPerp(fCurve, midT, midPt, sect2->fCurve); in mergeCoincidence()
1301 if (coin.isMatch()) { in mergeCoincidence()
/third_party/skia/tests/
H A DPathOpsDebug.cpp259 const SkOpAngle* CoincidenceAngle(SkOpCoincidence* coin, int id) { in CoincidenceAngle() argument
260 return coin->debugAngle(id); in CoincidenceAngle()
263 SkOpContour* CoincidenceContour(SkOpCoincidence* coin, int id) { in CoincidenceContour() argument
264 return coin->debugContour(id); in CoincidenceContour()
267 const SkOpPtT* CoincidencePtT(SkOpCoincidence* coin, int id) { in CoincidencePtT() argument
268 return coin->debugPtT(id); in CoincidencePtT()
271 const SkOpSegment* CoincidenceSegment(SkOpCoincidence* coin, int id) { in CoincidenceSegment() argument
272 return coin->debugSegment(id); in CoincidenceSegment()
275 const SkOpSpanBase* CoincidenceSpan(SkOpCoincidence* coin, int id) { in CoincidenceSpan() argument
276 return coin in CoincidenceSpan()
753 const SkOpSpanBase* coin = this->coinEnd(); dumpBase() local
789 SkOpSpan* coin = fCoincident; dumpSpan() local
[all...]
H A DPathOpsConicIntersectionTest.cpp297 bool coin) { in oneOff()
314 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2); in oneOff()
296 oneOff(skiatest::Reporter* reporter, const ConicPts& conic1, const ConicPts& conic2, bool coin) oneOff() argument
H A DPathOpsCubicIntersectionTest.cpp391 bool coin) { in oneOff()
416 REPORTER_ASSERT(reporter, !coin || intersections.used() >= 2); in oneOff()
390 oneOff(skiatest::Reporter* reporter, const CubicPts& cubic1, const CubicPts& cubic2, bool coin) oneOff() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dbits_test.cc315 bool coin = absl::Bernoulli(gen, 0.2); in GeneratePopcountInput() local
316 if (coin) { in GeneratePopcountInput()

Completed in 16 milliseconds