/art/runtime/ |
D | class_root.cc | 23 const char* GetClassRootDescriptor(ClassRoot class_root) { in GetClassRootDescriptor() 29 static_assert(arraysize(class_roots_descriptors) == static_cast<size_t>(ClassRoot::kMax), in GetClassRootDescriptor() 32 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRootDescriptor()
|
D | class_root-inl.h | 31 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, in GetClassRoot() 39 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRoot() 48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() 54 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() 70 static constexpr ClassRoot value = ClassRoot::name; \
|
D | class_root.h | 117 enum class ClassRoot : uint32_t { enum 124 const char* GetClassRootDescriptor(ClassRoot class_root); 127 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, 132 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) 136 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | class_linker.cc | 758 static_cast<int32_t>(ClassRoot::kMax))); in InitWithoutImage() 760 SetClassRoot(ClassRoot::kJavaLangClass, java_lang_Class.Get()); in InitWithoutImage() 761 SetClassRoot(ClassRoot::kJavaLangObject, java_lang_Object.Get()); in InitWithoutImage() 762 SetClassRoot(ClassRoot::kClassArrayClass, class_array_class.Get()); in InitWithoutImage() 763 SetClassRoot(ClassRoot::kObjectArrayClass, object_array_class.Get()); in InitWithoutImage() 764 SetClassRoot(ClassRoot::kJavaLangString, java_lang_String.Get()); in InitWithoutImage() 765 SetClassRoot(ClassRoot::kJavaLangRefReference, java_lang_ref_Reference.Get()); in InitWithoutImage() 775 CreatePrimitiveClass(self, Primitive::kPrimBoolean, ClassRoot::kPrimitiveBoolean); in InitWithoutImage() 776 CreatePrimitiveClass(self, Primitive::kPrimByte, ClassRoot::kPrimitiveByte); in InitWithoutImage() 777 CreatePrimitiveClass(self, Primitive::kPrimChar, ClassRoot::kPrimitiveChar); in InitWithoutImage() [all …]
|
D | class_linker.h | 48 enum class ClassRoot : uint32_t; 939 ClassRoot primitive_root, 940 ClassRoot array_root) 951 void FinishCoreArrayClassSetup(ClassRoot array_root) 968 void CreatePrimitiveClass(Thread* self, Primitive::Type type, ClassRoot primitive_root) 1285 void SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass)
|
D | method_handles_test.cc | 58 Handle<mirror::Class> void_class = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, cl)); in CreateVoidMethodType()
|
D | class_linker_test.cc | 1410 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); i++) { in TEST_F() 1411 ObjPtr<mirror::Class> klass = GetClassRoot(ClassRoot(i), class_linker_); in TEST_F() 1413 EXPECT_STREQ(klass->GetDescriptor(&temp), GetClassRootDescriptor(ClassRoot(i))) << " i = " << i; in TEST_F()
|
/art/runtime/mirror/ |
D | class.cc | 82 ClassRoot class_root = ClassRoot::kJavaLangObject; // Invalid. in GetPrimitiveClass() 88 case 'b': expected_name = "boolean"; class_root = ClassRoot::kPrimitiveBoolean; break; in GetPrimitiveClass() 89 case 'B': expected_name = "byte"; class_root = ClassRoot::kPrimitiveByte; break; in GetPrimitiveClass() 90 case 'c': expected_name = "char"; class_root = ClassRoot::kPrimitiveChar; break; in GetPrimitiveClass() 91 case 'd': expected_name = "double"; class_root = ClassRoot::kPrimitiveDouble; break; in GetPrimitiveClass() 92 case 'f': expected_name = "float"; class_root = ClassRoot::kPrimitiveFloat; break; in GetPrimitiveClass() 93 case 'i': expected_name = "int"; class_root = ClassRoot::kPrimitiveInt; break; in GetPrimitiveClass() 94 case 'l': expected_name = "long"; class_root = ClassRoot::kPrimitiveLong; break; in GetPrimitiveClass() 95 case 's': expected_name = "short"; class_root = ClassRoot::kPrimitiveShort; break; in GetPrimitiveClass() 96 case 'v': expected_name = "void"; class_root = ClassRoot::kPrimitiveVoid; break; in GetPrimitiveClass()
|
D | var_handle.cc | 183 return GetClassRoot(ClassRoot::kPrimitiveBoolean); in GetReturnType() 189 return GetClassRoot(ClassRoot::kPrimitiveVoid); in GetReturnType()
|
D | object_test.cc | 83 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 606 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument() 608 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument() 610 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument() 612 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument() 820 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod() 822 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod() 824 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots)) { in PackCollectorArrayForBootstrapMethod() 826 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots)) { in PackCollectorArrayForBootstrapMethod()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 168 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetDexDataForRetransformation() 231 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetQuickenedDexFile()
|
/art/compiler/optimizing/ |
D | code_generator.h | 639 static uint32_t GetBootImageOffset(ClassRoot class_root);
|
D | nodes.h | 327 return GetRootHandle(ClassRoot::kJavaLangObject, &object_class_handle_); in GetObjectClassHandle() 331 return GetRootHandle(ClassRoot::kJavaLangClass, &class_class_handle_); in GetClassClassHandle() 335 return GetRootHandle(ClassRoot::kJavaLangInvokeMethodHandleImpl, &method_handle_class_handle_); in GetMethodHandleClassHandle() 339 return GetRootHandle(ClassRoot::kJavaLangInvokeMethodType, &method_type_class_handle_); in GetMethodTypeClassHandle() 343 return GetRootHandle(ClassRoot::kJavaLangString, &string_class_handle_); in GetStringClassHandle() 347 return GetRootHandle(ClassRoot::kJavaLangThrowable, &throwable_class_handle_); in GetThrowableClassHandle() 352 inline ReferenceTypeInfo::TypeHandle GetRootHandle(ClassRoot class_root, in GetRootHandle() 361 ClassRoot class_root);
|
D | code_generator_arm_vixl.h | 644 void LoadClassRootForIntrinsic(vixl::aarch32::Register reg, ClassRoot class_root);
|
D | code_generator_arm64.h | 818 void LoadClassRootForIntrinsic(vixl::aarch64::Register reg, ClassRoot class_root);
|
D | code_generator.cc | 937 uint32_t CodeGenerator::GetBootImageOffset(ClassRoot class_root) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset()
|
D | nodes.cc | 52 ClassRoot class_root) { in CreateRootHandle()
|
D | intrinsics_arm64.cc | 5307 codegen->LoadClassRootForIntrinsic(temp2, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|
D | intrinsics_arm_vixl.cc | 5291 codegen->LoadClassRootForIntrinsic(temp2, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|
D | code_generator_arm64.cc | 5012 ClassRoot class_root) { in LoadClassRootForIntrinsic()
|
D | code_generator_arm_vixl.cc | 9519 ClassRoot class_root) { in LoadClassRootForIntrinsic()
|