/external/skqp/src/pathops/ |
D | SkOpCoincidence.cpp | 434 SkCoincidentSpans* coin = this->fHead; in addExpanded() local 435 if (!coin) { in addExpanded() 439 const SkOpPtT* startPtT = coin->coinPtTStart(); in addExpanded() 440 const SkOpPtT* oStartPtT = coin->oppPtTStart(); in addExpanded() 444 SkOPASSERT(coin->coinPtTEnd()->contains(coin->oppPtTEnd())); in addExpanded() 447 const SkOpSpanBase* end = coin->coinPtTEnd()->span(); in addExpanded() 448 const SkOpSpanBase* oEnd = coin->oppPtTEnd()->span(); in addExpanded() 452 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded() 453 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded() 477 && walk != coin->coinPtTEnd()->span()); in addExpanded() [all …]
|
D | SkPathOpsDebug.cpp | 27 #define FAIL_IF(cond, coin) \ argument 28 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->coinPtTStart(); in record() [all …]
|
D | SkOpSpan.h | 206 bool containsCoinEnd(const SkOpSpanBase* coin) const { in containsCoinEnd() argument 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) const { in containsCoincidence() argument [all …]
|
/external/skia/src/pathops/ |
D | SkOpCoincidence.cpp | 434 SkCoincidentSpans* coin = this->fHead; in addExpanded() local 435 if (!coin) { in addExpanded() 439 const SkOpPtT* startPtT = coin->coinPtTStart(); in addExpanded() 440 const SkOpPtT* oStartPtT = coin->oppPtTStart(); in addExpanded() 444 SkOPASSERT(coin->coinPtTEnd()->contains(coin->oppPtTEnd())); in addExpanded() 447 const SkOpSpanBase* end = coin->coinPtTEnd()->span(); in addExpanded() 448 const SkOpSpanBase* oEnd = coin->oppPtTEnd()->span(); in addExpanded() 452 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded() 453 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded() 477 && walk != coin->coinPtTEnd()->span()); in addExpanded() [all …]
|
D | SkPathOpsDebug.cpp | 28 #define FAIL_IF(cond, coin) \ argument 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->coinPtTStart(); in record() [all …]
|
D | SkOpSpan.h | 206 bool containsCoinEnd(const SkOpSpanBase* coin) const { in containsCoinEnd() argument 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) const { in containsCoincidence() argument [all …]
|
/external/llvm-project/clang/test/Analysis/exploration_order/ |
D | prefer_unexplored.cpp | 4 extern int coin(); 8 while (coin()) { // expected-note{{Loop condition is true}} in foo() 9 if (coin()) // expected-note {{Taking true branch}} in foo() 18 while(coin()) in bar() 19 if (coin()) in bar() 25 while (coin()) { // expected-note{{Loop condition is true}} in foo2() 26 if (coin()) // expected-note {{Taking false branch}} in foo2() 37 while(coin()) // expected-note{{Loop condition is true}} in bar2() 38 if (coin()) // expected-note {{Assuming the condition is false}} in bar2()
|
/external/llvm-project/clang/test/Analysis/ |
D | track-control-dependency-conditions.cpp | 31 bool coin(); 34 …flag = coin(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a conditi… in foo() 60 bool coin(); 63 …flag = coin(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a conditi… in foo() 91 bool coin(); 95 …flag = coin(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a conditi… in foo() 121 bool coin(); 124 return coin(); in foo() 142 bool coin(); 145 operator bool() const { return coin(); } in operator bool() [all …]
|
D | live-stmts.cpp | 4 int coin(); 99 while (coin()) in testWhileBodyExpression() 129 while (coin()); in testDoWhileBodyExpression() 156 for (; coin();) in testForBodyExpression()
|
D | initializers-cfg-output.cpp | 239 TestMoreControlFlow(bool coin); 293 TestMoreControlFlow::TestMoreControlFlow(bool coin) in TestMoreControlFlow() argument 294 : A(coin ? 1 : 2), a(coin ? 3 : 4) {} in TestMoreControlFlow()
|
D | temporaries.cpp | 140 extern bool coin(); 146 if (coin() && (coin() || coin() || check(Dtor()))) { in testPR16664andPR18159Crash() 720 void test(int coin) { in test() argument 728 const C &c1 = coin ? C(1) : C(2); in test() 729 if (coin) { in test() 745 C c2 = coin ? C(1) : C(2); in test() 746 if (coin) { in test() 791 void test_ternary_temporary(int coin) { in test_ternary_temporary() argument 794 const C &c = coin ? C(x, y) : C(z, w); in test_ternary_temporary() 797 if (coin) { in test_ternary_temporary() [all …]
|
D | domtest.cpp | 7 bool coin(); 38 if (coin()) { in funcWithBranch() 39 if (coin()) { in funcWithBranch()
|
D | cfg-rich-constructors.cpp | 152 void simpleVariableWithTernaryOperator(bool coin) { in simpleVariableWithTernaryOperator() argument 153 C c = coin ? C::get() : C(0); in simpleVariableWithTernaryOperator() 219 void referenceVariableWithTernaryOperator(bool coin) { in referenceVariableWithTernaryOperator() argument 220 const C &c = coin ? C::get() : C(0); in referenceVariableWithTernaryOperator() 673 void referenceVariableWithTernaryOperator(bool coin) { in referenceVariableWithTernaryOperator() argument 674 const D &d = coin ? D::get() : D(0); in referenceVariableWithTernaryOperator()
|
D | return-stmt-merge.cpp | 10 int coin(); 13 int x = coin(); in foo()
|
D | lifetime-extension.cpp | 106 void f3(bool coin) { in f3() argument 109 const C &c = coin ? C(true, &after, &before) : C(false, &after, &before); in f3() 119 void f4(bool coin) { in f4() argument 123 const C &c = C(coin, &after, &before) ?: C(false, &after, &before); in f4() 128 if (coin) { in f4()
|
D | operator-calls.cpp | 81 void test(int coin) { in test() argument 84 … clang_analyzer_eval(+(coin ? getSmallOpaque() : getSmallOpaque())); // expected-warning{{UNKNOWN}} in test() 85 … clang_analyzer_eval(+(coin ? getLargeOpaque() : getLargeOpaque())); // expected-warning{{UNKNOWN}} in test()
|
/external/llvm-project/clang/test/Analysis/inlining/ |
D | inline-defensive-checks.c | 205 int *idcPlainNull(int coin) { in idcPlainNull() argument 206 if (coin) in idcPlainNull() 212 void idcTrackZeroValueThroughSymbolicRegion(int coin, int **x) { in idcTrackZeroValueThroughSymbolicRegion() argument 213 *x = idcPlainNull(coin); in idcTrackZeroValueThroughSymbolicRegion() 217 void idcTrackZeroValueThroughSymbolicRegionAndParens(int coin, int **x) { in idcTrackZeroValueThroughSymbolicRegionAndParens() argument 218 *x = idcPlainNull(coin); in idcTrackZeroValueThroughSymbolicRegionAndParens() 230 struct WithArray *idcPlainNullWithArray(int coin) { in idcPlainNullWithArray() argument 231 if (coin) in idcPlainNullWithArray() 237 void idcTrackZeroValueThroughSymbolicRegionWithArray(int coin, struct WithArray **s) { in idcTrackZeroValueThroughSymbolicRegionWithArray() argument 238 *s = idcPlainNullWithArray(coin); in idcTrackZeroValueThroughSymbolicRegionWithArray()
|
/external/llvm-project/clang/test/Analysis/diagnostics/ |
D | no-store-func-path-notes.cpp | 119 int coin(); 122 C c(0, 0, coin()); // expected-note{{Calling constructor for 'C'}} in use_other_constructor() 149 if (coin()) // expected-note{{Assuming the condition is true}} in pointerreference() 190 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitialize() 214 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitialize() 232 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitialize() 255 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitializeWithParent() 278 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitializeIndirectly() 301 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitializeIndirectly() 324 if (coin()) // expected-note{{Assuming the condition is false}} in maybeInitializeIndirectly() [all …]
|
D | no-store-func-path-notes.c | 198 int coin(); 201 if (coin()) // expected-note{{Assuming the condition is true}} in multiindirection() 218 if (coin()) // expected-note{{Assuming the condition is true}} in indirectingstruct() 240 if (coin()) // expected-note{{Assuming the condition is false}} in initializeMaybeInStruct()
|
/external/llvm-project/clang/test/Analysis/html_diagnostics/relevant_lines/ |
D | unused_header.c | 3 int f(int coin) { in f() argument 4 if (coin) { in f() 12 int v(int coin) { in v() argument 13 return coin; in v()
|
D | multifile.c | 3 int f(int coin) { in f() argument 5 if (coin) { in f() 6 return helper(p, coin); in f()
|
D | simple_conditional.c | 1 int f(int coin) { in f() argument 2 if (coin) { in f()
|
D | multiline_func_def.c | 2 int coin, in f() argument 5 if (coin) { in f()
|
D | macros_same_file.c | 3 int f(int coin) { in f() argument 4 if (coin) { in f()
|
/external/clang/test/Analysis/ |
D | operator-calls.cpp | 81 void test(int coin) { in test() argument 84 … clang_analyzer_eval(+(coin ? getSmallOpaque() : getSmallOpaque())); // expected-warning{{UNKNOWN}} in test() 85 … clang_analyzer_eval(+(coin ? getLargeOpaque() : getLargeOpaque())); // expected-warning{{UNKNOWN}} in test()
|