Lines Matching refs:resClass
1625 static void tweakLoader(ClassObject* referrer, ClassObject* resClass) in tweakLoader() argument
1630 assert(resClass->classLoader == NULL); in tweakLoader()
1634 if (dvmIsArrayClass(resClass)) in tweakLoader()
1635 resClass = resClass->elementClass; in tweakLoader()
1636 if (referrer->pDvmDex != resClass->pDvmDex) in tweakLoader()
1637 resClass->classLoader = (Object*) 0xdead3333; in tweakLoader()
1644 static void untweakLoader(ClassObject* referrer, ClassObject* resClass) in untweakLoader() argument
1649 if (dvmIsArrayClass(resClass)) in untweakLoader()
1650 resClass = resClass->elementClass; in untweakLoader()
1651 resClass->classLoader = NULL; in untweakLoader()
1669 ClassObject* resClass; in dvmOptResolveClass() local
1674 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); in dvmOptResolveClass()
1675 if (resClass == NULL) { in dvmOptResolveClass()
1679 resClass = dvmFindPrimitiveClass(className[0]); in dvmOptResolveClass()
1681 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmOptResolveClass()
1683 if (resClass == NULL) { in dvmOptResolveClass()
1712 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass); in dvmOptResolveClass()
1716 if (IS_CLASS_FLAG_SET(resClass, CLASS_MULTIPLE_DEFS)) { in dvmOptResolveClass()
1718 resClass->descriptor); in dvmOptResolveClass()
1725 tweakLoader(referrer, resClass); in dvmOptResolveClass()
1726 bool allowed = dvmCheckClassAccess(referrer, resClass); in dvmOptResolveClass()
1727 untweakLoader(referrer, resClass); in dvmOptResolveClass()
1730 referrer->descriptor, resClass->descriptor); in dvmOptResolveClass()
1736 return resClass; in dvmOptResolveClass()
1753 ClassObject* resClass; in dvmOptResolveInstField() local
1760 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveInstField()
1761 if (resClass == NULL) { in dvmOptResolveInstField()
1768 resField = (InstField*)dvmFindFieldHier(resClass, in dvmOptResolveInstField()
1773 resClass->descriptor, in dvmOptResolveInstField()
1781 resClass->descriptor, in dvmOptResolveInstField()
1826 ClassObject* resClass; in dvmOptResolveStaticField() local
1833 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveStaticField()
1834 if (resClass == NULL) { in dvmOptResolveStaticField()
1841 resField = (StaticField*)dvmFindFieldHier(resClass, in dvmOptResolveStaticField()
1852 resClass->descriptor, in dvmOptResolveStaticField()
1948 ClassObject* resClass; in dvmOptResolveMethod() local
1952 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, pFailure); in dvmOptResolveMethod()
1953 if (resClass == NULL) { in dvmOptResolveMethod()
1963 if (dvmIsInterfaceClass(resClass)) { in dvmOptResolveMethod()
1980 resMethod = dvmFindDirectMethod(resClass, in dvmOptResolveMethod()
1984 resMethod = dvmFindMethodHier(resClass, in dvmOptResolveMethod()
1998 resClass->descriptor, resMethod->name); in dvmOptResolveMethod()
2006 resClass->descriptor, resMethod->name); in dvmOptResolveMethod()
2014 if (dvmIsAbstractMethod(resMethod) && !dvmIsAbstractClass(resClass)) { in dvmOptResolveMethod()
2017 resClass->descriptor); in dvmOptResolveMethod()
2164 ClassObject* resClass; in dvmOptResolveInterfaceMethod() local
2168 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, NULL); in dvmOptResolveInterfaceMethod()
2169 if (resClass == NULL) { in dvmOptResolveInterfaceMethod()
2174 if (!dvmIsInterfaceClass(resClass)) { in dvmOptResolveInterfaceMethod()
2186 methodName, methodSig, resClass->descriptor); in dvmOptResolveInterfaceMethod()
2187 resMethod = dvmFindVirtualMethod(resClass, methodName, &proto); in dvmOptResolveInterfaceMethod()
2191 for (i = 0; i < resClass->iftableCount; i++) { in dvmOptResolveInterfaceMethod()
2192 resMethod = dvmFindVirtualMethod(resClass->iftable[i].clazz, in dvmOptResolveInterfaceMethod()