Home
last modified time | relevance | path

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

123456

/dalvik/vm/oo/
DClass.h152 void dvmSetNativeFunc(Method* method, DalvikBridgeFunc func, const u2* insns);
157 void dvmSetRegisterMap(Method* method, const RegisterMap* pMap);
165 void dvmMakeCodeReadWrite(Method* meth);
166 void dvmMakeCodeReadOnly(Method* meth);
192 INLINE char* dvmCopyDescriptorStringFromMethod(const Method* method, in dvmCopyDescriptorStringFromMethod()
206 INLINE int dvmComputeMethodArgsSize(const Method* method) in dvmComputeMethodArgsSize()
215 INLINE int dvmCompareMethodProtos(const Method* method1, in dvmCompareMethodProtos()
216 const Method* method2) in dvmCompareMethodProtos()
226 INLINE int dvmCompareMethodParameterProtos(const Method* method1, in dvmCompareMethodParameterProtos()
227 const Method* method2) in dvmCompareMethodParameterProtos()
[all …]
DObject.h33 struct Method;
52 const Method* method, struct Thread* self);
412 Method* directMethods;
416 Method* virtualMethods;
424 Method** vtable;
488 struct Method { struct
589 Method* dvmFindDirectMethodByDescriptor(const ClassObject* clazz, argument
591 Method* dvmFindVirtualMethodByDescriptor(const ClassObject* clazz,
593 Method* dvmFindVirtualMethodByName(const ClassObject* clazz,
595 Method* dvmFindDirectMethod(const ClassObject* clazz, const char* methodName,
[all …]
DObject.cpp208 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 …]
/dalvik/dx/src/com/android/dx/io/
DClassData.java22 private final Method[] directMethods;
23 private final Method[] virtualMethods;
26 Method[] directMethods, Method[] virtualMethods) { in ClassData()
41 public Method[] getDirectMethods() { in getDirectMethods()
45 public Method[] getVirtualMethods() { in getVirtualMethods()
56 public Method[] allMethods() { in allMethods()
57 Method[] result = new Method[directMethods.length + virtualMethods.length]; in allMethods()
81 public static class Method { class in ClassData
86 public Method(int methodIndex, int accessFlags, int codeOffset) { in Method() method in ClassData.Method
/dalvik/vm/analysis/
DVerifySubs.h43 bool dvmComputeCodeWidths(const Method* meth, InsnFlags* insnFlags,
47 bool dvmSetTryFlags(const Method* meth, InsnFlags* insnFlags);
54 void dvmLogVerifyFailure(const Method* meth, const char* format, ...)
62 const Method* meth);
65 bool dvmGetBranchOffset(const Method* meth, const InsnFlags* insnFlags,
72 bool dvmWantVerboseVerification(const Method* meth);
DOptimize.h31 void dvmUpdateCodeUnit(const Method* meth, u2* ptr, u2 newVal);
39 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
41 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx);
DOptimize.cpp34 Method* method;
40 static void optimizeMethod(Method* method, bool essentialOnly);
41 static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc,
43 static void rewriteJumboInstField(Method* method, u2* insns,
45 static void rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc);
46 static void rewriteJumboStaticField(Method* method, u2* insns,
48 static void rewriteVirtualInvoke(Method* method, u2* insns, Opcode newOpc);
49 static bool rewriteInvokeObjectInit(Method* method, u2* insns);
50 static bool rewriteJumboInvokeObjectInit(Method* method, u2* insns);
51 static bool rewriteExecuteInline(Method* method, u2* insns,
[all …]
DVerifySubs.cpp29 bool dvmWantVerboseVerification(const Method* meth) in dvmWantVerboseVerification()
45 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) in dvmLogVerifyFailure()
75 const Method* meth) in dvmLogUnableToResolveClass()
92 bool dvmGetBranchOffset(const Method* meth, const InsnFlags* insnFlags, in dvmGetBranchOffset()
/dalvik/vm/interp/
DStack.h137 const Method* method;
184 bool dvmPushJNIFrame(Thread* thread, const Method* method);
189 bool dvmPushLocalFrame(Thread* thread, const Method* method);
199 void dvmCallMethod(Thread* self, const Method* method, Object* obj,
201 void dvmCallMethodV(Thread* self, const Method* method, Object* obj,
203 void dvmCallMethodA(Thread* self, const Method* method, Object* obj,
218 Object* dvmInvokeMethod(Object* invokeObj, const Method* meth,
227 extern "C" int dvmLineNumFromPC(const Method* method, u4 relPc);
267 void dvmFillStackTraceArray(const void* fp, const Method** array, size_t length);
272 extern "C" void dvmHandleStackOverflow(Thread* self, const Method* method);
DInterp.h41 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult);
49 extern "C" void dvmThrowVerificationError(const Method* method,
63 void dvmAddBreakAddr(Method* method, unsigned int instrOffset);
64 void dvmClearBreakAddr(Method* method, unsigned int instrOffset);
83 extern "C" void dvmReportPreNativeInvoke(const Method* methodToCall, Thread* self, u4* fp);
84 extern "C" void dvmReportPostNativeInvoke(const Method* methodToCall, Thread* self, u4* fp);
85 extern "C" void dvmReportInvoke(Thread* self, const Method* methodToCall);
DInterpDefs.h51 Object* dvmGetThisPtr(const Method* method, const u4* fp);
56 void dvmInterpCheckTrackedRefs(Thread* self, const Method* method,
74 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
75 const Method* method, DvmDex* methodClassDex);
/dalvik/vm/reflect/
DReflect.h69 Method* dvmSlotToMethod(ClassObject* clazz, int slot);
102 ClassObject* dvmGetBoxedReturnType(const Method* meth);
108 Method* dvmGetMethodFromReflectObj(Object* obj);
110 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method);
117 INLINE bool dvmIsReflectionMethod(const Method* method) in dvmIsReflectionMethod()
131 Object* dvmCreateReflectMethodObject(const Method* meth);
140 ArrayObject* dvmGetMethodAnnotations(const Method* method);
142 ArrayObject* dvmGetParameterAnnotations(const Method* method);
148 Object* dvmGetMethodAnnotation(const ClassObject* clazz, const Method* method,
157 bool dvmIsMethodAnnotationPresent(const ClassObject* clazz, const Method* method,
[all …]
DProxy.cpp31 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/mterp/common/
DFindInterface.h29 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache()
30 u4 methodIdx, const Method* method, DvmDex* methodClassDex) in dvmFindInterfaceMethodInCache()
35 return (Method*) ATOMIC_CACHE_LOOKUP(methodClassDex->pInterfaceCache, in dvmFindInterfaceMethodInCache()
/dalvik/dx/junit-tests/com/android/dx/gen/
DDexGeneratorTest.java28 import java.lang.reflect.Method;
180 Method method = generatedClass.getMethod("call", generatedClass); in testInvokeDirect()
213 Method method = generatedClass.getMethod("superHashCode"); in testInvokeSuper()
410 Method method = generatedClass.getMethod("call"); in testReturnType()
416 Method lt = branchingMethod(Comparison.LT); in testBranching()
421 Method le = branchingMethod(Comparison.LE); in testBranching()
426 Method eq = branchingMethod(Comparison.EQ); in testBranching()
431 Method ge = branchingMethod(Comparison.GE); in testBranching()
436 Method gt = branchingMethod(Comparison.GT); in testBranching()
441 Method ne = branchingMethod(Comparison.NE); in testBranching()
[all …]
/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/
DGlobals.h361 Method* methJavaLangClassLoader_getSystemClassLoader;
381 Method* methJavaLangRefReferenceQueueAdd;
384 Method* methJavaLangRefFinalizerReferenceAdd;
387 Method* methJavaLangStackTraceElement_init;
388 Method* methJavaLangReflectConstructor_init;
389 Method* methJavaLangReflectField_init;
390 Method* methJavaLangReflectMethod_init;
391 Method* methOrgApacheHarmonyLangAnnotationAnnotationMember_init;
394 Method*
398 Method* methJavaLangReflectProxy_constructorPrototype;
[all …]
DJniInternal.h107 const Method* method, Thread* self);
109 const Method* method, Thread* self);
114 void dvmUseJNIBridge(Method* method, void* func);
139 const Method* dvmGetCurrentJNIMethod(void);
DProfile.h135 void dvmMethodTraceAdd(struct Thread* self, const Method* method, int action);
136 void dvmEmitEmulatorTrace(const Method* method, int action);
143 extern "C" void dvmFastMethodTraceEnter(const Method* method, struct Thread* self);
145 extern "C" void dvmFastNativeMethodTraceExit(const Method* method, struct Thread* self);
DDvmDex.h30 struct Method;
51 struct Method** pResMethods;
119 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod()
149 struct Method* method) in dvmDexSetResolvedMethod()
/dalvik/vm/native/
Djava_lang_reflect_Method.cpp35 Method* meth; in Dalvik_java_lang_reflect_Method_getMethodModifiers()
58 const Method* meth; in Dalvik_java_lang_reflect_Method_invokeNative()
125 Method* meth; in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations()
146 Method* meth = dvmSlotToMethod(clazz, slot); in Dalvik_java_lang_reflect_Method_getAnnotation()
161 Method* meth = dvmSlotToMethod(clazz, slot); in Dalvik_java_lang_reflect_Method_isAnnotationPresent()
175 Method* meth; in Dalvik_java_lang_reflect_Method_getParameterAnnotations()
197 Method* meth; in Dalvik_java_lang_reflect_Method_getDefaultValue()
221 Method* meth; in Dalvik_java_lang_reflect_Method_getSignatureAnnotation()
Djava_lang_Object.cpp64 const Method* method, Thread* self) in Dalvik_java_lang_Object_notify()
76 const Method* method, Thread* self) in Dalvik_java_lang_Object_notifyAll()
88 const Method* method, Thread* self) in Dalvik_java_lang_Object_wait()
/dalvik/vm/mterp/portable/
Dentry.cpp15 const Method* curMethod; // method we're interpreting
23 const Method* methodToCall;
53 methodToCall = (const Method*) -1;
/dalvik/vm/compiler/codegen/x86/
DAssemble.cpp101 const Method *dvmJitToPatchPredictedChain(const Method *method, in dvmJitToPatchPredictedChain()
/dalvik/tests/032-concrete-sub/src/
DConcreteSub.java17 import java.lang.reflect.Method;
41 Method meth; in main()

123456