Searched defs:oldCode (Results 1 - 2 of 2) sorted by relevance

/external/proguard/src/proguard/optimize/
H A DChangedCodePrinter.java293 byte[] oldCode = new byte[code.length];
296 System.arraycopy(code, 0, oldCode, 0, codeAttribute.u4codeLength);
302 if (codeHasChanged(codeAttribute, oldCode))
304 printChangedCode(clazz, method, codeAttribute, oldCode);
311 private boolean codeHasChanged(CodeAttribute codeAttribute, byte[] oldCode) argument
313 if (oldCode.length != codeAttribute.u4codeLength)
320 if (oldCode[index] != codeAttribute.code[index])
333 byte[] oldCode)
344 (oldCode[index] == codeAttribute.code[index]? " -- ":" => ")+
346 Integer.toHexString(0x100|oldCode[inde
330 printChangedCode(Clazz clazz, Method method, CodeAttribute codeAttribute, byte[] oldCode) argument
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DCodeAttributeEditor.java598 byte[] oldCode = codeAttribute.code;
608 int newLength = mapInstructions(oldCode,
624 oldCode,
634 * @param oldCode the instructions to be moved.
638 private int mapInstructions(byte[] oldCode, int oldLength) argument
648 Instruction instruction = InstructionFactory.create(oldCode, oldOffset);
714 * @param oldCode the original code to be moved.
720 byte[] oldCode,
730 Instruction instruction = InstructionFactory.create(oldCode, oldOffset);
717 moveInstructions(Clazz clazz, Method method, CodeAttribute codeAttribute, byte[] oldCode, int oldLength) argument

Completed in 148 milliseconds