Home | History | Annotate | Download | only in instruction

Lines Matching refs:offset

87     protected void readInfo(byte[] code, int offset)
90 offset += -offset & 3;
93 defaultOffset = readInt(code, offset); offset += 4;
94 lowCase = readInt(code, offset); offset += 4;
95 highCase = readInt(code, offset); offset += 4;
102 jumpOffsets[index] = readInt(code, offset); offset += 4;
107 protected void writeInfo(byte[] code, int offset)
110 while ((offset & 3) != 0)
112 writeByte(code, offset++, 0);
116 writeInt(code, offset, defaultOffset); offset += 4;
117 writeInt(code, offset, lowCase); offset += 4;
118 writeInt(code, offset, highCase); offset += 4;
124 writeInt(code, offset, jumpOffsets[index]); offset += 4;
129 public int length(int offset)
131 return 1 + (-(offset+1) & 3) + 12 + (highCase - lowCase + 1) * 4;
135 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor)
137 instructionVisitor.visitTableSwitchInstruction(clazz, method, codeAttribute, offset, this);