/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) in compare() 104 visitor: ComparisonVisitor, in compare() 129 visitAdded(new, oldParent, visitor, newTree) in compare() 133 visitRemoved(visitor, old, newParent) in compare() 136 visitCompare(visitor, old, new) in compare() 139 … compare(visitor, oldTree.children, newTree.children, newTree.item(), oldTree.item()) in compare() 148 visitRemoved(visitor, oldList[index1++].item(), newParent) in compare() 157 visitAdded(new, oldParent, visitor, newTree) in compare() 168 visitor: ComparisonVisitor, in visitAdded() [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 | 81 val visitor = object : ComparisonVisitor() { in <lambda>() constant 110 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>()
|
D | AnnotationsMerger.kt | 249 val visitor = object : ComparisonVisitor() { in mergeQualifierAnnotationsFromCodebase() constant 307 visitor, externalCodebase, codebase, ApiPredicate() in mergeQualifierAnnotationsFromCodebase() 314 val visitor = object : ComparisonVisitor() { in mergeInclusionAnnotationsFromCodebase() constant 335 CodebaseComparator().compare(visitor, externalCodebase, codebase) in mergeInclusionAnnotationsFromCodebase()
|
D | ApiLint.kt | 151 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 238 override fun accept(visitor: ItemVisitor) { in <lambda>() 239 if (visitor is ApiVisitor) { in <lambda>() 240 accept(visitor) in <lambda>() 244 if (visitor.skip(this)) { in <lambda>() 248 visitor.visitItem(this) in <lambda>() 249 visitor.visitClass(this) in <lambda>() 252 constructor.accept(visitor) in <lambda>() 256 method.accept(visitor) in <lambda>() 260 property.accept(visitor) in <lambda>() 267 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 | PropertyItem.kt | 26 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>()
|
D | ParameterItem.kt | 70 override fun accept(visitor: ItemVisitor) { in name() 71 if (visitor.skip(this)) { in name() 75 visitor.visitItem(this) in name() 76 visitor.visitParameter(this) in name() 78 visitor.afterVisitParameter(this) in name() 79 visitor.afterVisitItem(this) in name() 82 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes() 83 if (visitor.skip(this)) { in acceptTypes() 88 visitor.visitType(type, this) in acceptTypes() 89 visitor.afterVisitType(type, this) in acceptTypes()
|
D | MethodItem.kt | 178 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 …]
|
D | FieldItem.kt | 59 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>()
|
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 | 90 fun accept(visitor: ItemVisitor) { in <lambda>() 91 getPackages().accept(visitor) in <lambda>() 94 fun acceptTypes(visitor: TypeVisitor) { in <lambda>() 95 getPackages().acceptTypes(visitor) in <lambda>() 102 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>() 103 CodebaseComparator().compare(visitor, other, this, filter) in <lambda>()
|
D | Item.kt | 78 fun accept(visitor: ItemVisitor) in isHiddenOrRemoved() 81 fun acceptTypes(visitor: TypeVisitor) in isHiddenOrRemoved()
|
/tools/dexter/slicer/export/slicer/ |
D | code_ir.h | 122 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/ |
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 | 76 BytecodeConvertingVisitor visitor; in Apply() local 77 instr->Accept(&visitor); in Apply() 78 auto bytecode = visitor.out; in Apply() 113 BytecodeConvertingVisitor visitor; in Apply() local 114 instr->Accept(&visitor); in Apply() 115 auto bytecode = visitor.out; in Apply() 182 BytecodeConvertingVisitor visitor; in Apply() local 183 instr->Accept(&visitor); in Apply() 184 auto bytecode = visitor.out; in Apply() 320 RegsRenumberVisitor visitor(delta); in RegsRenumbering() local [all …]
|
D | tryblocks_encoder.cc | 70 TryBlockEndVisitor visitor; in Encode() local 72 instr->Accept(&visitor); in Encode() 74 int tries_count = visitor.tries_count; in Encode()
|
D | control_flow_graph.cc | 132 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/doclava1/ |
D | TextCodebase.kt | 279 override fun accept(visitor: ItemVisitor) { in accept() 280 getPackages().accept(visitor) in accept() 283 override fun acceptTypes(visitor: TypeVisitor) { in acceptTypes() 284 getPackages().acceptTypes(visitor) in acceptTypes() 287 … override fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>?) { in compareWith() 288 CodebaseComparator().compare(visitor, this, other, filter) in compareWith()
|
/tools/dexter/dexter/ |
D | dissasembler.cc | 339 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/ |
D | PsiTypePrinterTest.kt | 39 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 45 import org.jetbrains.uast.visitor.AbstractUastVisitor in <lambda>()
|
/tools/metalava/ |
D | README.md | 398 Another visitor which helps with implementation is the ComparisonVisitor:
|