Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt90 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare()
101 compare(visitor, oldTree, newTree, null, null, filter) in compare()
104 …fun compare(visitor: ComparisonVisitor, old: MergedCodebase, new: MergedCodebase, filter: Predicat… in compare()
115 compare(visitor, oldTree, newTree, null, null, filter) in compare()
119 visitor: ComparisonVisitor, in compare()
146 visitAdded(new, oldParent, visitor, newTree, filter) in compare()
152 visitRemoved(old, oldTree, visitor, newParent, filter) in compare()
158 visitCompare(visitor, old, new) in compare()
160 visitAdded(new, oldParent, visitor, newTree, filter) in compare()
164 visitRemoved(old, oldTree, visitor, newParent, filter) in compare()
[all …]
DConvertJarsToSignatureFiles.kt102 val visitor = object : ComparisonVisitor() { in <lambda>() constant
113 CodebaseComparator().compare(visitor, oldCodebase, jarCodebase, null) in <lambda>()
124 val visitor = object : ComparisonVisitor() { in <lambda>() constant
132 CodebaseComparator().compare(visitor, oldCodebase, jarCodebase, null) in <lambda>()
DAnnotationsDiffer.kt78 val visitor = object : ComparisonVisitor() { in <lambda>() constant
107 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>()
DAnnotationsMerger.kt249 val visitor = object : ComparisonVisitor() { in mergeQualifierAnnotationsFromCodebase() constant
311 visitor, externalCodebase, codebase in mergeQualifierAnnotationsFromCodebase()
320 val visitor = object : ComparisonVisitor() { in mergeInclusionAnnotationsFromCodebase() constant
341 CodebaseComparator().compare(visitor, externalCodebase, codebase) in mergeInclusionAnnotationsFromCodebase()
DApiLint.kt166 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt244 override fun accept(visitor: ItemVisitor) { in <lambda>()
245 if (visitor is ApiVisitor) { in <lambda>()
246 accept(visitor) in <lambda>()
250 if (visitor.skip(this)) { in <lambda>()
254 visitor.visitItem(this) in <lambda>()
255 visitor.visitClass(this) in <lambda>()
258 constructor.accept(visitor) in <lambda>()
262 method.accept(visitor) in <lambda>()
266 property.accept(visitor) in <lambda>()
273 field.accept(visitor) in <lambda>()
[all …]
DPackageItem.kt58 override fun accept(visitor: ItemVisitor) { in <lambda>()
59 if (visitor.skipEmptyPackages && empty()) { in <lambda>()
63 if (visitor is ApiVisitor) { in <lambda>()
75 it.accept(visitor) in <lambda>()
78 if (visitor.visitingPackage) { in <lambda>()
79 visitor.visitingPackage = false in <lambda>()
80 visitor.afterVisitPackage(this) in <lambda>()
81 visitor.afterVisitItem(this) in <lambda>()
87 if (visitor.skip(this)) { in <lambda>()
91 visitor.visitItem(this) in <lambda>()
[all …]
DPropertyItem.kt26 override fun accept(visitor: ItemVisitor) { in <lambda>()
27 if (visitor.skip(this)) { in <lambda>()
31 visitor.visitItem(this) in <lambda>()
32 visitor.visitProperty(this) in <lambda>()
34 visitor.afterVisitProperty(this) in <lambda>()
35 visitor.afterVisitItem(this) in <lambda>()
38 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>()
39 if (visitor.skip(this)) { in <lambda>()
44 visitor.visitType(type, this) in <lambda>()
45 visitor.afterVisitType(type, this) in <lambda>()
DParameterItem.kt83 override fun accept(visitor: ItemVisitor) { in name()
84 if (visitor.skip(this)) { in name()
88 visitor.visitItem(this) in name()
89 visitor.visitParameter(this) in name()
91 visitor.afterVisitParameter(this) in name()
92 visitor.afterVisitItem(this) in name()
95 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes()
96 if (visitor.skip(this)) { in acceptTypes()
101 visitor.visitType(type, this) in acceptTypes()
102 visitor.afterVisitType(type, this) in acceptTypes()
DMethodItem.kt178 override fun accept(visitor: ItemVisitor) { in <lambda>()
179 if (visitor.skip(this)) { in <lambda>()
183 visitor.visitItem(this) in <lambda>()
185 visitor.visitConstructor(this as ConstructorItem) in <lambda>()
187 visitor.visitMethod(this) in <lambda>()
191 parameter.accept(visitor) in <lambda>()
195 visitor.afterVisitConstructor(this as ConstructorItem) in <lambda>()
197 visitor.afterVisitMethod(this) in <lambda>()
199 visitor.afterVisitItem(this) in <lambda>()
202 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>()
[all …]
DFieldItem.kt59 override fun accept(visitor: ItemVisitor) { in <lambda>()
60 if (visitor.skip(this)) { in <lambda>()
64 visitor.visitItem(this) in <lambda>()
65 visitor.visitField(this) in <lambda>()
67 visitor.afterVisitField(this) in <lambda>()
68 visitor.afterVisitItem(this) in <lambda>()
71 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>()
72 if (visitor.skip(this)) { in <lambda>()
77 visitor.visitType(type, this) in <lambda>()
78 visitor.afterVisitType(type, this) in <lambda>()
DPackageList.kt23 fun accept(visitor: ItemVisitor) { in accept()
24 visitor.visitCodebase(codebase) in accept()
26 it.accept(visitor) in accept()
28 visitor.afterVisitCodebase(codebase) in accept()
31 fun acceptTypes(visitor: TypeVisitor) { in acceptTypes()
33 it.acceptTypes(visitor) in acceptTypes()
DCodebase.kt91 fun accept(visitor: ItemVisitor) { in <lambda>()
92 getPackages().accept(visitor) in <lambda>()
95 fun acceptTypes(visitor: TypeVisitor) { in <lambda>()
96 getPackages().acceptTypes(visitor) in <lambda>()
103 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>()
104 CodebaseComparator().compare(visitor, other, this, filter) in <lambda>()
DItem.kt80 fun accept(visitor: ItemVisitor) in isHiddenOrRemoved()
83 fun acceptTypes(visitor: TypeVisitor) in isHiddenOrRemoved()
/tools/dexter/slicer/export/slicer/
Dcode_ir.h122 virtual bool Accept(Visitor* visitor) { return false; } in Accept()
136 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
148 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
156 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
164 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
170 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
179 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
193 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
201 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
209 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/
DSliceQueries.kt170 fun Model.traverseSlices(visitor: SliceTraverser) { in traverseSlices()
171 this.processes.values.forEach { it.traverseSlices(visitor) } in traverseSlices()
181 fun ProcessModel.traverseSlices(visitor: SliceTraverser) { in ProcessModel()
183 visitor.beginSlice(it) in ProcessModel()
184 visitor.endSlice(it) in ProcessModel()
187 this.threads.forEach { it.traverseSlices(visitor) } in ProcessModel()
197 fun ThreadModel.traverseSlices(visitor: SliceTraverser) { in traverseSlices()
198 this.slices.traverseSlices(visitor) in traverseSlices()
208 fun List<SliceGroup>.traverseSlices(visitor: SliceTraverser) { in traverseSlices()
210 val action = visitor.beginSlice(it) in traverseSlices()
[all …]
/tools/dexter/slicer/
Dinstrumentation.cc105 BytecodeConvertingVisitor visitor; in Apply() local
106 instr->Accept(&visitor); in Apply()
107 bytecode = visitor.out; in Apply()
386 BytecodeConvertingVisitor visitor; in Apply() local
387 instr->Accept(&visitor); in Apply()
388 auto bytecode = visitor.out; in Apply()
517 BytecodeConvertingVisitor visitor; in Apply() local
518 instr->Accept(&visitor); in Apply()
519 auto bytecode = visitor.out; in Apply()
655 RegsRenumberVisitor visitor(delta); in RegsRenumbering() local
[all …]
Dtryblocks_encoder.cc70 TryBlockEndVisitor visitor; in Encode() local
72 instr->Accept(&visitor); in Encode()
74 int tries_count = visitor.tries_count; in Encode()
Dcontrol_flow_graph.cc132 BasicBlocksVisitor visitor(model_exceptions); in CreateBasicBlocks() local
134 instr->Accept(&visitor); in CreateBasicBlocks()
136 basic_blocks = visitor.Finish(); in CreateBasicBlocks()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt271 override fun accept(visitor: ItemVisitor) { in accept()
272 getPackages().accept(visitor) in accept()
275 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes()
276 getPackages().acceptTypes(visitor) in acceptTypes()
279 … override fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>?) { in compareWith()
280 CodebaseComparator().compare(visitor, this, other, filter) in compareWith()
/tools/dexter/dexter/
Ddissasembler.cc339 PrintCodeIrVisitor visitor(dex_ir_, cfg.get()); in Dissasemble() local
340 code_ir.Accept(&visitor); in Dissasemble()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt39 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt47 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
/tools/metalava/
DREADME.md401 Another visitor which helps with implementation is the ComparisonVisitor: