Lines Matching refs:bytes

42     /** {@code non-null;} underlying bytes */
43 private final ByteArray bytes;
54 * @param bytes {@code non-null;} underlying bytes
58 public BytecodeArray(ByteArray bytes, ConstantPool pool) {
59 if (bytes == null) {
60 throw new NullPointerException("bytes == null");
67 this.bytes = bytes;
77 return bytes;
86 return bytes.size();
90 * Gets the total length of this structure in bytes, when included in
92 * array size plus four bytes for {@code code_length}.
94 * @return {@code >= 4;} the total length, in bytes
97 return 4 + bytes.size();
107 int sz = bytes.size();
127 int sz = bytes.size();
170 * number of bytes consumed by the instruction.
212 * @param offset {@code >= 0, < bytes.size();} offset to the start of the
215 * @return the length of the instruction, in bytes
223 int opcode = bytes.getUnsignedByte(offset);
308 int value = bytes.getByte(offset + 1);
314 int value = bytes.getShort(offset + 1);
320 int idx = bytes.getUnsignedByte(offset + 1);
328 int idx = bytes.getUnsignedShort(offset + 1);
336 int idx = bytes.getUnsignedShort(offset + 1);
342 int idx = bytes.getUnsignedByte(offset + 1);
348 int idx = bytes.getUnsignedByte(offset + 1);
354 int idx = bytes.getUnsignedByte(offset + 1);
360 int idx = bytes.getUnsignedByte(offset + 1);
366 int idx = bytes.getUnsignedByte(offset + 1);
457 int idx = bytes.getUnsignedByte(offset + 1);
463 int idx = bytes.getUnsignedByte(offset + 1);
469 int idx = bytes.getUnsignedByte(offset + 1);
475 int idx = bytes.getUnsignedByte(offset + 1);
481 int idx = bytes.getUnsignedByte(offset + 1);
647 int idx = bytes.getUnsignedByte(offset + 1);
648 int value = bytes.getByte(offset + 2);
704 int target = offset + bytes.getShort(offset + 1);
709 int idx = bytes.getUnsignedByte(offset + 1);
762 int idx = bytes.getUnsignedShort(offset + 1);
768 int idx = bytes.getUnsignedShort(offset + 1);
769 int count = bytes.getUnsignedByte(offset + 3);
770 int expectZero = bytes.getUnsignedByte(offset + 4);
786 int idx = bytes.getUnsignedShort(offset + 1);
787 int dimensions = bytes.getUnsignedByte(offset + 3);
794 int target = offset + bytes.getInt(offset + 1);
821 * @return instruction length, in bytes
829 padding = (padding << 8) | bytes.getUnsignedByte(i);
832 int defaultTarget = offset + bytes.getInt(at);
833 int low = bytes.getInt(at + 4);
834 int high = bytes.getInt(at + 8);
844 int target = offset + bytes.getInt(at);
864 * @return instruction length, in bytes
872 padding = (padding << 8) | bytes.getUnsignedByte(i);
875 int defaultTarget = offset + bytes.getInt(at);
876 int npairs = bytes.getInt(at + 4);
881 int match = bytes.getInt(at);
882 int target = offset + bytes.getInt(at + 4);
902 * @return instruction length, in bytes
905 int value = bytes.getUnsignedByte(offset + 1);
985 int nextByte = bytes.getUnsignedByte(curOffset++);
1014 nextByte = bytes.getUnsignedByte(curOffset++);
1091 * @return instruction length, in bytes
1094 int opcode = bytes.getUnsignedByte(offset + 1);
1095 int idx = bytes.getUnsignedShort(offset + 2);
1153 int value = bytes.getShort(offset + 4);
1174 * @param length length of the instruction, in bytes
1184 * @param length length of the instruction, in bytes
1195 * @param length length of the instruction, in bytes
1223 * @param length length of the instruction, in bytes
1236 * @param length length of the instruction, in bytes
1247 * @param length length of the instruction, in bytes
1250 * @param padding the bytes found in the padding area (if any),
1260 * @param length length of the instruction, in bytes