Home
last modified time | relevance | path

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

12

/dalvik/dx/src/com/android/dx/io/
DCodeReader.java35 public void setAllVisitors(Visitor visitor) { in setAllVisitors() argument
36 fallbackVisitor = visitor; in setAllVisitors()
37 stringVisitor = visitor; in setAllVisitors()
38 typeVisitor = visitor; in setAllVisitors()
39 fieldVisitor = visitor; in setAllVisitors()
40 methodVisitor = visitor; in setAllVisitors()
47 public void setFallbackVisitor(Visitor visitor) { in setFallbackVisitor() argument
48 fallbackVisitor = visitor; in setFallbackVisitor()
54 public void setStringVisitor(Visitor visitor) { in setStringVisitor() argument
55 stringVisitor = visitor; in setStringVisitor()
[all …]
/dalvik/vm/alloc/
DVisitInlines.h23 static void visitFields(Visitor *visitor, Object *obj, void *arg) in visitFields() argument
25 assert(visitor != NULL); in visitFields()
34 (*visitor)(ref, arg); in visitFields()
45 (*visitor)(ref, arg); in visitFields()
54 static void visitStaticFields(Visitor *visitor, ClassObject *clazz, in visitStaticFields() argument
57 assert(visitor != NULL); in visitStaticFields()
62 (*visitor)(&clazz->sfields[i].value.l, arg); in visitStaticFields()
70 static void visitInterfaces(Visitor *visitor, ClassObject *clazz, in visitInterfaces() argument
73 assert(visitor != NULL); in visitInterfaces()
76 (*visitor)(&clazz->interfaces[i], arg); in visitInterfaces()
[all …]
DVisit.cpp25 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg) in dvmVisitObject() argument
27 assert(visitor != NULL); in dvmVisitObject()
30 visitObject(visitor, obj, arg); in dvmVisitObject()
36 static void visitHashTable(RootVisitor *visitor, HashTable *table, in visitHashTable() argument
39 assert(visitor != NULL); in visitHashTable()
45 (*visitor)(&entry->data, 0, type, arg); in visitHashTable()
54 static void visitReferenceTable(RootVisitor *visitor, ReferenceTable *table, in visitReferenceTable() argument
57 assert(visitor != NULL); in visitReferenceTable()
61 (*visitor)(entry, threadId, type, arg); in visitReferenceTable()
68 static void visitIndirectRefTable(RootVisitor *visitor, IndirectRefTable *table, in visitIndirectRefTable() argument
[all …]
DVisit.h54 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg);
59 void dvmVisitRoots(RootVisitor *visitor, void *arg);
/dalvik/dx/src/com/android/dx/cf/code/
DBytecodeArray.java105 public void forEach(Visitor visitor) { in forEach() argument
114 at += parseInstruction(at, visitor); in forEach()
150 public void processWorkSet(int[] workSet, Visitor visitor) { in processWorkSet() argument
151 if (visitor == null) { in processWorkSet()
161 parseInstruction(offset, visitor); in processWorkSet()
162 visitor.setPreviousOffset(offset); in processWorkSet()
216 public int parseInstruction(int offset, Visitor visitor) { in parseInstruction() argument
217 if (visitor == null) { in parseInstruction()
218 visitor = EMPTY_VISITOR; in parseInstruction()
228 visitor.visitNoArgs(opcode, offset, 1, Type.VOID); in parseInstruction()
[all …]
DSimulator.java58 private final SimVisitor visitor; field in Simulator
78 this.visitor = new SimVisitor(); in Simulator()
91 visitor.setFrame(frame); in simulate()
95 int length = code.parseInstruction(off, visitor); in simulate()
96 visitor.setPreviousOffset(off); in simulate()
114 visitor.setFrame(frame); in simulate()
115 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()
DFillArrayDataInsn.java90 public void accept(Visitor visitor) { in accept() argument
91 visitor.visitFillArrayDataInsn(this); in accept()
DSwitchInsn.java70 public void accept(Visitor visitor) { in accept() argument
71 visitor.visitSwitchInsn(this); in accept()
DThrowingCstInsn.java77 public void accept(Visitor visitor) { in accept() argument
78 visitor.visitThrowingCstInsn(this); in accept()
DThrowingInsn.java92 public void accept(Visitor visitor) { in accept() argument
93 visitor.visitThrowingInsn(this); in accept()
DPlainInsn.java79 public void accept(Visitor visitor) { in accept() argument
80 visitor.visitPlainInsn(this); in accept()
DInsn.java213 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()
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()
DThrowingCstInsn.java72 public void accept(Visitor visitor) { in accept() argument
73 visitor.visitThrowingCstInsn(this); in accept()
DFillArrayDataInsn.java90 public void accept(Visitor visitor) { in accept() argument
91 visitor.visitFillArrayDataInsn(this); in accept()
DSwitchInsn.java70 public void accept(Visitor visitor) { in accept() argument
71 visitor.visitSwitchInsn(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.java629 PhiInsn.Visitor visitor = new PhiInsn.Visitor() { in updateSuccessorPhis() local
658 successor.forEachPhiInsn(visitor); in updateSuccessorPhis()

12