Home | History | Annotate | Download | only in classfile

Lines Matching refs:offset

21   int offset;
73 offset = codeStart + cr.readInt(codeStart - 4);
76 debug.debug("attribute %s%n", cr.readUTF8(offset, buf));
77 offset += 6 + cr.readInt(offset + 2);
79 methodEnd = offset;
86 offset = 0;
97 debug.debug("%d visitFieldInsn(%d, %s, %s, %s)%n", offset,
99 offset += 3;
105 debug.debug("%d visitIincInsn(%d, %d)%n", offset, var, increment);
106 offset += 3;
112 debug.debug("%d visitInsn(%d)%n", offset, opcode);
113 ++offset;
119 debug.debug("%d visitIntInsn(%d, %d)%n", offset, opcode, operand);
120 offset += opcode == Opcodes.SIPUSH ? 3 : 2;
127 debug.debug("%d visitInvokeDynamicInsn(%s, %s)%n", offset,
129 offset += 5;
135 debug.debug("%d visitJumpInsn(%d, %s)%n", offset, opcode, label);
137 offset += cr.readByte(codeStart + offset) < 200 ? 3 : 4;
138 assert offset > 0 && methodEnd > codeStart + offset;
144 debug.debug("%d visitLdcInsn(%s)%n", offset, cst);
146 offset += cr.readByte(codeStart + offset) > 18 ? 3 : 2;
147 assert offset > 0 && methodEnd > codeStart + offset;
154 debug.debug("%d visitLookupSwitchInsn(%s)%n", offset,
156 offset += 8 - (offset & 3);
157 offset += 4 + 8 * readInt(offset);
158 assert offset > 0 && methodEnd > codeStart + offset;
165 debug.debug("%d visitMethodInsn(%d, %s, %s, %s)%n", offset,
167 offset += opcode == Opcodes.INVOKEINTERFACE ? 5 : 3;
173 debug.debug("%d visitMultiANewArrayInsn(%s, %d)%n", offset,
175 offset += 4;
182 debug.debug("%d visitTableSwitchInsn(%d, %d, %s)%n", offset,
184 offset += 8 - (offset & 3);
185 offset += 4 * (readInt(offset + 4) - readInt(offset) + 3);
186 assert offset > 0 && methodEnd > codeStart + offset;
192 debug.debug("%d visitTypeInsn(%d, %s)%n", offset, opcode, desc);
193 offset += 3;
199 debug.debug("%d visitVarInsn(%d, %d)%n", offset, opcode, var);
200 offset += var < 4 ? 1 : 2;
210 public int getMethodCodeOffset() { return offset; }
212 public int getBytecodeOffset() { return codeStart + offset; }