Home
last modified time | relevance | path

Searched refs:TestVisitor (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/tools/common/
Dtraverse_test.py27 class TestVisitor(object): class
44 visitor = TestVisitor()
49 visitor = TestVisitor()
58 visitor = TestVisitor()
59 traverse.traverse(TestVisitor, visitor)
60 self.assertEqual(TestVisitor,
73 visitor = TestVisitor()
Dpublic_api_test.py27 class TestVisitor(object): class in PublicApiTest
40 visitor = self.TestVisitor()
49 visitor = self.TestVisitor()
57 visitor = self.TestVisitor()
/external/clang/unittests/Tooling/
DTestVisitor.h36 class TestVisitor : public RecursiveASTVisitor<T> {
38 TestVisitor() { } in TestVisitor() function
40 virtual ~TestVisitor() { } in ~TestVisitor()
83 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
91 TestVisitor *Visitor;
96 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
105 TestVisitor *Visitor;
117 template <typename T, template <typename> class Visitor = TestVisitor>
DLookupTest.cpp15 struct GetDeclsVisitor : TestVisitor<GetDeclsVisitor> {
26 bool Ret = TestVisitor::TraverseDecl(D); in TraverseDecl()
DRefactoringTest.cpp319 class TestVisitor : public clang::RecursiveASTVisitor<T> { class
332 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
339 TestVisitor *Visitor;
344 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
356 TestVisitor *Visitor;
369 class ClassDeclXVisitor : public TestVisitor<ClassDeclXVisitor> {
392 class CallToFVisitor : public TestVisitor<CallToFVisitor> {
417 : public TestVisitor<NestedNameSpecifierAVisitor> {
427 return TestVisitor<NestedNameSpecifierAVisitor>::TraverseNestedNameSpecifierLoc( in TraverseNestedNameSpecifierLoc()
DCommentHandlerTest.cpp26 class CommentHandlerVisitor : public TestVisitor<CommentHandlerVisitor>,
28 typedef TestVisitor<CommentHandlerVisitor> base;
DQualTypeNamesTest.cpp15 struct TypeNameVisitor : TestVisitor<TypeNameVisitor> {
DFixItTest.cpp22 struct CallsVisitor : TestVisitor<CallsVisitor> {
/external/llvm-project/clang/unittests/Tooling/
DTestVisitor.h35 class TestVisitor : public RecursiveASTVisitor<T> {
37 TestVisitor() { } in TestVisitor() function
39 virtual ~TestVisitor() { } in ~TestVisitor()
94 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
102 TestVisitor *Visitor;
107 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
116 TestVisitor *Visitor;
128 template <typename T, template <typename> class Visitor = TestVisitor>
DLookupTest.cpp14 struct GetDeclsVisitor : TestVisitor<GetDeclsVisitor> {
33 bool Ret = TestVisitor::TraverseDecl(D); in TraverseDecl()
DCastExprTest.cpp15 struct CastExprVisitor : TestVisitor<CastExprVisitor> {
DCommentHandlerTest.cpp25 class CommentHandlerVisitor : public TestVisitor<CommentHandlerVisitor>,
27 typedef TestVisitor<CommentHandlerVisitor> base;
DSourceCodeTest.cpp35 struct IntLitVisitor : TestVisitor<IntLitVisitor> {
44 struct CallsVisitor : TestVisitor<CallsVisitor> {
88 template <typename T> class AnnotatedCodeVisitor : public TestVisitor<T> {
418 struct FailingVarDeclsVisitor : TestVisitor<FailingVarDeclsVisitor> { in TEST()
DRecursiveASTVisitorTestPostOrderVisitor.cpp20 class RecordingVisitor : public TestVisitor<RecordingVisitor> {
DQualTypeNamesTest.cpp14 struct TypeNameVisitor : TestVisitor<TypeNameVisitor> {
DRefactoringTest.cpp651 class TestVisitor : public clang::RecursiveASTVisitor<T> { class
664 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
671 TestVisitor *Visitor;
676 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
688 TestVisitor *Visitor;
701 class ClassDeclXVisitor : public TestVisitor<ClassDeclXVisitor> {
724 class CallToFVisitor : public TestVisitor<CallToFVisitor> {
749 : public TestVisitor<NestedNameSpecifierAVisitor> {
759 return TestVisitor<NestedNameSpecifierAVisitor>::TraverseNestedNameSpecifierLoc( in TraverseNestedNameSpecifierLoc()
DFixItTest.cpp21 struct CallsVisitor : TestVisitor<CallsVisitor> {
DASTSelectionTest.cpp28 class SelectionFinderVisitor : public TestVisitor<SelectionFinderVisitor> {
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/
DTestVisitor.java5 public class TestVisitor extends PrettyPrintVisitor { class
7 public TestVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) { in TestVisitor() method in TestVisitor
DPrettyPrinterTest.java97 … printer = new PrettyPrinter(new PrettyPrinterConfiguration().setVisitorFactory(TestVisitor::new)); in prettyPrintConfigurable()
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DTraversalScope.cpp15 class Visitor : public ExpectedLocationVisitor<Visitor, clang::TestVisitor> {
DCallbacksCommon.h24 class RecordingVisitorBase : public TestVisitor<Derived> {
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_computation_test.cc229 class TestVisitor : public DfsHloVisitorWithDefault { in TEST_F() class
231 explicit TestVisitor(HloComputation* computation) in TEST_F() function in xla::__anond1f842fb0111::TEST_F::TestVisitor
253 TestVisitor visitor(computation); in TEST_F()
/external/rust/crates/log/src/
Dlib.rs1732 struct TestVisitor { in test_record_key_values_builder() struct
1736 impl<'kvs> Visitor<'kvs> for TestVisitor { in test_record_key_values_builder() implementation
1750 let mut visitor = TestVisitor { seen_pairs: 0 }; in test_record_key_values_builder()