Home
last modified time | relevance | path

Searched refs:methodIdx (Results 1 – 23 of 23) sorted by relevance

/dalvik/vm/mterp/common/
DFindInterface.h30 u4 methodIdx, const Method* method, DvmDex* methodClassDex) in dvmFindInterfaceMethodInCache() argument
33 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
36 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
/dalvik/vm/
DDvmDex.h120 u4 methodIdx) in dvmDexGetResolvedMethod() argument
122 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexGetResolvedMethod()
123 return pDvmDex->pResMethods[methodIdx]; in dvmDexGetResolvedMethod()
148 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() argument
151 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexSetResolvedMethod()
152 pDvmDex->pResMethods[methodIdx] = method; in dvmDexSetResolvedMethod()
/dalvik/vm/oo/
DResolve.cpp176 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, in dvmResolveMethod() argument
186 LOGVV("--- resolving method %u (referrer=%s)", methodIdx, in dvmResolveMethod()
188 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmResolveMethod()
231 methodIdx, resClass->descriptor, resMethod->name); in dvmResolveMethod()
276 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmResolveMethod()
287 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx) in dvmResolveInterfaceMethod() argument
295 methodIdx, referrer->descriptor); in dvmResolveInterfaceMethod()
296 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmResolveInterfaceMethod()
352 methodIdx, resClass->descriptor, resMethod->name); in dvmResolveInterfaceMethod()
378 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmResolveInterfaceMethod()
DResolve.h58 extern "C" Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx,
66 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
DClass.cpp2155 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in loadMethodFromDex()
/dalvik/vm/analysis/
DOptimize.cpp754 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx, in dvmOptResolveMethod() argument
764 LOGVV("--- resolving method %u (referrer=%s)", methodIdx, in dvmOptResolveMethod()
767 resMethod = dvmDexGetResolvedMethod(pDvmDex, methodIdx); in dvmOptResolveMethod()
772 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmOptResolveMethod()
854 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmOptResolveMethod()
858 methodIdx, resMethod->clazz->descriptor, resMethod->name); in dvmOptResolveMethod()
892 u2 methodIdx = insns[1]; in rewriteVirtualInvoke() local
894 baseMethod = dvmOptResolveMethod(clazz, methodIdx, METHOD_VIRTUAL, NULL); in rewriteVirtualInvoke()
897 methodIdx, in rewriteVirtualInvoke()
937 u2 methodIdx = insns[1]; in rewriteInvokeObjectInit() local
[all …]
DOptimize.h39 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
41 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DMethodAnnotationStruct.java86 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() local
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
96 out.writeInt(methodIdx); in writeTo()
DEncodedMethod.java161 int methodIdx = file.getMethodIds().indexOf(method); in encode() local
162 int diff = methodIdx - lastIndex; in encode()
182 " method_idx: " + Hex.u4(methodIdx)); in encode()
194 return methodIdx; in encode()
DParameterAnnotationStruct.java110 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() local
115 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
120 out.writeInt(methodIdx); in writeTo()
/dalvik/dx/src/com/android/dx/dex/file/
DMethodAnnotationStruct.java86 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() local
91 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
96 out.writeInt(methodIdx); in writeTo()
DEncodedMethod.java161 int methodIdx = file.getMethodIds().indexOf(method); in encode() local
162 int diff = methodIdx - lastIndex; in encode()
182 " method_idx: " + Hex.u4(methodIdx)); in encode()
194 return methodIdx; in encode()
DParameterAnnotationStruct.java110 int methodIdx = file.getMethodIds().indexOf(method); in writeTo() local
115 out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); in writeTo()
120 out.writeInt(methodIdx); in writeTo()
/dalvik/vm/compiler/codegen/x86/
DNcgHelper.cpp109 u4 methodIdx, const Method* method, DvmDex* methodClassDex) in dvmFindInterfaceMethodInCache2() argument
112 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache2()
115 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache2()
DNcgHelper.h29 u4 methodIdx, const Method* method, DvmDex* methodClassDex);
/dalvik/libdex/
DDexClass.h43 u4 methodIdx; /* index to a method_id_item */ member
158 pMethod->methodIdx = index; in dexReadClassDataMethod()
DDexSwapVerify.cpp241 u4 methodIdx) { in verifyMethodDefiner() argument
242 const DexMethodId* meth = dexGetMethodId(state->pDexFile, methodIdx); in verifyMethodDefiner()
1099 SWAP_INDEX4(item->methodIdx, state->pHeader->methodIdsSize); in swapMethodAnnotations()
1104 } else if (lastIdx >= item->methodIdx) { in swapMethodAnnotations()
1106 item->methodIdx); in swapMethodAnnotations()
1110 lastIdx = item->methodIdx; in swapMethodAnnotations()
1129 SWAP_INDEX4(item->methodIdx, state->pHeader->methodIdsSize); in swapParameterAnnotations()
1134 } else if (lastIdx >= item->methodIdx) { in swapParameterAnnotations()
1136 item->methodIdx); in swapParameterAnnotations()
1140 lastIdx = item->methodIdx; in swapParameterAnnotations()
[all …]
DDexFile.h393 u4 methodIdx; member
401 u4 methodIdx; member
/dalvik/vm/interp/
DInterpDefs.h74 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
DInterp.cpp1221 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx, in dvmInterpFindInterfaceMethod() argument
1232 absMethod = dvmDexGetResolvedMethod(methodClassDex, methodIdx); in dvmInterpFindInterfaceMethod()
1234 absMethod = dvmResolveInterfaceMethod(method->clazz, methodIdx); in dvmInterpFindInterfaceMethod()
/dalvik/vm/reflect/
DAnnotation.cpp230 static Method* resolveAmbiguousMethod(const ClassObject* referrer, u4 methodIdx) in resolveAmbiguousMethod() argument
239 resMethod = dvmDexGetResolvedMethod(referrer->pDvmDex, methodIdx); in resolveAmbiguousMethod()
244 pMethodId = dexGetMethodId(pDexFile, methodIdx); in resolveAmbiguousMethod()
248 ALOGD("resolveAmbiguousMethod: unable to find class %d", methodIdx); in resolveAmbiguousMethod()
1563 static int compareMethodStr(DexFile* pDexFile, u4 methodIdx, in compareMethodStr() argument
1566 const DexMethodId* pMethodId = dexGetMethodId(pDexFile, methodIdx); in compareMethodStr()
1661 u4 methodIdx = getMethodIdx(method); in findAnnotationSetForMethod() local
1666 if (pMethodList[idx].methodIdx == methodIdx) { in findAnnotationSetForMethod()
2149 u4 methodIdx = getMethodIdx(method); in findAnnotationsItemForMethod() local
2154 if (pParameterList[idx].methodIdx == methodIdx) { in findAnnotationsItemForMethod()
/dalvik/dexdump/
DDexDump.cpp619 = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpPositions()
645 = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpLocals()
656 bool getMethodInfo(DexFile* pDexFile, u4 methodIdx, FieldMethodInfo* pMethInfo) in getMethodInfo() argument
660 if (methodIdx >= pDexFile->pHeader->methodIdsSize) in getMethodInfo()
663 pMethodId = dexGetMethodId(pDexFile, methodIdx); in getMethodInfo()
1065 getMethodInfo(pDexFile, pDexMethod->methodIdx, &methInfo); in dumpBytecodes()
1156 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethod()
1586 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethodMap()
/dalvik/dexlist/
DDexList.cpp107 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethod()