Lines Matching refs:bytes

216         ByteArray bytes = cf.getBytes();
218 int maxStack = bytes.getUnsignedShort(offset); // u2 max_stack
219 int maxLocals = bytes.getUnsignedShort(offset + 2); // u2 max_locals
220 int codeLength = bytes.getInt(offset + 4); // u4 code_length
224 observer.parsed(bytes, offset, 2,
226 observer.parsed(bytes, offset + 2, 2,
228 observer.parsed(bytes, offset + 4, 4,
243 new BytecodeArray(bytes.slice(codeOffset, codeOffset + codeLength),
250 int exceptionTableLength = bytes.getUnsignedShort(offset);
256 observer.parsed(bytes, offset, 2,
273 int startPc = bytes.getUnsignedShort(offset);
274 int endPc = bytes.getUnsignedShort(offset + 2);
275 int handlerPc = bytes.getUnsignedShort(offset + 4);
276 int catchTypeIdx = bytes.getUnsignedShort(offset + 6);
280 observer.parsed(bytes, offset, 8,
320 ByteArray bytes = cf.getBytes();
322 int idx = bytes.getUnsignedShort(offset);
327 observer.parsed(bytes, offset, 2, "value: " + cst);
354 ByteArray bytes = cf.getBytes();
357 int idx = bytes.getUnsignedShort(offset);
360 idx = bytes.getUnsignedShort(offset + 2);
366 observer.parsed(bytes, offset, 2, "class: " + type);
367 observer.parsed(bytes, offset + 2, 2, "method: " +
383 ByteArray bytes = cf.getBytes();
384 int count = bytes.getUnsignedShort(offset); // number_of_exceptions
387 observer.parsed(bytes, offset, 2,
411 ByteArray bytes = cf.getBytes();
413 int count = bytes.getUnsignedShort(offset); // number_of_classes
416 observer.parsed(bytes, offset, 2,
430 int innerClassIdx = bytes.getUnsignedShort(offset);
431 int outerClassIdx = bytes.getUnsignedShort(offset + 2);
432 int nameIdx = bytes.getUnsignedShort(offset + 4);
433 int accessFlags = bytes.getUnsignedShort(offset + 6);
439 observer.parsed(bytes, offset, 2,
442 observer.parsed(bytes, offset + 2, 2,
445 observer.parsed(bytes, offset + 4, 2,
448 observer.parsed(bytes, offset + 6, 2,
468 ByteArray bytes = cf.getBytes();
469 int count = bytes.getUnsignedShort(offset); // line_number_table_length
472 observer.parsed(bytes, offset, 2,
486 int startPc = bytes.getUnsignedShort(offset);
487 int lineNumber = bytes.getUnsignedShort(offset + 2);
490 observer.parsed(bytes, offset, 4,
509 ByteArray bytes = cf.getBytes();
510 int count = bytes.getUnsignedShort(offset);
513 observer.parsed(bytes, offset, 2,
518 bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
532 ByteArray bytes = cf.getBytes();
533 int count = bytes.getUnsignedShort(offset);
536 observer.parsed(bytes, offset, 2,
541 bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
550 * @param bytes {@code non-null;} bytes to parse, which should <i>only</i>
557 private LocalVariableList parseLocalVariables(ByteArray bytes,
560 if (bytes.size() != (count * 10)) {
565 ByteArray.MyDataInputStream in = bytes.makeDataInputStream();
590 observer.parsed(bytes, i * 10, 10, Hex.u2(startPc) +
681 ByteArray bytes = cf.getBytes();
683 int idx = bytes.getUnsignedShort(offset);
688 observer.parsed(bytes, offset, 2, "signature: " + cst);
703 ByteArray bytes = cf.getBytes();
705 int idx = bytes.getUnsignedShort(offset);
710 observer.parsed(bytes, offset, 2, "source: " + cst);