Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 49) sorted by relevance

12

/art/runtime/
Dmethod_handles_test.cc52 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in CreateVoidMethodType() local
54 ObjPtr<mirror::Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(cl); in CreateVoidMethodType()
58 Handle<mirror::Class> void_class = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, cl)); in CreateVoidMethodType()
87 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local
89 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F()
90 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F()
99 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local
101 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F()
102 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F()
112 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local
[all …]
/art/test/656-annotation-lookup-generic-jni/src-art/
DMain.java64 InMemoryDexClassLoader cl = new InMemoryDexClassLoader(dexBuffer, getBootClassLoader()); in createUnquickenedDexClassLoader() local
65 return cl; in createUnquickenedDexClassLoader()
69 ClassLoader cl = Main.class.getClassLoader(); in getBootClassLoader() local
70 while (cl.getParent() != null) { in getBootClassLoader()
71 cl = cl.getParent(); in getBootClassLoader()
73 return cl; in getBootClassLoader()
/art/test/912-classes/src-art/art/
DDexData.java26 ClassLoader cl = DexData.class.getClassLoader(); in getBootClassLoader() local
27 while (cl.getParent() != null) { in getBootClassLoader()
28 cl = cl.getParent(); in getBootClassLoader()
30 return cl; in getBootClassLoader()
DTest912.java158 Object cl = getClassLoader(c); in testClassLoader() local
159 System.out.println(c + " " + (cl != null ? cl.getClass().getName() : "null")); in testClassLoader()
160 if (cl == null) { in testClassLoader()
165 if (!(cl instanceof ClassLoader)) { in testClassLoader()
166 throw new RuntimeException("Unexpected \"classloader\": " + cl + " (" + cl.getClass() + in testClassLoader()
169 if (cl != c.getClassLoader()) { in testClassLoader()
170 throw new RuntimeException("Unexpected classloader: " + c.getClassLoader() + " vs " + cl); in testClassLoader()
253 ClassLoader cl = Main.class.getClassLoader(); in testClassEvents() local
254 while (cl.getParent() != null) { in testClassEvents()
255 cl = cl.getParent(); in testClassEvents()
[all …]
/art/runtime/native/
Djava_lang_VMClassLoader.cc46 static ObjPtr<mirror::Class> LookupClass(ClassLinker* cl, in LookupClass() argument
53 return cl->LookupClass(self, descriptor, hash, class_loader); in LookupClass()
56 static ObjPtr<mirror::Class> FindClassInPathClassLoader(ClassLinker* cl, in FindClassInPathClassLoader() argument
63 if (cl->FindClassInBaseDexClassLoader(self, descriptor, hash, class_loader, &result)) { in FindClassInPathClassLoader()
82 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in VMClassLoader_findLoadedClass() local
88 ObjPtr<mirror::Class> c = VMClassLoader::LookupClass(cl, in VMClassLoader_findLoadedClass()
98 cl->ThrowEarlierClassFailure(c); in VMClassLoader_findLoadedClass()
115 c = VMClassLoader::FindClassInPathClassLoader(cl, in VMClassLoader_findLoadedClass()
Ddalvik_system_VMStack.cc120 ObjPtr<mirror::Object> cl = c->GetClassLoader(); in VMStack_getClosestUserClassLoader() local
121 if (cl != nullptr) { in VMStack_getClosestUserClassLoader()
122 class_loader = cl; in VMStack_getClosestUserClassLoader()
/art/test/1963-add-to-dex-classloader-in-memory/src/art/
DTest1963.java183 ClassLoader cl = getClassLoader(); in run() local
184 Class<?> target = cl.loadClass(TEST_CLASS_NAME); in run()
190 addToClassLoader(cl, NEW_CLASS_BYTES, NEW_DEX_BYTES); in run()
231 public static void addToClassLoader(ClassLoader cl, byte[] class_bytes, byte[] dex_bytes) { in addToClassLoader() argument
233 addToClassLoaderNative(cl, ByteBuffer.allocateDirect(dex_bytes.length).put(dex_bytes)); in addToClassLoader()
235 ((ExtensibleClassLoader)cl).addSingleClass(class_bytes); in addToClassLoader()
/art/test/616-cha-unloading/src-art/
DMain.java28 private CHAUnloaderRetType(WeakReference<ClassLoader> cl, in CHAUnloaderRetType() argument
31 this.cl = cl; in CHAUnloaderRetType()
35 public WeakReference<ClassLoader> cl; field in Main.CHAUnloaderRetType
53 WeakReference<ClassLoader> loader = result.cl; in testUnload()
/art/test/1964-add-to-dex-classloader-file/src/
DMain.java153 ClassLoader cl = getClassLoader(); in run() local
154 Class<?> target = cl.loadClass(TEST_CLASS_NAME); in run()
160 addToClassLoader(cl); in run()
198 public static void addToClassLoader(ClassLoader cl) throws Exception { in addToClassLoader() argument
200 addToClassLoaderNative(cl, System.getenv("DEX_LOCATION") + "/" + TEST_NAME + "-ex.jar"); in addToClassLoader()
202 ((ExtensibleClassLoader)cl).addSingleUrl(System.getenv("DEX_LOCATION") + "/classes-ex/"); in addToClassLoader()
/art/benchmark/golem-tiagent/
Dgolem-tiagent.cc43 jclass cl = jni_env->FindClass("java/lang/Thread"); in VMInitCallback() local
44 if (cl == nullptr) { in VMInitCallback()
48 jmethodID method = jni_env->GetMethodID(cl, "stop", "()V"); in VMInitCallback()
/art/runtime/mirror/
Dclass_ext.cc69 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in ExtendObsoleteArrays() local
79 cl->AllocPointerArray(self, new_len))); in ExtendObsoleteArrays()
87 cl->FindClass(self, in ExtendObsoleteArrays()
103 cl->GetImagePointerSize()); in ExtendObsoleteArrays()
Dmethod_type_test.cc41 ObjPtr<mirror::Class> FindClass(Thread* self, ClassLinker* const cl, const std::string& shorthand) in FindClass() argument
46 return cl->FindSystemClass(self, shorthand.c_str()); in FindClass()
48 return cl->FindClass(self, FullyQualifiedType(shorthand).c_str(), boot_class_loader); in FindClass()
50 return cl->FindClass(self, shorthand.c_str(), boot_class_loader); in FindClass()
/art/runtime/interpreter/mterp/x86ng/
Darithmetic.S36 div %cl # 8-bit divide otherwise.
189 andb $$0xf, %cl # ecx <- A
287 andb $$0xf, %cl # ecx <- A
339 $instr # ex: sarl %cl, %eax
352 andb $$0xf,%cl # ecx <- A
530 andb $$0xf, %cl # ecx <- A
740 sall %cl, %eax
741 testb $$32, %cl
768 sall %cl, %eax
769 testb $$32, %cl
[all …]
Dfloating_point.S45 andb $$0xf, %cl # ecx <- A
195 andb $$0xf, %cl # ecx <- A
228 andb $$0xf, %cl # ecx <- A
Dcontrol_flow.S12 andb $$0xf, %cl # rcx <- A
/art/tools/veridex/
Dveridex.h51 VeriClass(Primitive::Type k, uint8_t dims, const dex::ClassDef* cl) in VeriClass() argument
52 : kind_(k), dimensions_(dims), class_def_(cl) {} in VeriClass()
/art/test/utils/python/
Dgenerate_java_main.py229 def get_ifaces(cl): argument
230 for i2 in cl.implements:
234 for cl in flatten_classes(dat.classes, c):
235 yield from get_ifaces(cl)
/art/test/909-attach-agent/src-art/
DMain.java68 ClassLoader cl = new PathClassLoader("", tmp.getParentFile().getAbsolutePath(), in attachWithClassLoader() local
71 VMDebug.attachAgent(agent, cl); in attachWithClassLoader()
/art/runtime/interpreter/mterp/x86_64ng/
Darithmetic.S228 andb $$0xf, %cl # ecx <- A
292 andb $$0xf, %cl # ecx <- A
307 andb $$0xf, %cl # ecx <- A
337 $instr # ex: sarl %cl, %eax
341 $instr # ex: sarl %cl, %eax
359 andb $$0xf,%cl # ecx <- A
472 andb $$0xf, %cl # ecx <- A
491 andb $$0xf, %cl # ecx <- A
Dfloating_point.S44 andb $$0xf, %cl # ecx <- A
195 andb $$0xf, %cl # ecx <- A
228 andb $$0xf, %cl # ecx <- A
Dcontrol_flow.S12 andb $$0xf, %cl # rcx <- A
/art/test/2243-single-step-default/
Dsingle_step_helper.cc109 jclass cl ATTRIBUTE_UNUSED, in Java_art_Test2243_setSingleStepUntil()
/art/runtime/arch/x86/
Dquick_entrypoints_x86.S1086 sall %cl, %edx // Calculate array count shifted.
1492 shld %cl,%eax,%edx
1493 shl %cl,%eax
1494 test LITERAL(32), %cl
1505 shrd %cl,%edx,%eax
1506 sar %cl,%edx
1507 test LITERAL(32),%cl
1518 shrd %cl,%edx,%eax
1519 shr %cl,%edx
1520 test LITERAL(32),%cl
/art/runtime/interpreter/
Dinterpreter_common.cc637 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local
639 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod()
649 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local
650 ObjPtr<mirror::MethodHandle> o = cl->ResolveMethodHandle(self, index, referrer); in GetArgumentForBootstrapMethod()
660 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local
661 ObjPtr<mirror::String> o = cl->ResolveString(index, referrer); in GetArgumentForBootstrapMethod()
671 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local
672 ObjPtr<mirror::Class> o = cl->ResolveType(index, referrer); in GetArgumentForBootstrapMethod()
/art/openjdkjvmti/
Dti_redefine.cc309 art::ClassLinker* cl = runtime->GetClassLinker(); in VisitFrame() local
310 auto ptr_size = cl->GetImagePointerSize(); in VisitFrame()
322 cl->SetEntryPointsForObsoleteMethod(new_obsolete_method); in VisitFrame()
558 art::ClassLinker* cl = art::Runtime::Current()->GetClassLinker(); in ~ClassRedefinition() local
559 CHECK(!cl->IsDexFileRegistered(self, *dex_file_)); in ~ClassRedefinition()
758 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in CreateNewDexCache() local
761 art::GetClassRoot<art::mirror::DexCache>(cl)->AllocObject(driver_->self_)))); in CreateNewDexCache()
767 cl->GetInternTable()->InternStrong(dex_file_->GetLocation().c_str()))); in CreateNewDexCache()
1633 art::ClassLinker* cl = art::Runtime::Current()->GetClassLinker(); in ~RedefinitionDataHolder() local
1642 !cl->IsDexFileRegistered(self, *dex_cache->GetDexFile())) { in ~RedefinitionDataHolder()
[all …]

12