/art/test/068-classloader/src/ |
D | Main.java | 25 FancyLoader loader; in main() local 27 loader = new FancyLoader(ClassLoader.getSystemClassLoader()); in main() 51 testAccess1(loader); in main() 52 testAccess2(loader); in main() 53 testAccess3(loader); in main() 55 testExtend(loader); in main() 56 testExtendOkay(loader); in main() 57 testInterface(loader); in main() 58 testAbstract(loader); in main() 59 testImplement(loader); in main() [all …]
|
/art/runtime/native/ |
D | java_lang_VMClassLoader.cc | 29 mirror::ClassLoader* loader = soa.Decode<mirror::ClassLoader*>(javaLoader); in VMClassLoader_findLoadedClass() local 37 mirror::Class* c = cl->LookupClass(descriptor.c_str(), descriptor_hash, loader); in VMClassLoader_findLoadedClass() 41 if (loader != nullptr) { in VMClassLoader_findLoadedClass() 45 hs.NewHandle(loader)); in VMClassLoader_findLoadedClass()
|
D | java_lang_reflect_Proxy.cc | 28 jobject loader, jobjectArray methods, jobjectArray throws) { in Proxy_generateProxy() argument 31 mirror::Class* result = class_linker->CreateProxyClass(soa, name, interfaces, loader, methods, in Proxy_generateProxy()
|
/art/test/086-null-super/src/ |
D | Main.java | 150 BrokenDexLoader loader; in testFailLoadAndGc() local 152 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc() 153 loader.findBrokenClass(); in testFailLoadAndGc()
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 159 BrokenDexLoader loader; in testFailLoadAndGc() local 161 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc() 162 loader.findBrokenClass(); in testFailLoadAndGc()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 55 RegType& From(mirror::ClassLoader* loader, const char* descriptor, bool precise) 65 RegType& FromDescriptor(mirror::ClassLoader* loader, const char* descriptor, bool precise) 143 RegType& GetComponentType(RegType& array, mirror::ClassLoader* loader) 154 mirror::Class* ResolveClass(const char* descriptor, mirror::ClassLoader* loader)
|
D | reg_type_cache.cc | 68 RegType& RegTypeCache::FromDescriptor(mirror::ClassLoader* loader, const char* descriptor, in FromDescriptor() argument 94 return From(loader, descriptor, precise); in FromDescriptor() 139 mirror::Class* RegTypeCache::ResolveClass(const char* descriptor, mirror::ClassLoader* loader) { in ResolveClass() argument 145 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(loader)); in ResolveClass() 150 klass = class_linker->LookupClass(descriptor, ComputeModifiedUtf8Hash(descriptor), loader); in ResolveClass() 159 RegType& RegTypeCache::From(mirror::ClassLoader* loader, const char* descriptor, in From() argument 171 mirror::Class* klass = ResolveClass(descriptor, loader); in From() 560 RegType& RegTypeCache::GetComponentType(RegType& array, mirror::ClassLoader* loader) { in GetComponentType() argument 566 return FromDescriptor(loader, component.c_str(), false); in GetComponentType() 574 return FromDescriptor(loader, klass->GetDescriptor(&temp), false); in GetComponentType()
|
/art/compiler/ |
D | common_compiler_test.cc | 271 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in MakeExecutable() local 272 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in MakeExecutable() 352 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in CompileClass() local 353 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in CompileClass()
|
/art/compiler/driver/ |
D | compiler_driver_test.cc | 85 Handle<mirror::ClassLoader> loader( in MakeDexFileExecutable() local 87 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable()
|
/art/runtime/mirror/ |
D | object_test.cc | 332 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader*>(class_loader))); in TEST_F() local 333 Class* klass = class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", loader); in TEST_F()
|
/art/runtime/ |
D | check_jni.cc | 1125 …static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, jsize b… in DefineClass() argument 1126 CHECK_JNI_ENTRY(kFlag_Default, "EuLpz", env, name, loader, buf, bufLen); in DefineClass() 1128 return CHECK_JNI_EXIT("c", baseEnv(env)->DefineClass(env, name, loader, buf, bufLen)); in DefineClass()
|
D | class_linker_test.cc | 107 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass() local 109 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass()
|
D | class_linker.h | 336 jobjectArray interfaces, jobject loader, jobjectArray methods,
|
D | class_linker.cc | 3777 jobjectArray interfaces, jobject loader, in CreateProxyClass() argument 3791 klass->SetClassLoader(soa.Decode<mirror::ClassLoader*>(loader)); in CreateProxyClass()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 64 Handle<mirror::ClassLoader> loader( in CompileForTest() local 67 mirror::Class* c = class_linker_->FindClass(soa.Self(), "LMyClassNatives;", loader); in CompileForTest()
|