Searched defs:visitor (Results 1 - 15 of 15) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/code/
H A DInsnList.java70 * @param visitor {@code non-null;} visitor to use
72 public void forEach(Insn.Visitor visitor) { argument
76 get(i).accept(visitor);
H A DPlainCstInsn.java57 public void accept(Visitor visitor) { argument
58 visitor.visitPlainCstInsn(this);
H A DPlainInsn.java78 public void accept(Visitor visitor) { argument
79 visitor.visitPlainInsn(this);
H A DFillArrayDataInsn.java90 public void accept(Visitor visitor) { argument
91 visitor.visitFillArrayDataInsn(this);
H A DSwitchInsn.java70 public void accept(Visitor visitor) { argument
71 visitor.visitSwitchInsn(this);
H A DThrowingCstInsn.java72 public void accept(Visitor visitor) { argument
73 visitor.visitThrowingCstInsn(this);
H A DThrowingInsn.java92 public void accept(Visitor visitor) { argument
93 visitor.visitThrowingInsn(this);
H A DBasicBlockList.java93 RegCountVisitor visitor = new RegCountVisitor();
94 forEachInsn(visitor);
95 regCount = visitor.getRegCount();
172 * @param visitor {@code non-null;} visitor to use
174 public void forEachInsn(Insn.Visitor visitor) { argument
180 insns.forEach(visitor);
312 * Instruction visitor class for counting registers used.
H A DInsn.java210 * Calls the appropriate method on the given visitor, depending on the
213 * @param visitor {@code non-null;} the visitor to call on
215 public abstract void accept(Visitor visitor); argument
/dalvik/vm/alloc/
H A DVisit.c26 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg) argument
28 assert(visitor != NULL);
31 visitObject(visitor, obj, arg);
37 static void visitHashTable(Visitor *visitor, HashTable *table, void *arg) argument
41 assert(visitor != NULL);
47 (*visitor)(&entry->data, arg);
56 static void visitReferenceTable(Visitor *visitor, const ReferenceTable *table, argument
61 assert(visitor != NULL);
65 (*visitor)(entry, arg);
73 static void visitLargeHeapRefTable(Visitor *visitor, LargeHeapRefTabl argument
85 visitThreadStack(Visitor *visitor, Thread *thread, void *arg) argument
155 visitThread(Visitor *visitor, Thread *thread, void *arg) argument
172 visitThreads(Visitor *visitor, void *arg) argument
189 dvmVisitRoots(Visitor *visitor, void *arg) argument
[all...]
H A DVisitInlines.h23 static void visitFields(Visitor *visitor, Object *obj, void *arg) argument
25 assert(visitor != NULL);
34 (*visitor)(ref, arg);
45 (*visitor)(ref, arg);
54 static void visitStaticFields(Visitor *visitor, ClassObject *clazz, argument
59 assert(visitor != NULL);
64 (*visitor)(&clazz->sfields[i].value.l, arg);
72 static void visitInterfaces(Visitor *visitor, ClassObject *clazz, argument
77 assert(visitor != NULL);
80 (*visitor)(
87 visitClassObject(Visitor *visitor, Object *obj, void *arg) argument
117 visitArrayObject(Visitor *visitor, Object *obj, void *arg) argument
137 visitDataObject(Visitor *visitor, Object *obj, void *arg) argument
150 visitReferenceObject(Visitor *visitor, Object *obj, void *arg) argument
164 visitObject(Visitor *visitor, Object *obj, void *arg) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBytecodeArray.java99 * @param visitor {@code null-ok;} visitor to call back to for each instruction
101 public void forEach(Visitor visitor) { argument
110 at += parseInstruction(at, visitor);
139 * work set is empty. It is expected that the visitor will regularly
143 * @param visitor {@code non-null;} visitor to call back to for each instruction
145 public void processWorkSet(int[] workSet, Visitor visitor) { argument
146 if (visitor == null) {
147 throw new NullPointerException("visitor
211 parseInstruction(int offset, Visitor visitor) argument
806 parseTableswitch(int offset, Visitor visitor) argument
849 parseLookupswitch(int offset, Visitor visitor) argument
887 parseNewarray(int offset, Visitor visitor) argument
1070 parseWide(int offset, Visitor visitor) argument
[all...]
H A DSimulator.java61 /** {@code non-null;} visitor instance to use */
62 private final SimVisitor visitor; field in class:Simulator
82 this.visitor = new SimVisitor();
95 visitor.setFrame(frame);
99 int length = code.parseInstruction(off, visitor);
100 visitor.setPreviousOffset(off);
118 visitor.setFrame(frame);
119 return code.parseInstruction(offset, visitor);
132 * Bytecode visitor used during simulation.
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaMethod.java725 * @param visitor {@code non-null;} callback interface
727 public void forEachInsn(SsaInsn.Visitor visitor) { argument
729 block.forEachInsn(visitor);
746 * Walks the basic block tree in depth-first order, calling the visitor
H A DSsaBasicBlock.java983 * @param visitor {@code non-null;} callback interface
985 public void forEachInsn(SsaInsn.Visitor visitor) { argument
990 insns.get(i).accept(visitor);

Completed in 118 milliseconds