/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 89 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare() 100 compare(visitor, oldTree, newTree, null, null, filter) in compare() 103 …fun compare(visitor: ComparisonVisitor, old: MergedCodebase, new: MergedCodebase, filter: Predicat… in compare() 114 compare(visitor, oldTree, newTree, null, null, filter) in compare() 118 visitor: ComparisonVisitor, in compare() 145 visitAdded(new, oldParent, visitor, newTree, filter) in compare() 151 visitRemoved(old, oldTree, visitor, newParent, filter) in compare() 157 visitCompare(visitor, old, new) in compare() 159 visitAdded(new, oldParent, visitor, newTree, filter) in compare() 163 visitRemoved(old, oldTree, visitor, newParent, filter) in compare() [all …]
|
D | ConvertJarsToSignatureFiles.kt | 102 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>()
|
D | AnnotationsDiffer.kt | 78 val visitor = object : ComparisonVisitor() { in <lambda>() constant 107 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>()
|
D | AnnotationsMerger.kt | 249 val visitor = object : ComparisonVisitor() { in <lambda>() constant 311 visitor, externalCodebase, codebase in <lambda>() 320 val visitor = object : ComparisonVisitor() { in <lambda>() constant 341 CodebaseComparator().compare(visitor, externalCodebase, codebase) in <lambda>()
|
D | ApiLint.kt | 169 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 257 override fun accept(visitor: ItemVisitor) { in <lambda>() 258 if (visitor is ApiVisitor) { in <lambda>() 259 accept(visitor) in <lambda>() 263 if (visitor.skip(this)) { in <lambda>() 267 visitor.visitItem(this) in <lambda>() 268 visitor.visitClass(this) in <lambda>() 271 constructor.accept(visitor) in <lambda>() 275 method.accept(visitor) in <lambda>() 279 property.accept(visitor) in <lambda>() 286 field.accept(visitor) in <lambda>() [all …]
|
D | PackageItem.kt | 58 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 …]
|
D | SourceFileItem.kt | 38 override fun accept(visitor: ItemVisitor) { in classes() 39 if (visitor.skip(this)) return in classes() 41 visitor.visitItem(this) in classes() 42 visitor.visitSourceFile(this) in classes() 44 classes().forEach { it.accept(visitor) } in classes() 46 visitor.afterVisitSourceFile(this) in classes() 47 visitor.afterVisitItem(this) in classes() 50 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes() 51 if (visitor.skip(this)) return in acceptTypes() 53 classes().forEach { it.acceptTypes(visitor) } in acceptTypes()
|
D | PropertyItem.kt | 45 override fun accept(visitor: ItemVisitor) { in <lambda>() 46 if (visitor.skip(this)) { in <lambda>() 50 visitor.visitItem(this) in <lambda>() 51 visitor.visitProperty(this) in <lambda>() 53 visitor.afterVisitProperty(this) in <lambda>() 54 visitor.afterVisitItem(this) in <lambda>() 57 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>() 58 if (visitor.skip(this)) { in <lambda>() 63 visitor.visitType(type, this) in <lambda>() 64 visitor.afterVisitType(type, this) in <lambda>()
|
D | ParameterItem.kt | 87 override fun accept(visitor: ItemVisitor) { in name() 88 if (visitor.skip(this)) { in name() 92 visitor.visitItem(this) in name() 93 visitor.visitParameter(this) in name() 95 visitor.afterVisitParameter(this) in name() 96 visitor.afterVisitItem(this) in name() 99 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes() 100 if (visitor.skip(this)) { in acceptTypes() 105 visitor.visitType(type, this) in acceptTypes() 106 visitor.afterVisitType(type, this) in acceptTypes()
|
D | MethodItem.kt | 186 override fun accept(visitor: ItemVisitor) { in <lambda>() 187 if (visitor.skip(this)) { in <lambda>() 191 visitor.visitItem(this) in <lambda>() 193 visitor.visitConstructor(this as ConstructorItem) in <lambda>() 195 visitor.visitMethod(this) in <lambda>() 199 parameter.accept(visitor) in <lambda>() 203 visitor.afterVisitConstructor(this as ConstructorItem) in <lambda>() 205 visitor.afterVisitMethod(this) in <lambda>() 207 visitor.afterVisitItem(this) in <lambda>() 210 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>() [all …]
|
D | FieldItem.kt | 63 override fun accept(visitor: ItemVisitor) { in <lambda>() 64 if (visitor.skip(this)) { in <lambda>() 68 visitor.visitItem(this) in <lambda>() 69 visitor.visitField(this) in <lambda>() 71 visitor.afterVisitField(this) in <lambda>() 72 visitor.afterVisitItem(this) in <lambda>() 75 override fun acceptTypes(visitor: TypeVisitor) { in <lambda>() 76 if (visitor.skip(this)) { in <lambda>() 81 visitor.visitType(type, this) in <lambda>() 82 visitor.afterVisitType(type, this) in <lambda>()
|
D | PackageList.kt | 23 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()
|
D | Codebase.kt | 91 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>()
|
D | Item.kt | 81 fun accept(visitor: ItemVisitor) in isHiddenOrRemoved() 84 fun acceptTypes(visitor: TypeVisitor) in isHiddenOrRemoved()
|
/tools/dexter/slicer/export/slicer/ |
D | code_ir.h | 124 virtual bool Accept(Visitor* visitor) { return false; } in Accept() 138 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 150 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 158 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 166 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 172 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 181 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 195 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 203 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() 211 virtual bool Accept(Visitor* visitor) override { return visitor->Visit(this); } in Accept() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/ |
D | SliceQueries.kt | 170 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/ |
D | instrumentation.cc | 109 BytecodeConvertingVisitor visitor; in Apply() local 110 instr->Accept(&visitor); in Apply() 111 bytecode = visitor.out; in Apply() 395 BytecodeConvertingVisitor visitor; in Apply() local 396 instr->Accept(&visitor); in Apply() 397 auto bytecode = visitor.out; in Apply() 529 BytecodeConvertingVisitor visitor; in Apply() local 530 instr->Accept(&visitor); in Apply() 531 auto bytecode = visitor.out; in Apply() 667 RegsRenumberVisitor visitor(delta); in RegsRenumbering() local [all …]
|
D | tryblocks_encoder.cc | 69 TryBlockEndVisitor visitor; in Encode() local 71 instr->Accept(&visitor); in Encode() 73 int tries_count = visitor.tries_count; in Encode()
|
D | control_flow_graph.cc | 131 BasicBlocksVisitor visitor(model_exceptions); in CreateBasicBlocks() local 133 instr->Accept(&visitor); in CreateBasicBlocks() 135 basic_blocks = visitor.Finish(); in CreateBasicBlocks()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextCodebase.kt | 270 override fun accept(visitor: ItemVisitor) { in accept() 271 getPackages().accept(visitor) in accept() 274 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes() 275 getPackages().acceptTypes(visitor) in acceptTypes() 278 … override fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>?) { in compareWith() 279 CodebaseComparator().compare(visitor, this, other, filter) in compareWith()
|
/tools/dexter/dexter/ |
D | disassembler.cc | 346 PrintCodeIrVisitor visitor(dex_ir_, cfg.get()); in Disassemble() local 347 code_ir.Accept(&visitor); in Disassemble()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 42 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 42 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/ |
D | README.md | 402 Another visitor which helps with implementation is the ComparisonVisitor:
|