Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/dalvik/dx/tests/031-bb-dead-code/
Dblort.j18 .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 …]
Dexpected.txt3 method <init> ()V
6 0001: invokespecial method{java.lang.Object.<init>:()V}
12 method test_deadend1 ()V
18 method test_deadend2 ()V
24 method test_deadend3 ()V
31 method test_dead_exception_handler ()V
37 method test_dead_goto ()V
46 method test_dead_ret ()V
59 method test_dead_tableswitch ()V
69 method test_dead_lookupswitch ()V
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DMethodAnnotationStruct.java31 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 …]
DParameterAnnotationStruct.java34 private final CstMethodRef method; field in ParameterAnnotationStruct
49 public ParameterAnnotationStruct(CstMethodRef method, in ParameterAnnotationStruct() argument
51 if (method == null) { in ParameterAnnotationStruct()
59 this.method = method; in ParameterAnnotationStruct()
83 return method.hashCode(); in hashCode()
92 return method.equals(((ParameterAnnotationStruct) other).method); in equals()
97 return method.compareTo(other.method); in compareTo()
105 methodIds.intern(method); in addContents()
111 int methodIdx = file.getMethodIds().indexOf(method); in writeTo()
115 out.annotate(0, " " + method.toHuman()); in writeTo()
[all …]
DEncodedMethod.java35 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()
89 return method.compareTo(other.method); in compareTo()
101 sb.append(method); in toString()
119 methodIds.intern(method); in addContents()
128 return method.toHuman(); in toHuman()
134 return method.getNat().getName(); in getName()
[all …]
DMethodIdsSection.java98 public synchronized 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/dexgen/src/com/android/dexgen/dex/file/
DMethodAnnotationStruct.java31 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 …]
DParameterAnnotationStruct.java34 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 …]
DEncodedMethod.java36 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 …]
DMethodIdsSection.java98 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/tools/dmtracedump/
DTraceDump.c140 struct MethodEntry *method; member
196 MethodEntry *method; member
300 void initMethodEntry(MethodEntry *method, int64_t methodId, in initMethodEntry() argument
305 method->methodId = methodId; in initMethodEntry()
306 method->className = className; in initMethodEntry()
307 method->methodName = methodName; in initMethodEntry()
308 method->signature = signature; in initMethodEntry()
309 method->fileName = fileName; in initMethodEntry()
310 method->lineNum = (lineNumStr != NULL) ? atoi(lineNumStr) : -1; in initMethodEntry()
311 method->elapsedExclusive = 0; in initMethodEntry()
[all …]
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttEnclosingMethod.java34 private final CstNat method; field in AttEnclosingMethod
43 public AttEnclosingMethod(CstType type, CstNat method) { in AttEnclosingMethod() argument
51 this.method = method; in AttEnclosingMethod()
76 return method; in getMethod()
/dalvik/dx/tests/071-dex-java-stack-ops/
Dblort.j19 .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/src/com/android/dx/cf/code/
DConcreteMethod.java41 private final Method method; field in ConcreteMethod
74 public ConcreteMethod(Method method, ClassFile cf, boolean keepLines, boolean keepLocals) { in ConcreteMethod() argument
75 this(method, cf.getAccessFlags(), cf.getSourceFile(), keepLines, keepLocals); in ConcreteMethod()
78 public ConcreteMethod(Method method, int accessFlags, CstString sourceFile, in ConcreteMethod() argument
80 this.method = method; in ConcreteMethod()
84 AttributeList attribs = method.getAttributes(); in ConcreteMethod()
149 return method.getNat(); in getNat()
154 return method.getName(); in getName()
159 return method.getDescriptor(); in getDescriptor()
164 return method.getAccessFlags(); in getAccessFlags()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DLocalVariableExtractor.java36 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/dx/src/com/android/dx/rop/code/
DLocalVariableExtractor.java28 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/dexgen/src/com/android/dexgen/rop/code/
DLocalVariableExtractor.java28 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/tests/131-perf/
DClassGen.java33 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/069-dex-source-position/
Drun19 --dump-method=Blort.test'*' Blort.class
21 --dump-method=Blort.test'*' Blort.class
23 --dump-method=Blort.test'*' Blort.class
/dalvik/dx/tests/032-bb-live-code/
Dblort.j18 .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/118-find-usages/
Dexpected.txt5 LFoo;.callArrayListRemoveIndex: method reference Ljava/util/ArrayList;.remove(I) (invoke-virtual)
6 LFoo;.callArrayListRemoveValue: method reference Ljava/util/ArrayList;.remove(Ljava/lang/Object;) (…
9 LFoo;.callStringValueOf: method reference Ljava/lang/String;.valueOf(I) (invoke-static)
/dalvik/dx/tests/121-sccp/
Drun18 dx --debug --dex --dump-method=Blort.test'*' Blort.class
20 dx --debug --dex --dump-method=Blort.test'*' Blort.class
/dalvik/dx/tests/109-int-branch/
Dblort.j18 .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
/dalvik/dx/src/com/android/dx/dex/code/
DBlockAddresses.java49 public BlockAddresses(RopMethod method) { in BlockAddresses() argument
50 BasicBlockList blocks = method.getBlocks(); in BlockAddresses()
57 setupArrays(method); in BlockAddresses()
126 private void setupArrays(RopMethod method) { in setupArrays() argument
127 BasicBlockList blocks = method.getBlocks(); in setupArrays()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DBlockAddresses.java49 public BlockAddresses(RopMethod method) { in BlockAddresses() argument
50 BasicBlockList blocks = method.getBlocks(); in BlockAddresses()
57 setupArrays(method); in BlockAddresses()
126 private void setupArrays(RopMethod method) { in setupArrays() argument
127 BasicBlockList blocks = method.getBlocks(); in setupArrays()

12345678910>>...14