Searched refs:method (Results 76 - 100 of 353) sorted by relevance

1234567891011>>

/dalvik/vm/analysis/
H A DOptimize.cpp30 * Virtual/direct calls to "method" are replaced with an execute-inline
34 Method* method; member in struct:InlineSub
40 static void optimizeMethod(Method* method, bool essentialOnly);
41 static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc,
43 static void rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc);
44 static void rewriteVirtualInvoke(Method* method, u2* insns, Opcode newOpc);
45 static bool rewriteInvokeObjectInit(Method* method, u2* insns);
46 static bool rewriteExecuteInline(Method* method, u2* insns,
48 static bool rewriteExecuteInlineRange(Method* method, u2* insns,
50 static void rewriteReturnVoid(Method* method, u
76 Method* method = dvmFindInlinableMethod(ops[i].classDescriptor, local
146 optimizeMethod(Method* method, bool essentialOnly) argument
677 rewriteInstField(Method* method, u2* insns, Opcode quickOpc, Opcode volatileOpc) argument
717 rewriteStaticField0(Method* method, u2* insns, Opcode volatileOpc, u4 fieldIdx) argument
741 rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc) argument
888 rewriteVirtualInvoke(Method* method, u2* insns, Opcode newOpc) argument
933 rewriteInvokeObjectInit(Method* method, u2* insns) argument
1050 rewriteExecuteInline(Method* method, u2* insns, MethodType methodType) argument
1101 rewriteExecuteInlineRange(Method* method, u2* insns, MethodType methodType) argument
1144 needsReturnBarrier(Method* method) argument
1183 rewriteReturnVoid(Method* method, u2* insns) argument
[all...]
/dalvik/tools/dmtracedump/
H A DTraceDump.c140 struct MethodEntry *method; member in struct:TimedMethod
159 * Entry from the method list.
177 int graphState; /* used when graphing to see if this method has been visited before */
196 MethodEntry *method; member in struct:StackEntry
300 void initMethodEntry(MethodEntry *method, unsigned int methodId, argument
305 method->methodId = methodId;
306 method->className = className;
307 method->methodName = methodName;
308 method->signature = signature;
309 method
1202 MethodEntry* method; local
1402 printInclusiveMethod(MethodEntry *method, TimedMethod *list, int numCalls, int flags) argument
1481 countRecursiveEntries(CallStack *pStack, int top, MethodEntry *method) argument
1497 MethodEntry *method = pStack->calls[ii].method; local
1534 MethodEntry* method; local
1623 createLabels(FILE* file, MethodEntry* method) argument
1643 createLinks(FILE* file, MethodEntry* method) argument
1695 MethodEntry* method; local
1896 MethodEntry* method; local
2132 MethodEntry* method; local
2297 MethodEntry* method; local
2550 MethodEntry* method = methods[i]; local
2598 printMissingMethod(MethodEntry* method) argument
[all...]
/dalvik/vm/
H A DAllocTracker.cpp57 /* stack trace elements; unused entries have method==NULL */
59 const Method* method; /* which method we're executing in */ member in struct:AllocRecord::__anon15
156 const Method* method = saveArea->method; local
159 pRec->stackElem[stackDepth].method = method;
160 if (dvmIsNativeMethod(method)) {
163 assert(saveArea->xtra.currentPc >= method->insns &&
165 method
303 getMethodSourceFile(const Method* method) argument
342 const Method* method = pRec->stackElem[i].method; local
416 const Method* method = pRec->stackElem[i].method; local
628 const Method* method = pRec->stackElem[i].method; local
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableExtractor.java29 * a method. Stolen and retrofitted from
36 /** {@code non-null;} method being extracted from */
37 private final SsaMethod method; field in class:LocalVariableExtractor
39 /** {@code non-null;} block list for the method */
49 * Extracts out all the local variable information from the given method.
51 * @param method {@code non-null;} the method to extract from
54 public static LocalVariableInfo extract(SsaMethod method) { argument
55 LocalVariableExtractor lve = new LocalVariableExtractor(method);
60 * Constructs an instance. This method i
64 LocalVariableExtractor(SsaMethod method) argument
[all...]
/dalvik/vm/reflect/
H A DReflect.h54 * Get the named method.
99 * Return the class object that matches the method's signature. For
110 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method);
113 * Quick test to determine if the method in question is a reflection call.
114 * Used for some stack parsing. Currently defined as "the method's declaring
117 INLINE bool dvmIsReflectionMethod(const Method* method) argument
119 return (method->clazz == gDvm.classJavaLangReflectMethod);
134 * Return an array of Annotation objects for the specified piece. For method
140 ArrayObject* dvmGetMethodAnnotations(const Method* method);
142 ArrayObject* dvmGetParameterAnnotations(const Method* method);
[all...]
/dalvik/tools/
H A Ddeadcode.py45 """Spin through the 'method code index' section and extract all
46 method signatures. When found, they are added to a result list."""
49 # |[abcd] com/example/app/Class.method:(args)return
50 # capturing the method signature
57 # Look for a method name
63 # Add the captured signature to the method list
67 def CallsMethod(codes, method):
68 """Spin through all the input method signatures. For each one, return
69 whether or not there is method invokation line in the codes section that
70 lists the method a
[all...]
/dalvik/vm/mterp/armv5te/
H A DOP_INVOKE_INTERFACE.S3 %verify "unknown method"
6 * Handle an interface method call.
21 ldr r2, [rSELF, #offThread_method] @ r2<- method
24 bl dvmFindInterfaceMethodInCache @ r0<- call(class, ref, method, dex)
27 b common_invokeMethod${routine} @ (r0=method, r9="this")
H A DOP_INVOKE_SUPER_QUICK.S3 %verify "unknown method"
5 * Handle an optimized "super" method call.
12 ldr r2, [rSELF, #offThread_method] @ r2<- current method
17 ldr r2, [r2, #offMethod_clazz] @ r2<- method->clazz
19 ldr r2, [r2, #offClassObject_super] @ r2<- method->clazz->super
25 bl common_invokeMethod${routine} @ (r0=method, r9="this")
H A DOP_INVOKE_STATIC.S3 %verify "unknown method"
5 * Handle a static method call.
27 ldr r3, [rSELF, #offThread_method] @ r3<- self->method
28 ldr r0, [r3, #offMethod_clazz] @ r0<- method->clazz
29 mov r2, #METHOD_STATIC @ resolver method type
41 beq common_invokeMethod${routine} @ no (r0=method, r9="this")
42 ldr r1, [r10] @ reload resolved method
44 bne common_invokeMethod${routine} @ yes (r0=method, r9="this")
45 mov r10, r0 @ preserve method
52 bne common_invokeMethod${routine} @ (r0=method, r
[all...]
/dalvik/vm/mterp/mips/
H A DOP_INVOKE_INTERFACE.S3 %verify "unknown method"
6 * Handle an interface method call.
20 LOAD_rSELF_method(a2) # a2 <- method
24 JAL(dvmFindInterfaceMethodInCache) # v0 <- call(class, ref, method, dex)
28 b common_invokeMethod${routine} # (a0=method, rOBJ="this")
H A DOP_INVOKE_INTERFACE_JUMBO.S3 %verify "unknown method"
6 * Handle an interface method call.
17 LOAD_rSELF_method(a2) # a2 <- method
21 JAL(dvmFindInterfaceMethodInCache) # v0 <- call(class, ref, method, dex)
25 b common_invokeMethodJumbo # (a0=method, rOBJ="this")
H A DOP_INVOKE_STATIC_JUMBO.S2 %verify "unknown method"
4 * Handle a static method call.
20 bnez a0, common_invokeMethodJumboNoThis # (a0 = method)
25 LOAD_rSELF_method(a3) # a3 <- self->method
26 LOAD_base_offMethod_clazz(a0, a3) # a0 <- method->clazz
27 li a2, METHOD_STATIC # resolver method type
39 beqz a2, common_invokeMethodJumboNoThis # no, (a0=method, rOBJ="this")
40 lw a1, 0(rBIX) # reload resolved method
42 bnez a1, common_invokeMethodJumboNoThis # yes, (a0=method, rOBJ="this")
43 move rBIX, a0 # preserve method
[all...]
H A DOP_INVOKE_SUPER_QUICK.S3 %verify "unknown method"
5 * Handle an optimized "super" method call.
12 LOAD_rSELF_method(a2) # a2 <- current method
17 LOAD_base_offMethod_clazz(a2, a2) # a2 <- method->clazz
19 LOAD_base_offClassObject_super(a2, a2) # a2 <- method->clazz->super
25 b common_invokeMethod${routine} # (a0=method, rOBJ="this")
H A DOP_THROW_VERIFICATION_ERROR.S9 LOAD_rSELF_method(a0) # a0 <- self->method
H A DOP_INVOKE_STATIC.S3 %verify "unknown method"
5 * Handle a static method call.
26 LOAD_rSELF_method(a3) # a3 <- self->method
27 LOAD_base_offMethod_clazz(a0, a3) # a0 <- method->clazz
28 li a2, METHOD_STATIC # resolver method type
40 beqz a2, common_invokeMethod${routine} # no, (a0=method, rOBJ="this")
41 lw a1, 0(rBIX) # reload resolved method
43 bnez a1, common_invokeMethod${routine} # yes, (a0=method, rOBJ="this")
44 move rBIX, a0 # preserve method
52 bnez v0, common_invokeMethod${routine} # (a0=method, rOB
[all...]
H A DOP_INVOKE_SUPER_JUMBO.S2 %verify "unknown method"
4 * Handle a "super" method call.
17 LOAD_rSELF_method(t1) # t1 <- current method
20 LOAD_base_offMethod_clazz(rBIX, t1) # rBIX <- method->clazz
24 move a0, rBIX # a0 <- method->clazz
25 li a2, METHOD_VIRTUAL # resolver method type
35 * a0 = resolved base method
36 * rBIX = method->clazz
39 LOAD_base_offClassObject_super(a1, rBIX) # a1 <- method->clazz->super
44 bgeu a2, a3, .L${opcode}_nsm # method no
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DMethodIdItem.java22 * Representation of a method reference inside a Dalvik file.
28 * @param method {@code non-null;} the constant for the method
30 public MethodIdItem(CstBaseMethodRef method) { argument
31 super(method);
50 * Gets the method constant.
/dalvik/dx/src/com/android/dx/dex/file/
H A DMethodIdItem.java22 * Representation of a method reference inside a Dalvik file.
28 * @param method {@code non-null;} the constant for the method
30 public MethodIdItem(CstBaseMethodRef method) { argument
31 super(method);
50 * Gets the method constant.
/dalvik/dx/tests/110-dex-preserve-this/
H A Drun19 --dump-to=dump.txt --dump-method="Blort.test" *.class
/dalvik/hit/src/com/android/hit/
H A DStackFrame.java32 public StackFrame(long id, String method, String sig, String file, argument
35 mMethodName = method;
46 case COMPILED_METHOD: return "Compiled method";
47 case NATIVE_METHOD: return "Native method";
/dalvik/vm/mterp/x86/
H A DOP_INVOKE_SUPER.S3 %verify "unknown method"
5 * Handle a "super" method call.
17 movl offThread_method(rINST),%eax # eax<- method
26 movl offMethod_clazz(%eax),%eax # eax<- method->clazz
31 * ecx = resolved base method [r0]
32 * eax = method->clazz [r9]
35 movl offClassObject_super(%eax),%eax # eax<- method->clazz->super
38 jae .L${opcode}_nsm # method not present in superclass
47 * ecx = null (needs to be resolved base method)
48 * eax = method
[all...]
/dalvik/dx/tests/120-disable-extended-ops/
H A Drun25 --dump-method=Blort.test Blort.class | grep "iget/jumbo" | wc -l`
32 --dump-method=Blort.test Blort.class | grep "iget/jumbo" | wc -l`
/dalvik/vm/interp/
H A DInterp.h40 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult);
46 * instruction. "method" is the method currently being executed.
48 extern "C" void dvmThrowVerificationError(const Method* method,
62 void dvmAddBreakAddr(Method* method, unsigned int instrOffset);
63 void dvmClearBreakAddr(Method* method, unsigned int instrOffset);
/dalvik/vm/oo/
H A DAccessCheck.h29 * Determine whether the "accessFrom" class is allowed to get at "method".
31 bool dvmCheckMethodAccess(const ClassObject* accessFrom, const Method* method);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DBlockAddresses.java27 * the blocks of a particular method. Each block has a corresponding
47 * @param method {@code non-null;} the method to have block addresses for
49 public BlockAddresses(RopMethod method) { argument
50 BasicBlockList blocks = method.getBlocks();
57 setupArrays(method);
126 private void setupArrays(RopMethod method) { argument
127 BasicBlockList blocks = method.getBlocks();

Completed in 584 milliseconds

1234567891011>>