Lines Matching refs:pos

48             int pos;
50 pos = iterator.next();
55 stream.println(pos + ": " + instructionString(iterator, pos, pool));
59 public static String instructionString(CodeIterator iter, int pos, ConstPool pool) {
60 int opcode = iter.byteAt(pos);
63 throw new IllegalArgumentException("Invalid opcode, opcode: " + opcode + " pos: "+ pos);
68 return opstring + " " + iter.byteAt(pos + 1);
70 return opstring + " " + iter.s16bitAt(pos + 1);
72 return opstring + " " + ldc(pool, iter.byteAt(pos + 1));
75 return opstring + " " + ldc(pool, iter.u16bitAt(pos + 1));
86 return opstring + " " + iter.byteAt(pos + 1);
103 return opstring + " " + (iter.s16bitAt(pos + 1) + pos);
105 return opstring + " " + iter.byteAt(pos + 1);
108 return opstring + " " + (iter.s16bitAt(pos + 1) + pos);
110 return opstring + " " + iter.byteAt(pos + 1);
112 return tableSwitch(iter, pos);
114 return lookupSwitch(iter, pos);
119 return opstring + " " + fieldInfo(pool, iter.u16bitAt(pos + 1));
123 return opstring + " " + methodInfo(pool, iter.u16bitAt(pos + 1));
125 return opstring + " " + interfaceMethodInfo(pool, iter.u16bitAt(pos + 1));
129 return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1));
131 return opstring + " " + arrayInfo(iter.byteAt(pos + 1));
134 return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1));
136 return wide(iter, pos);
138 return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1));
141 return opstring + " " + (iter.s32bitAt(pos + 1)+ pos);
148 private static String wide(CodeIterator iter, int pos) {
149 int opcode = iter.byteAt(pos + 1);
150 int index = iter.u16bitAt(pos + 2);
223 private static String lookupSwitch(CodeIterator iter, int pos) {
225 int index = (pos & ~3) + 4;
227 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n");
233 int target = iter.s32bitAt(index + 4) + pos;
242 private static String tableSwitch(CodeIterator iter, int pos) {
244 int index = (pos & ~3) + 4;
246 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n");
253 int target = iter.s32bitAt(index) + pos;