/dalvik/libdex/ |
DexCatch.cpp | 23 /* Get the first handler offset for the given DexCode. 26 u4 dexGetFirstHandlerOffset(const DexCode* pCode) { 39 /* Get count of handler lists for the given DexCode. */ 40 u4 dexGetHandlersSize(const DexCode* pCode) { 86 const DexCode* pCode) {
|
DexDebugInfo.h | 48 const DexCode* pDexCode,
|
DexCatch.h | 35 /* Get the first handler offset for the given DexCode. 38 u4 dexGetFirstHandlerOffset(const DexCode* pCode); 40 /* Get count of handler lists for the given DexCode. */ 41 u4 dexGetHandlersSize(const DexCode* pCode); 83 const DexCode* pCode, u4 offset) 111 const DexCode* pCode); 121 const DexCode* pCode, u4 address) {
|
DexClass.h | 106 * Get the DexCode for a DexMethod. Returns NULL if the class is native 109 DEX_INLINE const DexCode* dexGetCode(const DexFile* pDexFile, 114 return (const DexCode*) (pDexFile->baseAddr + pDexMethod->codeOff);
|
DexDebugInfo.cpp | 143 const DexCode* pCode, 314 const DexCode* pCode,
|
DexFile.h | 420 struct DexCode { 834 /* get the size, in bytes, of a DexCode */ 835 size_t dexGetDexCodeSize(const DexCode* pCode); 837 /* Get the list of "tries" for the given DexCode. */ 838 DEX_INLINE const DexTry* dexGetTries(const DexCode* pCode) { 849 /* Get the base of the encoded data for the given DexCode. */ 850 DEX_INLINE const u1* dexGetCatchHandlerData(const DexCode* pCode) { 857 const DexCode* pCode) [all...] |
/external/r8/src/test/java/com/android/tools/r8/smali/ |
IfSimplificationTest.java | 20 import com.android.tools.r8.graph.DexCode; 56 DexCode code = method.getCode().asDexCode(); 76 DexCode code = method.getCode().asDexCode(); 100 DexCode code = method.getCode().asDexCode(); 124 DexCode code = method.getCode().asDexCode(); 155 DexCode code = method.getCode().asDexCode(); 182 DexCode code = method.getCode().asDexCode(); 200 DexCode code = method.getCode().asDexCode(); 258 DexCode code = method.getCode().asDexCode(); 288 DexCode code = method.getCode().asDexCode() [all...] |
BinopLiteralTest.java | 15 import com.android.tools.r8.graph.DexCode; 64 DexCode code = method.getCode().asDexCode(); 89 DexCode code = method.getCode().asDexCode(); 112 DexCode code = method.getCode().asDexCode();
|
RunArtSmokeTest.java | 15 import com.android.tools.r8.graph.DexCode; 44 DexCode code = main.getCode().asDexCode();
|
SwitchRewritingTest.java | 21 import com.android.tools.r8.graph.DexCode; 89 DexCode code = method.getCode().asDexCode(); 150 DexCode code = method.getCode().asDexCode(); 222 DexCode code = method.getCode().asDexCode(); 291 DexCode code = method.getCode().asDexCode(); 351 DexCode code = method.getCode().asDexCode(); 424 DexCode code = method.getCode().asDexCode();
|
ConstantFoldingTest.java | 16 import com.android.tools.r8.graph.DexCode; 61 DexCode code = method.getCode().asDexCode(); 152 DexCode code = method.getCode().asDexCode(); 171 DexCode code = method.getCode().asDexCode(); 200 DexCode code = method.getCode().asDexCode(); 274 DexCode code = method.getCode().asDexCode(); 338 DexCode code = method.getCode().asDexCode(); 403 DexCode code = method.getCode().asDexCode(); 440 DexCode code = method.getCode().asDexCode(); 466 DexCode code = method.getCode().asDexCode() [all...] |
OutlineTest.java | 24 import com.android.tools.r8.graph.DexCode; 133 DexCode code = method.getCode().asDexCode(); 198 DexCode code = method.getCode().asDexCode(); 261 DexCode code = method.getCode().asDexCode(); 325 DexCode code = method.getCode().asDexCode(); 387 DexCode code = method.getCode().asDexCode(); 461 DexCode code = method.getCode().asDexCode(); 530 DexCode mainCode = mainMethod.getCode().asDexCode(); 626 DexCode code1 = getMethod(processedApplication, signature1).getCode().asDexCode(); 632 DexCode code2 = getMethod(processedApplication, signature2).getCode().asDexCode() [all...] |
/external/r8/src/main/java/com/android/tools/r8/dex/ |
MixedSectionCollection.java | 10 import com.android.tools.r8.graph.DexCode; 62 public abstract boolean add(DexCode dexCode);
|
FileWriter.java | 20 import com.android.tools.r8.graph.DexCode; 21 import com.android.tools.r8.graph.DexCode.Try; 22 import com.android.tools.r8.graph.DexCode.TryHandler; 23 import com.android.tools.r8.graph.DexCode.TryHandler.TypeAddrPair; 159 DexCode code = method.getCode().asDexCode(); 195 List<DexCode> codes = sortDexCodesByClassName(mixedSectionOffsets.getCodes(), application); 328 private List<DexCode> sortDexCodesByClassName(List<DexCode> codes, DexApplication application) { 329 Map<DexCode, String> codeToSignatureMap = new IdentityHashMap<>(); 336 DexCode[] codesArray = codes.toArray(new DexCode[codes.size()]) [all...] |
DexFileReader.java | 23 import com.android.tools.r8.graph.DexCode; 24 import com.android.tools.r8.graph.DexCode.Try; 25 import com.android.tools.r8.graph.DexCode.TryHandler; 26 import com.android.tools.r8.graph.DexCode.TryHandler.TypeAddrPair; 102 private Int2ObjectMap<DexCode> codes = new Int2ObjectOpenHashMap<>(); 136 DexCode code = parseCodeItem(); 580 DexCode code = null; 729 private DexCode parseCodeItem() { 738 DexCode.TryHandler[] handlers = null; 796 return new DexCode( [all...] |
ApplicationWriter.java | 16 import com.android.tools.r8.graph.DexCode; 80 public boolean add(DexCode dexCode) {
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
Code.java | 36 public DexCode asDexCode() {
|
DexCode.java | 28 // DexCode corresponds to code item in dalvik/dex-format.html 29 public class DexCode extends Code { 41 public DexCode( 67 public DexCode asDexCode() { 108 if (other instanceof DexCode) { 109 DexCode o = (DexCode) other;
|
DexEncodedMethod.java | 216 DexCode dexCode = code.asDexCode(); 218 builder.append(dexCode.registerSize); 220 builder.append(dexCode.toSmaliString(naming)); 238 * Generates a {@link DexCode} object for the given instructions. 244 private DexCode generateCodeFromTemplate( 257 return new DexCode(Math.max(numberOfRegisters, requiredArgRegisters), requiredArgRegisters, 258 outRegisters, instructions, new DexCode.Try[0], new DexCode.TryHandler[0], null, null); 263 DexCode code = generateCodeFromTemplate(1, 0, insn) [all...] |
DexDebugEntryBuilder.java | 61 DexCode code = method.getCode().asDexCode();
|
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
DexSourceCode.java | 31 import com.android.tools.r8.graph.DexCode; 32 import com.android.tools.r8.graph.DexCode.Try; 33 import com.android.tools.r8.graph.DexCode.TryHandler; 34 import com.android.tools.r8.graph.DexCode.TryHandler.TypeAddrPair; 52 private final DexCode code; 56 // Mapping from instruction offset to instruction index in the DexCode instruction array. 71 public DexSourceCode(DexCode code, DexEncodedMethod method) {
|
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
InterfaceProcessor.java | 12 import com.android.tools.r8.graph.DexCode; 61 DexCode dexCode = code.asDexCode(); 63 dexCode.setDebugInfo(dexCode.debugInfoWithAdditionalFirstParameter(null)); 64 assert (dexCode.getDebugInfo() == null) 66 == dexCode.getDebugInfo().parameters.length);
|
/external/r8/src/main/java/com/android/tools/r8/optimize/ |
DebugStripper.java | 6 import com.android.tools.r8.graph.DexCode; 116 DexCode code = encodedMethod.getCode().asDexCode();
|
/external/r8/src/test/java/com/android/tools/r8/jasmin/ |
DebugLocalTests.java | 10 import com.android.tools.r8.graph.DexCode; 106 DexCode code = methodSubject.getMethod().getCode().asDexCode();
|
/external/r8/src/test/java/com/android/tools/r8/optimize/ |
R8DebugStrippingTest.java | 15 import com.android.tools.r8.graph.DexCode; 150 DexCode code = method.getMethod().getCode().asDexCode();
|