Home
last modified time | relevance | path

Searched refs:Visitor (Results 1 – 25 of 1940) sorted by relevance

12345678910>>...78

/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp162 ParmVarDeclVisitorForImplicitCode Visitor; in TEST() local
168 Visitor.ExpectMatch("", 1, 7); in TEST()
169 Visitor.ExpectMatch("", 3, 7); in TEST()
170 EXPECT_TRUE(Visitor.runOver( in TEST()
178 TypeLocVisitor Visitor; in TEST() local
179 Visitor.ExpectMatch("class X", 1, 30); in TEST()
180 EXPECT_TRUE(Visitor.runOver("class X {}; class Y : public X {};")); in TEST()
184 TypeLocVisitor Visitor; in TEST() local
185 Visitor.ExpectMatch("class X", 3, 18); in TEST()
186 EXPECT_TRUE(Visitor.runOver( in TEST()
[all …]
DCommentHandlerTest.cpp70 CommentHandlerAction(CommentHandlerVisitor *Visitor) in CommentHandlerAction() argument
71 : TestAction(Visitor) { } in CommentHandlerAction()
76 static_cast<CommentHandlerVisitor*>(this->Visitor); in BeginSourceFileAction()
84 static_cast<CommentHandlerVisitor*>(this->Visitor); in EndSourceFileAction()
130 CommentHandlerVisitor Visitor; in TEST() local
131 EXPECT_TRUE(Visitor.runOver("class X {}; int main() { return 0; }")); in TEST()
132 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST()
136 CommentHandlerVisitor Visitor; in TEST() local
137 EXPECT_TRUE(Visitor.runOver( in TEST()
139 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST()
[all …]
DTestVisitor.h83 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer() argument
86 Visitor->Context = &Context; in HandleTranslationUnit()
87 Visitor->TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
91 TestVisitor *Visitor;
96 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction() argument
101 return new FindConsumer(Visitor); in CreateASTConsumer()
105 TestVisitor *Visitor;
117 template <typename T, template <typename> class Visitor = TestVisitor>
118 class ExpectedLocationVisitor : public Visitor<T> {
/external/qemu/qapi-auto-generated/
Dqapi-visit.h26 void visit_type_strList(Visitor *m, strList ** obj, const char *name, Error **errp);
27 void visit_type_intList(Visitor *m, intList ** obj, const char *name, Error **errp);
28 void visit_type_numberList(Visitor *m, numberList ** obj, const char *name, Error **errp);
29 void visit_type_boolList(Visitor *m, boolList ** obj, const char *name, Error **errp);
30 void visit_type_int8List(Visitor *m, int8List ** obj, const char *name, Error **errp);
31 void visit_type_int16List(Visitor *m, int16List ** obj, const char *name, Error **errp);
32 void visit_type_int32List(Visitor *m, int32List ** obj, const char *name, Error **errp);
33 void visit_type_int64List(Visitor *m, int64List ** obj, const char *name, Error **errp);
34 void visit_type_uint8List(Visitor *m, uint8List ** obj, const char *name, Error **errp);
35 void visit_type_uint16List(Visitor *m, uint16List ** obj, const char *name, Error **errp);
[all …]
Dqapi-types.c391 Visitor *v; in qapi_free_strList()
406 Visitor *v; in qapi_free_intList()
421 Visitor *v; in qapi_free_numberList()
436 Visitor *v; in qapi_free_boolList()
451 Visitor *v; in qapi_free_int8List()
466 Visitor *v; in qapi_free_int16List()
481 Visitor *v; in qapi_free_int32List()
496 Visitor *v; in qapi_free_int64List()
511 Visitor *v; in qapi_free_uint8List()
526 Visitor *v; in qapi_free_uint16List()
[all …]
Dqapi-visit.c23 void visit_type_strList(Visitor *m, strList ** obj, const char *name, Error **errp) in visit_type_strList()
45 void visit_type_intList(Visitor *m, intList ** obj, const char *name, Error **errp) in visit_type_intList()
67 void visit_type_numberList(Visitor *m, numberList ** obj, const char *name, Error **errp) in visit_type_numberList()
89 void visit_type_boolList(Visitor *m, boolList ** obj, const char *name, Error **errp) in visit_type_boolList()
111 void visit_type_int8List(Visitor *m, int8List ** obj, const char *name, Error **errp) in visit_type_int8List()
133 void visit_type_int16List(Visitor *m, int16List ** obj, const char *name, Error **errp) in visit_type_int16List()
155 void visit_type_int32List(Visitor *m, int32List ** obj, const char *name, Error **errp) in visit_type_int32List()
177 void visit_type_int64List(Visitor *m, int64List ** obj, const char *name, Error **errp) in visit_type_int64List()
199 void visit_type_uint8List(Visitor *m, uint8List ** obj, const char *name, Error **errp) in visit_type_uint8List()
221 void visit_type_uint16List(Visitor *m, uint16List ** obj, const char *name, Error **errp) in visit_type_uint16List()
[all …]
/external/qemu/include/qapi/
Dvisitor-impl.h18 struct Visitor struct
21 void (*start_struct)(Visitor *v, void **obj, const char *kind, argument
23 void (*end_struct)(Visitor *v, Error **errp); argument
25 void (*start_implicit_struct)(Visitor *v, void **obj, size_t size, argument
27 void (*end_implicit_struct)(Visitor *v, Error **errp); argument
29 void (*start_list)(Visitor *v, const char *name, Error **errp); argument
30 GenericList *(*next_list)(Visitor *v, GenericList **list, Error **errp); argument
31 void (*end_list)(Visitor *v, Error **errp); argument
33 void (*type_enum)(Visitor *v, int *obj, const char *strings[], argument
35 void (*get_next_type)(Visitor *v, int *kind, const int *qobjects, argument
[all …]
Dvisitor.h29 typedef struct Visitor Visitor; typedef
31 void visit_start_handle(Visitor *v, void **obj, const char *kind,
33 void visit_end_handle(Visitor *v, Error **errp);
34 void visit_start_struct(Visitor *v, void **obj, const char *kind,
36 void visit_end_struct(Visitor *v, Error **errp);
37 void visit_start_implicit_struct(Visitor *v, void **obj, size_t size,
39 void visit_end_implicit_struct(Visitor *v, Error **errp);
40 void visit_start_list(Visitor *v, const char *name, Error **errp);
41 GenericList *visit_next_list(Visitor *v, GenericList **list, Error **errp);
42 void visit_end_list(Visitor *v, Error **errp);
[all …]
/external/chromium_org/v8/src/compiler/
Dtyper.cc65 class Typer::Visitor : public NullNodeVisitor { class in v8::internal::compiler::Typer
67 Visitor(Typer* typer, MaybeHandle<Context> context) in Visitor() function in v8::internal::compiler::Typer::Visitor
118 class Typer::RunVisitor : public Typer::Visitor {
121 : Visitor(typer, context), in RunVisitor()
146 class Typer::NarrowVisitor : public Typer::Visitor {
149 : Visitor(typer, context) {} in NarrowVisitor()
171 class Typer::WidenVisitor : public Typer::Visitor {
174 : Visitor(typer, context) {} in WidenVisitor()
221 Visitor typing(this, MaybeHandle<Context>()); in Init()
233 Bounds Typer::Visitor::TypeStart(Node* node) { in TypeStart()
[all …]
Dgraph-inl.h15 template <class Visitor>
16 void Graph::VisitNodeUsesFrom(Node* node, Visitor* visitor) { in VisitNodeUsesFrom()
17 GenericGraphVisit::Visit<Visitor, NodeUseIterationTraits<Node> >( in VisitNodeUsesFrom()
22 template <class Visitor>
23 void Graph::VisitNodeUsesFromStart(Visitor* visitor) { in VisitNodeUsesFromStart()
28 template <class Visitor>
29 void Graph::VisitNodeInputsFromEnd(Visitor* visitor) { in VisitNodeInputsFromEnd()
30 GenericGraphVisit::Visit<Visitor, NodeInputIterationTraits<Node> >( in VisitNodeInputsFromEnd()
/external/dexmaker/src/dx/java/com/android/dx/io/
DCodeReader.java26 private Visitor fallbackVisitor = null;
27 private Visitor stringVisitor = null;
28 private Visitor typeVisitor = null;
29 private Visitor fieldVisitor = null;
30 private Visitor methodVisitor = null;
35 public void setAllVisitors(Visitor visitor) { in setAllVisitors()
47 public void setFallbackVisitor(Visitor visitor) { in setFallbackVisitor()
54 public void setStringVisitor(Visitor visitor) { in setStringVisitor()
61 public void setTypeVisitor(Visitor visitor) { in setTypeVisitor()
68 public void setFieldVisitor(Visitor visitor) { in setFieldVisitor()
[all …]
/external/chromium_org/tools/clang/blink_gc_plugin/tests/
Dfinalize_after_dispatch.h14 void trace(Visitor*);
15 void traceAfterDispatch(Visitor*);
21 void trace(Visitor*);
28 void trace(Visitor*) { }; in trace() argument
29 void traceAfterDispatch(Visitor*) { }; in traceAfterDispatch() argument
35 void trace(Visitor*);
36 void traceAfterDispatch(Visitor*);
49 void traceAfterDispatch(Visitor*);
57 void traceAfterDispatch(Visitor*);
71 void traceAfterDispatch(Visitor*);
Dclass_requires_finalization_field.h14 virtual void trace(Visitor*) { } in trace() argument
21 void trace(Visitor*) { }; in trace() argument
27 void trace(Visitor*) { }; in trace() argument
46 void trace(Visitor*);
55 void trace(Visitor*);
63 void trace(Visitor*);
72 void trace(Visitor*);
Dclass_requires_finalization_mixin.cpp9 void MixinFinalizable::trace(Visitor* visitor) in trace()
14 void MixinNotFinalizable::trace(Visitor* visitor) in trace()
19 void NeedsFinalizer::trace(Visitor* visitor) in trace()
25 void HasFinalizer::trace(Visitor* visitor) in trace()
31 void NeedsNoFinalization::trace(Visitor* visitor) in trace()
Dclass_requires_finalization_base.h14 virtual void trace(Visitor*) {} in trace() argument
25 void trace(Visitor*);
31 void trace(Visitor*);
37 void trace(Visitor*);
45 void trace(Visitor*);
Dtrace_after_dispatch.cpp11 void A::trace(Visitor* visitor) in trace()
26 void A::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
30 void B::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
38 void C::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
44 void D::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
Dtrace_templated_super.h16 virtual void trace(Visitor*) { } in trace() argument
23 virtual void trace(Visitor*);
24 void clearWeakMembers(Visitor*);
33 virtual void trace(Visitor* visitor);
40 virtual void trace(Visitor*);
Dfinalize_after_dispatch.cpp11 void A::trace(Visitor* visitor) in trace()
26 void A::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
45 void B::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
51 void C::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
57 void D::traceAfterDispatch(Visitor* visitor) in traceAfterDispatch()
Dtrace_after_dispatch.h14 void trace(Visitor*);
15 void traceAfterDispatch(Visitor*);
26 void traceAfterDispatch(Visitor*);
34 void traceAfterDispatch(Visitor*);
48 void traceAfterDispatch(Visitor*);
Dclass_requires_finalization_mixin.h17 void trace(Visitor*);
25 void trace(Visitor*);
35 void trace(Visitor*);
44 void trace(Visitor*);
55 void trace(Visitor*);
Dclass_requires_finalization_base.cpp9 void NeedsFinalizer::trace(Visitor* visitor) in trace()
14 void DoesNotNeedFinalizer::trace(Visitor* visitor) in trace()
19 void GCedClassWithAScriptWrappableBase::trace(Visitor* visitor) in trace()
24 void GCedClassWithAScriptWrappableAndAFinalizableBase::trace(Visitor* visitor) in trace()
/external/eigen/Eigen/src/Core/
DVisitor.h17 template<typename Visitor, typename Derived, int UnrollCount>
25 static inline void run(const Derived &mat, Visitor& visitor) in run()
27 visitor_impl<Visitor, Derived, UnrollCount-1>::run(mat, visitor); in run()
32 template<typename Visitor, typename Derived>
33 struct visitor_impl<Visitor, Derived, 1>
35 static inline void run(const Derived &mat, Visitor& visitor)
41 template<typename Visitor, typename Derived>
42 struct visitor_impl<Visitor, Derived, Dynamic>
45 static inline void run(const Derived& mat, Visitor& visitor)
76 template<typename Visitor>
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/heap/
DVisitor.h63 class Visitor; variable
72 template<typename T, void (T::*method)(Visitor*)>
74 …static void trampoline(Visitor* visitor, void* self) { (reinterpret_cast<T*>(self)->*method)(visit… in trampoline()
170 static void trace(Visitor* visitor, void* self)
175 static void mark(Visitor* visitor, const T* t)
181 static void checkGCInfo(Visitor* visitor, const T* t)
195 static bool isAlive(Visitor*, T*);
207 class PLATFORM_EXPORT Visitor {
209 virtual ~Visitor() { }
370 template<typename T, void (T::*method)(Visitor*)>
[all …]
/external/chromium_org/net/quic/
Dquic_data_stream.h41 class Visitor {
43 Visitor() {} in Visitor() function
49 virtual ~Visitor() {} in ~Visitor()
52 DISALLOW_COPY_AND_ASSIGN(Visitor);
103 void set_visitor(Visitor* visitor) { visitor_ = visitor; } in set_visitor()
129 Visitor* visitor_;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DStrip.java77 new TreeWizard.Visitor() { in rewrite()
82 new TreeWizard.Visitor() { in rewrite()
96 new TreeWizard.Visitor() { in rewrite()
105 new TreeWizard.Visitor() { in rewrite()
114 new TreeWizard.Visitor() { in rewrite()
121 new TreeWizard.Visitor() { in rewrite()
132 new TreeWizard.Visitor() { in rewrite()
141 new TreeWizard.Visitor() { in rewrite()
151 new TreeWizard.Visitor() { in rewrite()
162 new TreeWizard.Visitor() { in rewrite()
[all …]

12345678910>>...78