Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 15 of 15) sorted by relevance

/art/test/068-classloader/src/
DMain.java25 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/
Djava_lang_VMClassLoader.cc29 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()
Djava_lang_reflect_Proxy.cc28 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/
DMain.java150 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/
DMain.java159 BrokenDexLoader loader; in testFailLoadAndGc() local
161 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc()
162 loader.findBrokenClass(); in testFailLoadAndGc()
/art/runtime/verifier/
Dreg_type_cache.h55 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)
Dreg_type_cache.cc68 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/
Dcommon_compiler_test.cc271 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/
Dcompiler_driver_test.cc85 Handle<mirror::ClassLoader> loader( in MakeDexFileExecutable() local
87 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); in MakeDexFileExecutable()
/art/runtime/mirror/
Dobject_test.cc332 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/
Dcheck_jni.cc1125 …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()
Dclass_linker_test.cc107 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()
Dclass_linker.h336 jobjectArray interfaces, jobject loader, jobjectArray methods,
Dclass_linker.cc3777 jobjectArray interfaces, jobject loader, in CreateProxyClass() argument
3791 klass->SetClassLoader(soa.Decode<mirror::ClassLoader*>(loader)); in CreateProxyClass()
/art/compiler/jni/
Djni_compiler_test.cc64 Handle<mirror::ClassLoader> loader( in CompileForTest() local
67 mirror::Class* c = class_linker_->FindClass(soa.Self(), "LMyClassNatives;", loader); in CompileForTest()