/art/runtime/ |
D | method_handles_test.cc | 52 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() 82 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local 84 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F() 85 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() 94 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local 96 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() 97 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() 107 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local [all …]
|
/art/test/656-annotation-lookup-generic-jni/src-art/ |
D | Main.java | 64 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/ |
D | DexData.java | 26 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()
|
D | Test912.java | 158 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/ |
D | java_lang_VMClassLoader.cc | 41 static ObjPtr<mirror::Class> LookupClass(ClassLinker* cl, in LookupClass() argument 48 return cl->LookupClass(self, descriptor, hash, class_loader); in LookupClass() 51 static ObjPtr<mirror::Class> FindClassInPathClassLoader(ClassLinker* cl, in FindClassInPathClassLoader() argument 59 if (cl->FindClassInBaseDexClassLoader(soa, self, descriptor, hash, class_loader, &result)) { in FindClassInPathClassLoader() 78 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in VMClassLoader_findLoadedClass() local 84 ObjPtr<mirror::Class> c = VMClassLoader::LookupClass(cl, in VMClassLoader_findLoadedClass() 94 cl->ThrowEarlierClassFailure(c); in VMClassLoader_findLoadedClass() 114 c = VMClassLoader::FindClassInPathClassLoader(cl, in VMClassLoader_findLoadedClass()
|
D | dalvik_system_VMStack.cc | 121 ObjPtr<mirror::Object> cl = c->GetClassLoader(); in VMStack_getClosestUserClassLoader() local 122 if (cl != nullptr) { in VMStack_getClosestUserClassLoader() 123 class_loader = cl; in VMStack_getClosestUserClassLoader()
|
/art/test/1963-add-to-dex-classloader-in-memory/src/art/ |
D | Test1963.java | 183 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/ |
D | Main.java | 28 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/ |
D | Main.java | 153 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/runtime/mirror/ |
D | class_ext.cc | 69 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()
|
/art/tools/veridex/ |
D | veridex.h | 51 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/runtime/interpreter/mterp/x86/ |
D | arithmetic.S | 36 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 …]
|
D | floating_point.S | 45 andb $$0xf, %cl # ecx <- A 195 andb $$0xf, %cl # ecx <- A 228 andb $$0xf, %cl # ecx <- A
|
D | control_flow.S | 11 andb $$0xf, %cl # ecx <- A
|
/art/test/utils/python/ |
D | generate_java_main.py | 229 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/ |
D | Main.java | 68 ClassLoader cl = new PathClassLoader("", tmp.getParentFile().getAbsolutePath(), in attachWithClassLoader() local 71 VMDebug.attachAgent(agent, cl); in attachWithClassLoader()
|
/art/runtime/interpreter/mterp/x86_64/ |
D | arithmetic.S | 228 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
|
D | floating_point.S | 44 andb $$0xf, %cl # ecx <- A 195 andb $$0xf, %cl # ecx <- A 228 andb $$0xf, %cl # ecx <- A
|
D | control_flow.S | 12 andb $$0xf, %cl # rcx <- A
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 140 auto* cl = Runtime::Current()->GetClassLinker(); in TEST_F() local 141 auto pointer_size = cl->GetImagePointerSize(); in TEST_F() 156 ArtField* field = dex_cache->GetResolvedField(i, cl->GetImagePointerSize()); in TEST_F()
|
/art/runtime/interpreter/mterp/x86_64ng/ |
D | control_flow.S | 12 andb $$0xf, %cl # rcx <- A
|
D | other.S | 199 andb $$0xf, %cl # ecx <- A
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 657 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local 659 cl->ResolveMethodType(self, proto_idx, dex_cache, class_loader); in GetArgumentForBootstrapMethod() 669 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local 670 ObjPtr<mirror::MethodHandle> o = cl->ResolveMethodHandle(self, index, referrer); in GetArgumentForBootstrapMethod() 680 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local 681 ObjPtr<mirror::String> o = cl->ResolveString(index, referrer); in GetArgumentForBootstrapMethod() 691 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in GetArgumentForBootstrapMethod() local 692 ObjPtr<mirror::Class> o = cl->ResolveType(index, referrer); in GetArgumentForBootstrapMethod()
|
/art/runtime/arch/x86/ |
D | quick_entrypoints_x86.S | 1109 sall %cl, %edx // Calculate array count shifted. 1608 shld %cl,%eax,%edx 1609 shl %cl,%eax 1610 test LITERAL(32), %cl 1621 shrd %cl,%edx,%eax 1622 sar %cl,%edx 1623 test LITERAL(32),%cl 1634 shrd %cl,%edx,%eax 1635 shr %cl,%edx 1636 test LITERAL(32),%cl
|
/art/test/1970-force-early-return-long/src/art/ |
D | Test1970.java | 85 public void runTestOn(Supplier<TestRunnable> testObj, ThreadRunnable su, ThreadRunnable cl) 87 runTestOn(testObj, makeSuspend(su, cl));
|