/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestDeclVisitor.cpp | 27 Visitor.ExpectMatch("i", 2, 17); in TEST() 54 Visitor.ExpectMatch("", 1, 7); in TEST() 55 Visitor.ExpectMatch("", 3, 7); in TEST() 84 Visitor.ExpectMatch("A<bool>", 1, 26); in TEST() 85 Visitor.ExpectMatch("A<char *>", 2, 26); in TEST() 95 Visitor.ExpectMatch("A<int>", 1, 29); in TEST() 103 Visitor.ExpectMatch("A<int>::B<char>", 2, 31); in TEST() 113 Visitor.ExpectMatch("A<int>", 1, 26); in TEST() 121 Visitor.ExpectMatch("A<int>::B<char>", 2, 35); in TEST() 132 Visitor.ExpectMatch("vector_iterator<int>", 2, 7); in TEST()
|
D | RecursiveASTVisitorTestExprVisitor.cpp | 27 Visitor.ExpectMatch("", 1, 9); in TEST() 48 Visitor.ExpectMatch("X", 2, 40); in TEST() 69 Visitor.ExpectMatch("true", 2, 19); in TEST() 94 Visitor.ExpectMatch("Simple", 2, 8); in TEST() 136 Visitor.ExpectMatch("WithCtor", 2, 8); in TEST() 173 Visitor.ExpectMatch("x", 2, 3); in TEST() 180 Visitor.ExpectMatch("x", 2, 25); in TEST() 181 Visitor.ExpectMatch("x", 2, 30); in TEST() 190 Visitor.ExpectMatch("x", 1, 22); in TEST() 209 Visitor.ExpectMatch("s", 1, 24); in TEST() [all …]
|
D | RecursiveASTVisitorTest.cpp | 43 Visitor.ExpectMatch("", 1, 12); in TEST() 69 Visitor.ExpectMatch("", 1, 20); in TEST() 121 Visitor.ExpectMatch("Attr", 4, 24); in TEST() 122 Visitor.ExpectMatch("guarded_by", 4, 24); in TEST() 123 Visitor.ExpectMatch("mu1", 4, 35); in TEST() 124 Visitor.ExpectMatch("Attr", 5, 29); in TEST() 125 Visitor.ExpectMatch("mu1", 5, 54); in TEST() 126 Visitor.ExpectMatch("mu2", 5, 59); in TEST() 147 Visitor.ExpectMatch("__i0", 1, 8); in TEST()
|
D | RecursiveASTVisitorTestTypeLocVisitor.cpp | 27 Visitor.ExpectMatch("class X", 1, 30); in TEST() 33 Visitor.ExpectMatch("class X", 3, 18); in TEST() 42 Visitor.ExpectMatch("class X", 2, 18); in TEST() 50 Visitor.ExpectMatch("X<class Y>", 2, 18); in TEST() 58 Visitor.ExpectMatch("class X", 2, 23); in TEST() 67 Visitor.ExpectMatch("struct S", 1, 26); in TEST() 75 Visitor.ExpectMatch("NSNumber", 2, 33); in TEST()
|
D | RecursiveASTVisitorTestCallVisitor.cpp | 29 Visitor.ExpectMatch("Y::x", 3, 3); in TEST() 40 Visitor.ExpectMatch("Y::x", 4, 5); in TEST() 53 Visitor.ExpectMatch("A::x", 5, 7); in TEST() 71 Visitor.ExpectMatch("A::x", 6, 20); in TEST() 88 Visitor.ExpectMatch("A::f", 4, 5); in TEST() 113 Visitor.ExpectMatch("()", 4, 9); in TEST()
|
D | TestVisitor.h | 131 void ExpectMatch(Twine Match, unsigned Line, unsigned Column) { in ExpectMatch() function
|
/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 77 enum class ExpectMatch { enum 358 ExpectMatch expectMatch) { in comparePaths() 362 if (ExpectMatch::kNo == expectMatch) { in comparePaths() 371 if (ExpectMatch::kYes == expectMatch && errors2x2 >= MAX_ERRORS) { in comparePaths() 474 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() 494 if (ExpectMatch::kNo == expectMatch) { in inner_simplify() 500 } else if (ExpectMatch::kYes == expectMatch && errors) { in inner_simplify() 509 ExpectMatch::kYes); in testSimplify() 514 ExpectMatch::kFlaky); in testSimplifyFuzz() 520 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck() [all …]
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.h | 63 const std::string &Code, const T &AMatcher, bool ExpectMatch, 97 if (!Found && ExpectMatch) { 100 } else if (Found && !ExpectMatch) { 159 const std::string &Code, const T &AMatcher, bool ExpectMatch, in matchesConditionallyWithCuda() argument 203 if (!Found && ExpectMatch) { in matchesConditionallyWithCuda() 206 } else if (Found && !ExpectMatch) { in matchesConditionallyWithCuda()
|