/dalvik/dx/tests/031-bb-dead-code/ |
D | blort.j | 18 .method public <init>()V 24 .end method 26 ; dead code after the last reachable instruction in a method 27 .method public test_deadend1()V 30 .end method 32 ; dead code after the last reachable instruction in a method 33 .method public test_deadend2()V 37 .end method 39 ; dead code after the last reachable instruction in a method 40 .method public test_deadend3()V [all …]
|
D | expected.txt | 2 method <init> ()V 5 0001: invokespecial method{java.lang.Object.<init>:()V} 11 method test_deadend1 ()V 17 method test_deadend2 ()V 23 method test_deadend3 ()V 30 method test_dead_exception_handler ()V 36 method test_dead_goto ()V 45 method test_dead_ret ()V 58 method test_dead_tableswitch ()V 68 method test_dead_lookupswitch ()V [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | MethodAnnotationStruct.java | 31 private final CstMethodRef method; field in MethodAnnotationStruct 42 public MethodAnnotationStruct(CstMethodRef method, in MethodAnnotationStruct() argument 44 if (method == null) { in MethodAnnotationStruct() 52 this.method = method; in MethodAnnotationStruct() 58 return method.hashCode(); in hashCode() 67 return method.equals(((MethodAnnotationStruct) other).method); in equals() 72 return method.compareTo(other.method); in compareTo() 80 methodIds.intern(method); in addContents() 86 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() 90 out.annotate(0, " " + method.toHuman()); in writeTo() [all …]
|
D | ParameterAnnotationStruct.java | 34 private final CstMethodRef method; field in ParameterAnnotationStruct 48 public ParameterAnnotationStruct(CstMethodRef method, in ParameterAnnotationStruct() argument 50 if (method == null) { in ParameterAnnotationStruct() 58 this.method = method; in ParameterAnnotationStruct() 82 return method.hashCode(); in hashCode() 91 return method.equals(((ParameterAnnotationStruct) other).method); in equals() 96 return method.compareTo(other.method); in compareTo() 104 methodIds.intern(method); in addContents() 110 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() 114 out.annotate(0, " " + method.toHuman()); in writeTo() [all …]
|
D | EncodedMethod.java | 36 private final CstMethodRef method; field in EncodedMethod 54 public EncodedMethod(CstMethodRef method, int accessFlags, in EncodedMethod() argument 58 if (method == null) { in EncodedMethod() 62 this.method = method; in EncodedMethod() 68 this.code = new CodeItem(method, code, isStatic, throwsList); in EncodedMethod() 90 return method.compareTo(other.method); in compareTo() 102 sb.append(method); in toString() 120 methodIds.intern(method); in addContents() 129 return method.toHuman(); in toHuman() 135 return method.getNat().getName(); in getName() [all …]
|
D | ClassDefItem.java | 297 public void addDirectMethod(EncodedMethod method) { in addDirectMethod() argument 298 classData.addDirectMethod(method); in addDirectMethod() 306 public void addVirtualMethod(EncodedMethod method) { in addVirtualMethod() argument 307 classData.addVirtualMethod(method); in addVirtualMethod() 349 public void addMethodAnnotations(CstMethodRef method, in addMethodAnnotations() argument 351 annotationsDirectory.addMethodAnnotations(method, annotations); in addMethodAnnotations() 360 public void addParameterAnnotations(CstMethodRef method, in addParameterAnnotations() argument 362 annotationsDirectory.addParameterAnnotations(method, list); in addParameterAnnotations() 372 public Annotations getMethodAnnotations(CstMethodRef method) { in getMethodAnnotations() argument 373 return annotationsDirectory.getMethodAnnotations(method); in getMethodAnnotations() [all …]
|
D | MethodIdsSection.java | 98 public MethodIdItem intern(CstBaseMethodRef method) { in intern() argument 99 if (method == null) { in intern() 105 MethodIdItem result = methodIds.get(method); in intern() 108 result = new MethodIdItem(method); in intern() 109 methodIds.put(method, result); in intern()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | MethodAnnotationStruct.java | 31 private final CstMethodRef method; field in MethodAnnotationStruct 42 public MethodAnnotationStruct(CstMethodRef method, in MethodAnnotationStruct() argument 44 if (method == null) { in MethodAnnotationStruct() 52 this.method = method; in MethodAnnotationStruct() 59 return method.hashCode(); in hashCode() 69 return method.equals(((MethodAnnotationStruct) other).method); in equals() 75 return method.compareTo(other.method); in compareTo() 83 methodIds.intern(method); in addContents() 89 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() 93 out.annotate(0, " " + method.toHuman()); in writeTo() [all …]
|
D | ParameterAnnotationStruct.java | 33 private final CstMethodRef method; field in ParameterAnnotationStruct 48 public ParameterAnnotationStruct(CstMethodRef method, in ParameterAnnotationStruct() argument 50 if (method == null) { in ParameterAnnotationStruct() 58 this.method = method; in ParameterAnnotationStruct() 83 return method.hashCode(); in hashCode() 93 return method.equals(((ParameterAnnotationStruct) other).method); in equals() 99 return method.compareTo(other.method); in compareTo() 107 methodIds.intern(method); in addContents() 113 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() 117 out.annotate(0, " " + method.toHuman()); in writeTo() [all …]
|
D | EncodedMethod.java | 35 private final CstMethodRef method; field in EncodedMethod 53 public EncodedMethod(CstMethodRef method, int accessFlags, in EncodedMethod() argument 57 if (method == null) { in EncodedMethod() 61 this.method = method; in EncodedMethod() 67 this.code = new CodeItem(method, code, isStatic, throwsList); in EncodedMethod() 91 return method.compareTo(other.method); in compareTo() 103 sb.append(method); in toString() 121 methodIds.intern(method); in addContents() 131 return method.toHuman(); in toHuman() 137 return method.getNat().getName(); in getName() [all …]
|
D | ClassDefItem.java | 294 public void addDirectMethod(EncodedMethod method) { in addDirectMethod() argument 295 classData.addDirectMethod(method); in addDirectMethod() 303 public void addVirtualMethod(EncodedMethod method) { in addVirtualMethod() argument 304 classData.addVirtualMethod(method); in addVirtualMethod() 349 public void addMethodAnnotations(CstMethodRef method, in addMethodAnnotations() argument 351 annotationsDirectory.addMethodAnnotations(method, annotations, dexFile); in addMethodAnnotations() 361 public void addParameterAnnotations(CstMethodRef method, in addParameterAnnotations() argument 363 annotationsDirectory.addParameterAnnotations(method, list, dexFile); in addParameterAnnotations() 373 public Annotations getMethodAnnotations(CstMethodRef method) { in getMethodAnnotations() argument 374 return annotationsDirectory.getMethodAnnotations(method); in getMethodAnnotations() [all …]
|
D | MethodIdsSection.java | 97 public synchronized MethodIdItem intern(CstBaseMethodRef method) { in intern() argument 98 if (method == null) { in intern() 104 MethodIdItem result = methodIds.get(method); in intern() 107 result = new MethodIdItem(method); in intern() 108 methodIds.put(method, result); in intern()
|
/dalvik/dx/tests/111-use-null-as-array/ |
D | multidimensional.j | 11 .method public static test_getObjectArray()Ljava/lang/Object; 23 .end method 30 .method public static test_setObjectArray()V 43 .end method 51 .method public static test_getBooleanArray()Z 63 .end method 70 .method public static test_setBooleanArray()V 83 .end method 91 .method public static test_getByteArray()B 103 .end method [all …]
|
/dalvik/dx/tests/071-dex-java-stack-ops/ |
D | blort.j | 19 .method public static consume1(I)V 24 .end method 26 .method public static consume2(I)V 31 .end method 33 .method public static consume3(I)V 38 .end method 40 .method public static consume4(I)V 45 .end method 47 .method public static consume5(I)V 52 .end method [all …]
|
/dalvik/dx/tests/142-const-method-handle/ |
D | expected.txt | 1 Trying SDK version 26 with const-method-handle. 2 Trying SDK version 27 with const-method-handle. 3 Trying SDK version 28 with const-method-handle. 5 const-method-handle v0, invoke-instance,method{java.lang.Object.getClass:()Ljava/lang/Class;} 6 const-method-type v0, (CSIJFDLjava/lang/Object;)Z
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | LocalVariableExtractor.java | 36 private final SsaMethod method; field in LocalVariableExtractor 53 public static LocalVariableInfo extract(SsaMethod method) { in extract() argument 54 LocalVariableExtractor lve = new LocalVariableExtractor(method); in extract() 63 private LocalVariableExtractor(SsaMethod method) { in LocalVariableExtractor() argument 64 if (method == null) { in LocalVariableExtractor() 68 ArrayList<SsaBasicBlock> blocks = method.getBlocks(); in LocalVariableExtractor() 70 this.method = method; in LocalVariableExtractor() 72 this.resultInfo = new LocalVariableInfo(method); in LocalVariableExtractor() 84 if (method.getRegCount() > 0 ) { in doit() 85 for (int bi = method.getEntryBlockIndex(); in doit() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | LocalVariableExtractor.java | 28 private final RopMethod method; field in LocalVariableExtractor 45 public static LocalVariableInfo extract(RopMethod method) { in extract() argument 46 LocalVariableExtractor lve = new LocalVariableExtractor(method); in extract() 55 private LocalVariableExtractor(RopMethod method) { in LocalVariableExtractor() argument 56 if (method == null) { in LocalVariableExtractor() 60 BasicBlockList blocks = method.getBlocks(); in LocalVariableExtractor() 63 this.method = method; in LocalVariableExtractor() 65 this.resultInfo = new LocalVariableInfo(method); in LocalVariableExtractor() 75 for (int label = method.getFirstLabel(); in doit()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | LocalVariableExtractor.java | 28 private final RopMethod method; field in LocalVariableExtractor 45 public static LocalVariableInfo extract(RopMethod method) { in extract() argument 46 LocalVariableExtractor lve = new LocalVariableExtractor(method); in extract() 55 private LocalVariableExtractor(RopMethod method) { in LocalVariableExtractor() argument 56 if (method == null) { in LocalVariableExtractor() 60 BasicBlockList blocks = method.getBlocks(); in LocalVariableExtractor() 63 this.method = method; in LocalVariableExtractor() 65 this.resultInfo = new LocalVariableInfo(method); in LocalVariableExtractor() 75 for (int label = method.getFirstLabel(); in doit()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | ConcreteMethod.java | 41 private final Method method; field in ConcreteMethod 65 public ConcreteMethod(Method method, ClassFile classFile, in ConcreteMethod() argument 67 this.method = method; in ConcreteMethod() 70 AttributeList attribs = method.getAttributes(); in ConcreteMethod() 156 return method.getNat(); in getNat() 162 return method.getName(); in getName() 168 return method.getDescriptor(); in getDescriptor() 174 return method.getAccessFlags(); in getAccessFlags() 180 return method.getAttributes(); in getAttributes() 186 return method.getDefiningClass(); in getDefiningClass() [all …]
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
D | AttEnclosingMethod.java | 34 private final CstNat method; field in AttEnclosingMethod 43 public AttEnclosingMethod(CstType type, CstNat method) { in AttEnclosingMethod() argument 51 this.method = method; in AttEnclosingMethod() 77 return method; in getMethod()
|
/dalvik/dx/tests/143-interface-methods/ |
D | expected.txt | 3 …mException: ERROR in InvokeDefault.foo:()V: invoking a default interface method DefaultDefinition.… 6 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… 8 …in InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface method StaticDefinition.p… 11 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi… 14 …mException: ERROR in InvokeDefault.foo:()V: invoking a default interface method DefaultDefinition.… 17 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… 19 …in InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface method StaticDefinition.p… 22 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi… 25 …mException: ERROR in InvokeDefault.foo:()V: invoking a default interface method DefaultDefinition.… 28 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… [all …]
|
/dalvik/dx/tests/137-dexmerger-dex38/ |
D | expected.txt | 21 …000 |0000: invoke-direct {v0}, Ljava/lang/Object;.<init>:()V // method@00b3 48 … |0004: invoke-virtual {v0, v1}, Ljava/io/PrintStream;.println:(Ljava/lang/String;)V // method@00b1 104 …0 |0000: invoke-direct {v1}, Linvokecustom/Super;.<init>:()V // method@00a8 126 …0 |0000: invoke-direct {v3}, Linvokecustom/Super;.<init>:()V // method@00a8 131 … |000a: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00b4 133 … v2}, Ljava/lang/StringBuilder;.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; // method@00ba 135 …voke-virtual {v1, v4}, Ljava/lang/StringBuilder;.append:(I)Ljava/lang/StringBuilder; // method@00b7 138 … v2}, Ljava/lang/StringBuilder;.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; // method@00ba 140 … |001d: invoke-virtual {v1}, Ljava/lang/StringBuilder;.toString:()Ljava/lang/String; // method@00bb 142 … |0021: invoke-virtual {v0, v1}, Ljava/io/PrintStream;.println:(Ljava/lang/String;)V // method@00b1 [all …]
|
/dalvik/dx/tests/032-bb-live-code/ |
D | blort.j | 18 .method public <init>()V 24 .end method 27 .method public test_live_exception([I)V 43 .end method 47 .method public test_dead_exception()V 62 .end method 65 .method public test_ifs()V 115 .end method 118 .method public test_jsr()V 128 .end method [all …]
|
/dalvik/dx/tests/131-perf/ |
D | ClassGen.java | 33 for (int method = 1; method <= methods; method++) { in main() 34 pw.println(" boolean m" + method + "_" + (file%(end/2)) + "() {" in main() 39 + file + ".class + \".method" + method in main()
|
/dalvik/dx/tests/109-int-branch/ |
D | blort.j | 18 .method public static test1(ZBCSI[I)V 50 .end method 52 .method public static test2(I)Ljava/lang/Object; 70 .end method 72 .method public static test3(I[I)Ljava/lang/Object; 99 .end method
|