Lines Matching refs:referrer
469 * If "referrer" and "resClass" don't come from the same DEX file, and
475 static void tweakLoader(ClassObject* referrer, ClassObject* resClass)
479 assert(referrer->classLoader == NULL);
486 if (referrer->pDvmDex != resClass->pDvmDex)
494 static void untweakLoader(ClassObject* referrer, ClassObject* resClass)
515 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx,
518 DvmDex* pDvmDex = referrer->pDvmDex;
531 resClass = dvmFindClassNoInit(className, referrer->classLoader);
575 tweakLoader(referrer, resClass);
576 bool allowed = dvmCheckClassAccess(referrer, resClass);
577 untweakLoader(referrer, resClass);
580 referrer->descriptor, resClass->descriptor);
594 InstField* dvmOptResolveInstField(ClassObject* referrer, u4 ifieldIdx,
597 DvmDex* pDvmDex = referrer->pDvmDex;
610 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure);
645 tweakLoader(referrer, resField->clazz);
646 bool allowed = dvmCheckFieldAccess(referrer, (Field*)resField);
647 untweakLoader(referrer, resField->clazz);
650 referrer->descriptor, resField->clazz->descriptor,
667 StaticField* dvmOptResolveStaticField(ClassObject* referrer, u4 sfieldIdx,
670 DvmDex* pDvmDex = referrer->pDvmDex;
683 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure);
723 tweakLoader(referrer, resField->clazz);
724 bool allowed = dvmCheckFieldAccess(referrer, (Field*)resField);
725 untweakLoader(referrer, resField->clazz);
728 referrer->descriptor, resField->clazz->descriptor,
872 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
875 DvmDex* pDvmDex = referrer->pDvmDex;
882 LOGVV("--- resolving method %u (referrer=%s)", methodIdx,
883 referrer->descriptor);
892 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, pFailure);
979 tweakLoader(referrer, resMethod->clazz);
980 bool allowed = dvmCheckMethodAccess(referrer, resMethod);
981 untweakLoader(referrer, resMethod->clazz);
987 referrer->descriptor);
1130 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx)
1132 DvmDex* pDvmDex = referrer->pDvmDex;
1135 LOGVV("--- resolving interface method %d (referrer=%s)",
1136 methodIdx, referrer->descriptor);
1145 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, NULL);