/dalvik/vm/ |
D | DvmDex.h | 103 u4 methodIdx) in dvmDexGetResolvedMethod() argument 105 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexGetResolvedMethod() 106 return pDvmDex->pResMethods[methodIdx]; in dvmDexGetResolvedMethod() 131 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() argument 134 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexSetResolvedMethod() 135 pDvmDex->pResMethods[methodIdx] = method; in dvmDexSetResolvedMethod() 186 u4 methodIdx) in dvmDexGetResolvedMethod() argument 190 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexGetResolvedMethod() 192 methodIdx = pIndexMap->methodMap[methodIdx]; in dvmDexGetResolvedMethod() 193 if (methodIdx == kNoIndexMapping) in dvmDexGetResolvedMethod() [all …]
|
/dalvik/vm/mterp/common/ |
D | FindInterface.h | 28 u4 methodIdx, const Method* method, DvmDex* methodClassDex) in dvmFindInterfaceMethodInCache() argument 31 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache() 34 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
|
/dalvik/vm/oo/ |
D | Resolve.c | 175 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, in dvmResolveMethod() argument 185 LOGVV("--- resolving method %u (referrer=%s)\n", methodIdx, in dvmResolveMethod() 187 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmResolveMethod() 227 methodIdx, resClass->descriptor, resMethod->name); in dvmResolveMethod() 262 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmResolveMethod() 272 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx) in dvmResolveInterfaceMethod() argument 281 methodIdx, referrer->descriptor); in dvmResolveInterfaceMethod() 282 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmResolveInterfaceMethod() 349 methodIdx, resClass->descriptor, resMethod->name); in dvmResolveInterfaceMethod() 372 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmResolveInterfaceMethod()
|
D | Resolve.h | 57 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 65 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
|
D | Class.c | 2072 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in loadMethodFromDex()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | MethodAnnotationStruct.java | 86 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()
|
D | EncodedMethod.java | 161 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()
|
D | ParameterAnnotationStruct.java | 110 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/analysis/ |
D | DexOptimize.h | 121 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx, 123 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx);
|
D | DexOptimize.c | 1932 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx, in dvmOptResolveMethod() argument 1942 LOGVV("--- resolving method %u (referrer=%s)\n", methodIdx, in dvmOptResolveMethod() 1945 resMethod = dvmDexGetResolvedMethod(pDvmDex, methodIdx); in dvmOptResolveMethod() 1950 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); in dvmOptResolveMethod() 2032 dvmDexSetResolvedMethod(pDvmDex, methodIdx, resMethod); in dvmOptResolveMethod() 2036 methodIdx, resMethod->clazz->descriptor, resMethod->name); in dvmOptResolveMethod() 2070 u2 methodIdx = insns[1]; in rewriteVirtualInvoke() local 2072 baseMethod = dvmOptResolveMethod(clazz, methodIdx, METHOD_VIRTUAL, NULL); in rewriteVirtualInvoke() 2075 methodIdx, in rewriteVirtualInvoke() 2114 u2 methodIdx = insns[1]; in rewriteDirectInvoke() local [all …]
|
D | ReduceConstants.c | 404 u2 methodIdx = *ptr; in markMethod() local 405 if (!dvmSetBit(pResults->usedMethods, methodIdx)) { in markMethod() 406 LOGE("Unable to mark method %d as in-use\n", methodIdx); in markMethod() 628 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in markUsedConstants() 656 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in updateUsedConstants()
|
/dalvik/libdex/ |
D | DexClass.h | 43 u4 methodIdx; /* index to a method_id_item */ member 158 pMethod->methodIdx = index; in dexReadClassDataMethod()
|
D | DexSwapVerify.c | 232 u4 methodIdx) { in verifyMethodDefiner() argument 233 const DexMethodId* meth = dexGetMethodId(state->pDexFile, methodIdx); in verifyMethodDefiner() 1060 SWAP_INDEX4(item->methodIdx, state->pHeader->methodIdsSize); in swapMethodAnnotations() 1065 } else if (lastIdx >= item->methodIdx) { in swapMethodAnnotations() 1067 item->methodIdx); in swapMethodAnnotations() 1071 lastIdx = item->methodIdx; in swapMethodAnnotations() 1090 SWAP_INDEX4(item->methodIdx, state->pHeader->methodIdsSize); in swapParameterAnnotations() 1095 } else if (lastIdx >= item->methodIdx) { in swapParameterAnnotations() 1097 item->methodIdx); in swapParameterAnnotations() 1101 lastIdx = item->methodIdx; in swapParameterAnnotations() [all …]
|
D | DexFile.h | 371 u4 methodIdx; member 379 u4 methodIdx; member
|
/dalvik/vm/reflect/ |
D | Annotation.c | 291 static Method* resolveAmbiguousMethod(const ClassObject* referrer, u4 methodIdx) in resolveAmbiguousMethod() argument 301 resMethod = dvmDexGetResolvedMethod(referrer->pDvmDex, methodIdx); in resolveAmbiguousMethod() 306 pMethodId = dexGetMethodId(pDexFile, methodIdx); in resolveAmbiguousMethod() 310 LOGD("resolveAmbiguousMethod: unable to find class %d\n", methodIdx); in resolveAmbiguousMethod() 1530 static int compareMethodStr(DexFile* pDexFile, u4 methodIdx, in compareMethodStr() argument 1533 const DexMethodId* pMethodId = dexGetMethodId(pDexFile, methodIdx); in compareMethodStr() 1628 u4 methodIdx = getMethodIdx(method); in findAnnotationSetForMethod() local 1633 if (pMethodList[idx].methodIdx == methodIdx) { in findAnnotationSetForMethod() 2056 u4 methodIdx = getMethodIdx(method); in findAnnotationsItemForMethod() local 2061 if (pParameterList[idx].methodIdx == methodIdx) { in findAnnotationsItemForMethod()
|
/dalvik/vm/interp/ |
D | InterpDefs.h | 197 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
|
D | Interp.c | 621 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx, in dvmInterpFindInterfaceMethod() argument 632 absMethod = dvmDexGetResolvedMethod(methodClassDex, methodIdx); in dvmInterpFindInterfaceMethod() 634 absMethod = dvmResolveInterfaceMethod(method->clazz, methodIdx); in dvmInterpFindInterfaceMethod()
|
/dalvik/dexdump/ |
D | DexDump.c | 516 = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpPositions() 542 = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpLocals() 553 bool getMethodInfo(DexFile* pDexFile, u4 methodIdx, FieldMethodInfo* pMethInfo) in getMethodInfo() argument 557 if (methodIdx >= pDexFile->pHeader->methodIdsSize) in getMethodInfo() 560 pMethodId = dexGetMethodId(pDexFile, methodIdx); in getMethodInfo() 928 getMethodInfo(pDexFile, pDexMethod->methodIdx, &methInfo); in dumpBytecodes() 1012 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethod() 1442 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethodMap()
|
/dalvik/dexlist/ |
D | DexList.c | 95 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethod()
|