Lines Matching refs:meth
46 const Method* meth);
607 static bool writeMapForMethod(const Method* meth, u1** pPtr) in writeMapForMethod() argument
609 if (meth->registerMap == NULL) { in writeMapForMethod()
610 if (!dvmIsAbstractMethod(meth) && !dvmIsNativeMethod(meth)) { in writeMapForMethod()
612 meth->clazz->descriptor, meth->name); in writeMapForMethod()
620 size_t mapSize = computeRegisterMapSize(meth->registerMap); in writeMapForMethod()
621 memcpy(*pPtr, meth->registerMap, mapSize); in writeMapForMethod()
624 assert(**pPtr == meth->registerMap->format); in writeMapForMethod()
668 const Method* meth = &clazz->directMethods[i]; in writeMapsAllMethods() local
669 if (dvmIsMirandaMethod(meth)) in writeMapsAllMethods()
679 const Method* meth = &clazz->virtualMethods[i]; in writeMapsAllMethods() local
680 if (dvmIsMirandaMethod(meth)) in writeMapsAllMethods()
1442 const Method* meth) in compressMapDifferential() argument
1452 strcmp(meth->clazz->descriptor, "Landroid/text/StaticLayout;") == 0 && in compressMapDifferential()
1453 strcmp(meth->name, "generate") == 0) in compressMapDifferential()
1476 meth->clazz->descriptor, meth->name, in compressMapDifferential()
1634 meth->clazz->descriptor, meth->name); in compressMapDifferential()
1654 newMapSize, origSize, meth->clazz->descriptor, meth->name); in compressMapDifferential()
1970 const Method* meth = pState->method;
1973 const u2* insns = meth->insns;
1978 if (!dvmComputeCodeWidths(meth, pState->insnFlags, NULL))
1982 if (!dvmSetTryFlags(meth, pState->insnFlags))
2005 if (!dvmCheckBranchTarget(meth, insnFlags, offset, true))
2009 if (!dvmCheckSwitchTargets(meth, insnFlags, offset))
2028 RegisterMap* dvmGenerateRegisterMap(const Method* meth)
2043 pState->method = meth;
2044 pState->insnsSize = dvmGetMethodInsnsSize(meth);
2045 pState->insnRegCountPlus = meth->registersSize + kExtraRegs;
2060 LOG_VFY_METH(meth, "Found do-nothing method\n");
2144 const Method* meth = pState->method;
2145 int argReg = meth->registersSize - meth->insSize; /* first arg */
2153 if (!dvmIsStaticMethod(meth)) {
2157 ccp = meth->shorty +1; /* skip first byte, which holds return type */
2196 assert(pCurReg - pRegs == meth->insSize);
2233 const Method* meth = pState->method;
2255 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype);
2257 meth->clazz->descriptor, meth->name, desc,
2258 meth->insSize, meth->registersSize);
2315 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype);
2317 meth->clazz->descriptor, meth->name, desc);
2347 static Method* getInvokedMethod(const Method* meth,
2358 resMethod = dvmOptResolveInterfaceMethod(meth->clazz, pDecInsn->vB);
2360 resMethod = dvmOptResolveMethod(meth->clazz, pDecInsn->vB, methodType);
2364 DexFile* pDexFile = meth->clazz->pDvmDex->pDexFile;
2391 static SRegType getMethodReturnType(const Method* meth)
2395 switch (meth->shorty[0]) {
2471 const Method* meth = pState->method;
2472 const u2* insns = meth->insns + insnIdx;
2780 calledMethod = getInvokedMethod(meth, &decInsn, METHOD_VIRTUAL);
2793 calledMethod = getInvokedMethod(meth, &decInsn, METHOD_DIRECT);
2806 calledMethod = getInvokedMethod(meth, &decInsn, METHOD_STATIC);
2819 absMethod = getInvokedMethod(meth, &decInsn, METHOD_INTERFACE);
3095 dvmGetBranchTarget(meth, insnFlags, insnIdx, &branchTarget,
3142 DexFile* pDexFile = meth->clazz->pDvmDex->pDexFile;
3143 const DexCode* pCode = dvmGetMethodCode(meth);
3242 const Method* meth = pState->method;