Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/dalvik/dx/src/com/android/dx/cf/attrib/
DAttCode.java19 import com.android.dx.cf.code.ByteCatchList;
20 import com.android.dx.cf.code.BytecodeArray;
38 private final BytecodeArray code; field in AttCode
55 public AttCode(int maxStack, int maxLocals, BytecodeArray code, in AttCode() argument
67 if (code == null) { in AttCode()
91 this.code = code; in AttCode()
97 return 10 + code.byteLength() + catches.byteLength() + in byteLength()
125 return code; in getCode()
/dalvik/dx/tests/031-bb-dead-code/
Dexpected.txt16 dead code 0001..0002
22 dead code 0001..0003
29 dead code 0002..0005
35 dead code 0001..0007
41 dead code 0003..0004
54 dead code 0005..0006
64 dead code 0014..001b
74 dead code 001c..001e
87 dead code 0004..0005
100 dead code 0004..0005
[all …]
Dblort.j26 ; dead code after the last reachable instruction in a method
32 ; dead code after the last reachable instruction in a method
39 ; dead code after the last reachable instruction in a method
60 ; dead code after goto instruction
68 ; dead code after ret instruction
77 ; dead code after tableswitch instruction
93 ; dead code after lookupswitch instruction
104 ; dead code after ireturn instruction
113 ; dead code after lreturn instruction
122 ; dead code after freturn instruction
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DCodeItem.java19 import com.android.dexgen.dex.code.CatchTable;
20 import com.android.dexgen.dex.code.CstInsn;
21 import com.android.dexgen.dex.code.DalvCode;
22 import com.android.dexgen.dex.code.DalvInsn;
23 import com.android.dexgen.dex.code.DalvInsnList;
24 import com.android.dexgen.dex.code.LocalList;
25 import com.android.dexgen.dex.code.PositionList;
55 private final DalvCode code; field in CodeItem
85 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, in CodeItem() argument
93 if (code == null) { in CodeItem()
[all …]
DEncodedMethod.java19 import com.android.dexgen.dex.code.DalvCode;
20 import com.android.dexgen.rop.code.AccessFlags;
42 private final CodeItem code; field in EncodedMethod
55 DalvCode code, TypeList throwsList) { in EncodedMethod() argument
64 if (code == null) { in EncodedMethod()
65 this.code = null; in EncodedMethod()
68 this.code = new CodeItem(method, code, isStatic, throwsList); in EncodedMethod()
104 if (code != null) { in toString()
106 sb.append(code); in toString()
122 if (code != null) { in addContents()
[all …]
DDebugInfoItem.java19 import com.android.dexgen.dex.code.DalvCode;
20 import com.android.dexgen.dex.code.DalvInsnList;
21 import com.android.dexgen.dex.code.LocalList;
22 import com.android.dexgen.dex.code.PositionList;
38 private final DalvCode code; field in DebugInfoItem
45 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument
49 if (code == null) { in DebugInfoItem()
53 this.code = code; in DebugInfoItem()
148 DebugInfoDecoder.validateEncode(result, file, ref, code, in encode()
175 PositionList positions = code.getPositions(); in encode0()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DEncodedMethod.java20 import com.android.dx.dex.code.DalvCode;
21 import com.android.dx.rop.code.AccessFlags;
41 private final CodeItem code; field in EncodedMethod
54 DalvCode code, TypeList throwsList) { in EncodedMethod() argument
63 if (code == null) { in EncodedMethod()
64 this.code = null; in EncodedMethod()
67 this.code = new CodeItem(method, code, isStatic, throwsList); in EncodedMethod()
103 if (code != null) { in toString()
105 sb.append(code); in toString()
121 if (code != null) { in addContents()
[all …]
DCodeItem.java20 import com.android.dx.dex.code.DalvCode;
21 import com.android.dx.dex.code.DalvInsnList;
46 private final DalvCode code; field in CodeItem
76 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, in CodeItem() argument
84 if (code == null) { in CodeItem()
93 this.code = code; in CodeItem()
111 if (code.hasPositions() || code.hasLocals()) { in addContents()
112 debugInfo = new DebugInfoItem(code, isStatic, ref); in addContents()
116 if (code.hasAnyCatches()) { in addContents()
117 for (Type type : code.getCatchTypes()) { in addContents()
[all …]
DDebugInfoItem.java20 import com.android.dx.dex.code.DalvCode;
21 import com.android.dx.dex.code.DalvInsnList;
22 import com.android.dx.dex.code.LocalList;
23 import com.android.dx.dex.code.PositionList;
35 private final DalvCode code; field in DebugInfoItem
42 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument
46 if (code == null) { in DebugInfoItem()
50 this.code = code; in DebugInfoItem()
145 DebugInfoDecoder.validateEncode(result, file, ref, code, in encode()
172 PositionList positions = code.getPositions(); in encode0()
[all …]
/dalvik/dx/tests/099-dex-core-library-error/
Dexpected.txt1 exit code: 1
2 exit code: 1
3 exit code: 0
/dalvik/dx/src/com/android/dx/dex/cf/
DCodeStatistics.java19 import com.android.dx.dex.code.DalvCode;
20 import com.android.dx.rop.code.RopMethod;
91 DalvCode code) { in updateDexStatistics() argument
95 + "/" + code.getInsns().codeSize() in updateDexStatistics()
98 + "/" + code.getInsns().getRegistersSize() in updateDexStatistics()
103 += (code.getInsns().codeSize() in updateDexStatistics()
107 += (code.getInsns().getRegistersSize() in updateDexStatistics()
110 dexRunningTotalInsns += code.getInsns().codeSize(); in updateDexStatistics()
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/
DForm12x.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.HighRegisterPrefix;
21 import com.android.dexgen.dex.code.InsnFormat;
22 import com.android.dexgen.dex.code.SimpleInsn;
23 import com.android.dexgen.rop.code.RegisterSpec;
24 import com.android.dexgen.rop.code.RegisterSpecList;
DSpecialFormat.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.DalvOps;
21 import com.android.dexgen.dex.code.InsnFormat;
DForm11x.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.InsnFormat;
21 import com.android.dexgen.dex.code.SimpleInsn;
22 import com.android.dexgen.rop.code.RegisterSpecList;
DForm10x.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.InsnFormat;
21 import com.android.dexgen.dex.code.SimpleInsn;
DForm32x.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.InsnFormat;
21 import com.android.dexgen.dex.code.SimpleInsn;
22 import com.android.dexgen.rop.code.RegisterSpecList;
DForm22x.java17 package com.android.dexgen.dex.code.form;
19 import com.android.dexgen.dex.code.DalvInsn;
20 import com.android.dexgen.dex.code.InsnFormat;
21 import com.android.dexgen.dex.code.SimpleInsn;
22 import com.android.dexgen.rop.code.RegisterSpecList;
/dalvik/dx/src/com/android/dx/dex/code/form/
DForm10x.java17 package com.android.dx.dex.code.form;
19 import com.android.dx.dex.code.DalvInsn;
20 import com.android.dx.dex.code.InsnFormat;
21 import com.android.dx.dex.code.SimpleInsn;
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DLocalEnd.java17 package com.android.dexgen.dex.code;
19 import com.android.dexgen.rop.code.RegisterSpec;
20 import com.android.dexgen.rop.code.RegisterSpecList;
21 import com.android.dexgen.rop.code.SourcePosition;
DLocalSnapshot.java17 package com.android.dexgen.dex.code;
19 import com.android.dexgen.rop.code.RegisterSpec;
20 import com.android.dexgen.rop.code.RegisterSpecList;
21 import com.android.dexgen.rop.code.RegisterSpecSet;
22 import com.android.dexgen.rop.code.SourcePosition;
DCodeAddress.java17 package com.android.dexgen.dex.code;
19 import com.android.dexgen.rop.code.RegisterSpecList;
20 import com.android.dexgen.rop.code.SourcePosition;
DBlockAddresses.java17 package com.android.dexgen.dex.code;
19 import com.android.dexgen.rop.code.BasicBlock;
20 import com.android.dexgen.rop.code.BasicBlockList;
21 import com.android.dexgen.rop.code.Insn;
22 import com.android.dexgen.rop.code.RopMethod;
23 import com.android.dexgen.rop.code.SourcePosition;
DVariableSizeInsn.java17 package com.android.dexgen.dex.code;
19 import com.android.dexgen.rop.code.RegisterSpecList;
20 import com.android.dexgen.rop.code.SourcePosition;
/dalvik/dx/src/com/android/dx/command/dump/
DBlockDumper.java19 import com.android.dx.cf.code.BasicBlocker;
20 import com.android.dx.cf.code.ByteBlock;
21 import com.android.dx.cf.code.ByteBlockList;
22 import com.android.dx.cf.code.ByteCatchList;
23 import com.android.dx.cf.code.BytecodeArray;
24 import com.android.dx.cf.code.ConcreteMethod;
25 import com.android.dx.cf.code.Ropper;
31 import com.android.dx.rop.code.AccessFlags;
32 import com.android.dx.rop.code.BasicBlock;
33 import com.android.dx.rop.code.BasicBlockList;
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DBlockAddresses.java17 package com.android.dx.dex.code;
19 import com.android.dx.rop.code.BasicBlock;
20 import com.android.dx.rop.code.BasicBlockList;
21 import com.android.dx.rop.code.Insn;
22 import com.android.dx.rop.code.RopMethod;
23 import com.android.dx.rop.code.SourcePosition;

12345678910>>...14