Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/io/
DCodeReader.java37 public void setAllVisitors(Visitor visitor) { in setAllVisitors() argument
38 fallbackVisitor = visitor; in setAllVisitors()
39 stringVisitor = visitor; in setAllVisitors()
40 typeVisitor = visitor; in setAllVisitors()
41 fieldVisitor = visitor; in setAllVisitors()
42 methodVisitor = visitor; in setAllVisitors()
43 methodAndProtoVisitor = visitor; in setAllVisitors()
44 callSiteVisitor = visitor; in setAllVisitors()
51 public void setFallbackVisitor(Visitor visitor) { in setFallbackVisitor() argument
52 fallbackVisitor = visitor; in setFallbackVisitor()
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DBytecodeArray.java106 public void forEach(Visitor visitor) { in forEach() argument
115 at += parseInstruction(at, visitor); in forEach()
151 public void processWorkSet(int[] workSet, Visitor visitor) { in processWorkSet() argument
152 if (visitor == null) { in processWorkSet()
162 parseInstruction(offset, visitor); in processWorkSet()
163 visitor.setPreviousOffset(offset); in processWorkSet()
217 public int parseInstruction(int offset, Visitor visitor) { in parseInstruction() argument
218 if (visitor == null) { in parseInstruction()
219 visitor = EMPTY_VISITOR; in parseInstruction()
229 visitor.visitNoArgs(opcode, offset, 1, Type.VOID); in parseInstruction()
[all …]
DSimulator.java65 private final SimVisitor visitor; field in Simulator
94 this.visitor = new SimVisitor(); in Simulator()
113 visitor.setFrame(frame); in simulate()
117 int length = code.parseInstruction(off, visitor); in simulate()
118 visitor.setPreviousOffset(off); in simulate()
136 visitor.setFrame(frame); in simulate()
137 return code.parseInstruction(offset, visitor); in simulate()
/dalvik/dx/src/com/android/dx/rop/code/
DBasicBlockList.java93 RegCountVisitor visitor = new RegCountVisitor(); in getRegCount() local
94 forEachInsn(visitor); in getRegCount()
95 regCount = visitor.getRegCount(); in getRegCount()
173 public void forEachInsn(Insn.Visitor visitor) { in forEachInsn() argument
179 insns.forEach(visitor); in forEachInsn()
DInsnList.java72 public void forEach(Insn.Visitor visitor) { in forEach() argument
76 get(i).accept(visitor); in forEach()
DPlainCstInsn.java57 public void accept(Visitor visitor) { in accept() argument
58 visitor.visitPlainCstInsn(this); in accept()
DSwitchInsn.java70 public void accept(Visitor visitor) { in accept() argument
71 visitor.visitSwitchInsn(this); in accept()
DFillArrayDataInsn.java89 public void accept(Visitor visitor) { in accept() argument
90 visitor.visitFillArrayDataInsn(this); in accept()
DThrowingInsn.java92 public void accept(Visitor visitor) { in accept() argument
93 visitor.visitThrowingInsn(this); in accept()
DThrowingCstInsn.java77 public void accept(Visitor visitor) { in accept() argument
78 visitor.visitThrowingCstInsn(this); in accept()
DPlainInsn.java79 public void accept(Visitor visitor) { in accept() argument
80 visitor.visitPlainInsn(this); in accept()
DInvokePolymorphicInsn.java105 public void accept(Visitor visitor) { in accept() argument
106 visitor.visitInvokePolymorphicInsn(this); in accept()
DInsn.java214 public abstract void accept(Visitor visitor); in accept() argument
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DBasicBlockList.java93 RegCountVisitor visitor = new RegCountVisitor(); in getRegCount() local
94 forEachInsn(visitor); in getRegCount()
95 regCount = visitor.getRegCount(); in getRegCount()
174 public void forEachInsn(Insn.Visitor visitor) { in forEachInsn() argument
180 insns.forEach(visitor); in forEachInsn()
DPlainCstInsn.java57 public void accept(Visitor visitor) { in accept() argument
58 visitor.visitPlainCstInsn(this); in accept()
DInsnList.java72 public void forEach(Insn.Visitor visitor) { in forEach() argument
76 get(i).accept(visitor); in forEach()
DThrowingCstInsn.java72 public void accept(Visitor visitor) { in accept() argument
73 visitor.visitThrowingCstInsn(this); in accept()
DSwitchInsn.java70 public void accept(Visitor visitor) { in accept() argument
71 visitor.visitSwitchInsn(this); in accept()
DFillArrayDataInsn.java90 public void accept(Visitor visitor) { in accept() argument
91 visitor.visitFillArrayDataInsn(this); in accept()
DThrowingInsn.java92 public void accept(Visitor visitor) { in accept() argument
93 visitor.visitThrowingInsn(this); in accept()
DPlainInsn.java78 public void accept(Visitor visitor) { in accept() argument
79 visitor.visitPlainInsn(this); in accept()
DInsn.java215 public abstract void accept(Visitor visitor); in accept() argument
/dalvik/dx/src/com/android/dx/ssa/
DSsaRenamer.java633 PhiInsn.Visitor visitor = new PhiInsn.Visitor() { in updateSuccessorPhis() local
663 successor.forEachPhiInsn(visitor); in updateSuccessorPhis()
DSsaMethod.java709 public void forEachInsn(SsaInsn.Visitor visitor) { in forEachInsn() argument
711 block.forEachInsn(visitor); in forEachInsn()
DSsaBasicBlock.java963 public void forEachInsn(SsaInsn.Visitor visitor) { in forEachInsn() argument
968 insns.get(i).accept(visitor); in forEachInsn()