Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 135) sorted by relevance

123456

/dalvik/vm/oo/
DClass.h145 void dvmSetNativeFunc(Method* method, DalvikBridgeFunc func, const u2* insns);
150 void dvmSetRegisterMap(Method* method, const RegisterMap* pMap);
158 void dvmMakeCodeReadWrite(Method* meth);
159 void dvmMakeCodeReadOnly(Method* meth);
189 INLINE char* dvmCopyDescriptorStringFromMethod(const Method* method, in dvmCopyDescriptorStringFromMethod()
203 INLINE int dvmComputeMethodArgsSize(const Method* method) in dvmComputeMethodArgsSize()
212 INLINE int dvmCompareMethodProtos(const Method* method1, in dvmCompareMethodProtos()
213 const Method* method2) in dvmCompareMethodProtos()
223 INLINE int dvmCompareMethodParameterProtos(const Method* method1, in dvmCompareMethodParameterProtos()
224 const Method* method2) in dvmCompareMethodParameterProtos()
[all …]
DObject.h34 struct Method;
46 typedef struct Method Method; typedef
65 const Method* method, struct Thread* self);
451 Method* directMethods;
455 Method* virtualMethods;
463 Method** vtable;
527 struct Method { struct
605 Method* dvmFindDirectMethodByDescriptor(const ClassObject* clazz, argument
607 Method* dvmFindVirtualMethodByDescriptor(const ClassObject* clazz,
609 Method* dvmFindVirtualMethodByName(const ClassObject* clazz,
[all …]
DObject.c208 static inline int compareMethodHelper(Method* method, const char* methodName, in compareMethodHelper()
365 static Method* findMethodInListByDescriptor(const ClassObject* clazz, in findMethodInListByDescriptor()
387 Method* methods; in findMethodInListByDescriptor()
400 Method* method = &methods[i]; in findMethodInListByDescriptor()
425 static Method* findMethodInListByProto(const ClassObject* clazz, in findMethodInListByProto()
436 Method* method = &clazz->virtualMethods[i]; in findMethodInListByProto()
444 Method* method = &clazz->directMethods[i]; in findMethodInListByProto()
468 Method* dvmFindVirtualMethodByDescriptor(const ClassObject* clazz, in dvmFindVirtualMethodByDescriptor()
489 Method* dvmFindVirtualMethodByName(const ClassObject* clazz, in dvmFindVirtualMethodByName()
492 Method* methods = clazz->virtualMethods; in dvmFindVirtualMethodByName()
[all …]
DResolve.h57 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx,
65 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
/dalvik/vm/analysis/
DVerifySubs.h43 bool dvmComputeCodeWidths(const Method* meth, InsnFlags* insnFlags,
47 bool dvmSetTryFlags(const Method* meth, InsnFlags* insnFlags);
50 bool dvmCheckSwitchTargets(const Method* meth, InsnFlags* insnFlags,
54 bool dvmCheckBranchTarget(const Method* meth, InsnFlags* insnFlags,
62 void dvmLogVerifyFailure(const Method* meth, const char* format, ...)
70 const Method* meth);
73 bool dvmGetBranchTarget(const Method* meth, InsnFlags* insnFlags,
DOptimize.h40 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
42 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx);
DOptimize.c33 Method* method;
39 static void optimizeMethod(Method* method, bool essentialOnly);
40 static bool rewriteInstField(Method* method, u2* insns, OpCode quickOpc,
42 static bool rewriteStaticField(Method* method, u2* insns, OpCode volatileOpc);
43 static bool rewriteVirtualInvoke(Method* method, u2* insns, OpCode newOpc);
44 static bool rewriteEmptyDirectInvoke(Method* method, u2* insns);
45 static bool rewriteExecuteInline(Method* method, u2* insns,
47 static bool rewriteExecuteInlineRange(Method* method, u2* insns,
62 Method* method; in dvmCreateInlineSubsTable()
169 static void optimizeMethod(Method* method, bool essentialOnly) in optimizeMethod()
[all …]
DDexVerify.c26 static bool verifyMethod(Method* meth);
118 static bool verifyMethod(Method* meth) in verifyMethod()
230 static bool checkArrayData(const Method* meth, int curOffset) in checkArrayData()
285 static void decodeInstruction(const Method* meth, int insnIdx, in decodeInstruction()
298 static bool checkNewInstance(const Method* meth, int insnIdx) in checkNewInstance()
328 static bool checkNewArray(const Method* meth, int insnIdx) in checkNewArray()
369 static bool checkTypeIndex(const Method* meth, int insnIdx, bool useB) in checkTypeIndex()
393 static bool checkFieldIndex(const Method* meth, int insnIdx, bool useB) in checkFieldIndex()
418 static bool checkMethodIndex(const Method* meth, int insnIdx) in checkMethodIndex()
437 static bool checkStringIndex(const Method* meth, int insnIdx) in checkStringIndex()
[all …]
/dalvik/vm/reflect/
DReflect.h63 Method* dvmSlotToMethod(ClassObject* clazz, int slot);
96 ClassObject* dvmGetBoxedReturnType(const Method* meth);
102 Method* dvmGetMethodFromReflectObj(Object* obj);
104 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method);
111 INLINE bool dvmIsReflectionMethod(const Method* method) in dvmIsReflectionMethod()
125 Object* dvmCreateReflectMethodObject(const Method* meth);
134 ArrayObject* dvmGetMethodAnnotations(const Method* method);
136 ArrayObject* dvmGetParameterAnnotations(const Method* method);
141 Object* dvmGetAnnotationDefaultValue(const Method* method);
147 ArrayObject* dvmGetMethodThrows(const Method* method);
[all …]
DProxy.c31 static bool returnTypesAreCompatible(Method* baseMethod, Method* subMethod);
32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\
34 static int copyWithoutDuplicates(Method** allMethods, int allCount,
35 Method** outMethods, ArrayObject* throws);
36 static bool createExceptionClassList(const Method* method,
38 static void updateExceptionClassList(const Method* method, PointerSet* throws);
39 static void createConstructor(ClassObject* clazz, Method* meth);
40 static void createHandlerMethod(ClassObject* clazz, Method* dstMeth,
41 const Method* srcMeth);
43 const Method* method, Thread* self);
[all …]
/dalvik/vm/interp/
DStack.h139 const Method* method;
190 bool dvmPushJNIFrame(Thread* thread, const Method* method);
195 bool dvmPushLocalFrame(Thread* thread, const Method* method);
205 void dvmCallMethod(Thread* self, const Method* method, Object* obj,
207 void dvmCallMethodV(Thread* self, const Method* method, Object* obj,
209 void dvmCallMethodA(Thread* self, const Method* method, Object* obj,
224 Object* dvmInvokeMethod(Object* invokeObj, const Method* meth,
233 int dvmLineNumFromPC(const Method* method, u4 relPc);
273 bool dvmCreateStackTraceArray(const void* fp, const Method*** pArray,
279 void dvmHandleStackOverflow(Thread* self, const Method* method);
DInterp.h27 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult);
35 void dvmThrowVerificationError(const Method* method, int kind, int ref);
47 void dvmAddBreakAddr(Method* method, unsigned int instrOffset);
48 void dvmClearBreakAddr(Method* method, unsigned int instrOffset);
DInterpDefs.h111 const Method* method; // method being executed
204 Object* dvmGetThisPtr(const Method* method, const u4* fp);
209 void dvmInterpCheckTrackedRefs(Thread* self, const Method* method,
227 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
228 const Method* method, DvmDex* methodClassDex);
/dalvik/vm/
DJniInternal.h129 const Method* method, Thread* self);
131 const Method* method, Thread* self);
133 const Method* method, Thread* self);
135 const Method* method, Thread* self);
137 const Method* method, Thread* self);
139 const Method* method, Thread* self);
141 const Method* method, Thread* self);
143 const Method* method, Thread* self);
148 void dvmUseJNIBridge(Method* method, void* func);
180 const Method* dvmGetCurrentJNIMethod(void);
DGlobals.h297 Method* methJavaLangRefReference_enqueueInternal;
305 Method* methJavaSecurityAccessController_doPrivileged[4];
308 Method* methJavaLangStackTraceElement_init;
309 Method* methJavaLangExceptionInInitializerError_init;
310 Method* methJavaLangRefPhantomReference_init;
311 Method* methJavaLangReflectConstructor_init;
312 Method* methJavaLangReflectField_init;
313 Method* methJavaLangReflectMethod_init;
314 Method* methOrgApacheHarmonyLangAnnotationAnnotationMember_init;
317 Method*
[all …]
DProfile.h45 Method* gcMethod;
46 Method* classPrepMethod;
158 void dvmMethodTraceAdd(struct Thread* self, const Method* method, int action);
159 void dvmEmitEmulatorTrace(const Method* method, int action);
DNative.h80 const Method* method, struct Thread* self);
118 void dvmLogNativeMethodEntry(const Method* method, const u4* newFp);
119 void dvmLogNativeMethodExit(const Method* method, struct Thread* self,
DDvmDex.h30 struct Method;
51 struct Method** pResMethods;
118 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod()
148 struct Method* method) in dvmDexSetResolvedMethod()
/dalvik/vm/mterp/common/
DFindInterface.h27 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache()
28 u4 methodIdx, const Method* method, DvmDex* methodClassDex) in dvmFindInterfaceMethodInCache()
33 return (Method*) ATOMIC_CACHE_LOOKUP(methodClassDex->pInterfaceCache, in dvmFindInterfaceMethodInCache()
/dalvik/dx/src/com/android/dx/cf/iface/
DStdMethodList.java36 public Method get(int n) { in get()
37 return (Method) get0(n); in get()
46 public void set(int n, Method method) { in set()
/dalvik/vm/native/
Djava_lang_reflect_Method.c36 Method* meth; in Dalvik_java_lang_reflect_Method_getMethodModifiers()
59 const Method* meth; in Dalvik_java_lang_reflect_Method_invokeNative()
127 Method* meth; in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations()
148 Method* meth; in Dalvik_java_lang_reflect_Method_getParameterAnnotations()
170 Method* meth; in Dalvik_java_lang_reflect_Method_getDefaultValue()
195 Method* meth; in Dalvik_java_lang_reflect_Method_getSignatureAnnotation()
Djava_lang_reflect_Constructor.c33 Method* meth; in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers()
59 Method* meth; in Dalvik_java_lang_reflect_Constructor_constructNative()
100 Method* meth; in Dalvik_java_lang_reflect_Constructor_getDeclaredAnnotations()
121 Method* meth; in Dalvik_java_lang_reflect_Constructor_getParameterAnnotations()
142 Method* meth; in Dalvik_java_lang_reflect_Constructor_getSignatureAnnotation()
Djava_lang_Object.c65 const Method* method, Thread* self) in Dalvik_java_lang_Object_notify()
77 const Method* method, Thread* self) in Dalvik_java_lang_Object_notifyAll()
89 const Method* method, Thread* self) in Dalvik_java_lang_Object_wait()
/dalvik/tests/032-concrete-sub/src/
DConcreteSub.java17 import java.lang.reflect.Method;
41 Method meth; in main()
/dalvik/tests/084-old-style-inner-class/src/
DMain.java17 import java.lang.reflect.Method;
37 private static String nameOf(Method meth) { in nameOf()

123456