Lines Matching defs:code
24 import com.android.dx.io.Code;
135 codeOut = dexOut.appendSection(writerSizes.code, "code");
634 * Reads a class_def_item beginning at {@code in} and writes the index and
786 private void transformCode(DexBuffer in, Code code, IndexMap indexMap) {
790 codeOut.writeUnsignedShort(code.getRegistersSize());
791 codeOut.writeUnsignedShort(code.getInsSize());
792 codeOut.writeUnsignedShort(code.getOutsSize());
794 Code.Try[] tries = code.getTries();
798 // code.getDebugInfoOffset();
801 short[] instructions = code.getInstructions();
813 for (Code.Try tryItem : tries) {
818 Code.CatchHandler[] catchHandlers = code.getCatchHandlers();
820 for (Code.CatchHandler catchHandler : catchHandlers) {
826 private void transformEncodedCatchHandler(Code.CatchHandler catchHandler, IndexMap indexMap) {
870 private int code;
893 code = dexMerger.codeOut.used();
919 code += contents.codes.byteCount;
924 // at most 1/4 of the bytes in a code section are uleb/sleb
925 code += (int) Math.ceil(contents.codes.byteCount * 1.25);
935 code = DexBuffer.fourByteAlign(code);
939 return header + idsDefs + mapList + typeList + classData + code + stringData + debugInfo