Home
last modified time | relevance | path

Searched refs:class_root (Results 1 – 20 of 20) sorted by relevance

/art/runtime/
Dclass_root-inl.h31 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, in GetClassRoot() argument
39 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRoot()
40 int32_t index = static_cast<int32_t>(class_root); in GetClassRoot()
48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() argument
50 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot()
54 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() argument
56 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot()
Dclass_root.cc23 const char* GetClassRootDescriptor(ClassRoot class_root) { in GetClassRootDescriptor() argument
32 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRootDescriptor()
33 const char* descriptor = class_roots_descriptors[static_cast<size_t>(class_root)]; in GetClassRootDescriptor()
Dclass_root.h127 const char* GetClassRootDescriptor(ClassRoot class_root);
130 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root,
135 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker)
139 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) REQUIRES_SHARED(Locks::mutator_lock_);
Dclass_linker.cc936 ObjPtr<mirror::Class> class_root = FindSystemClass(self, "Ljava/lang/reflect/Field;"); in InitWithoutImage() local
937 CHECK(class_root != nullptr); in InitWithoutImage()
938 SetClassRoot(ClassRoot::kJavaLangReflectField, class_root); in InitWithoutImage()
941 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Field;"); in InitWithoutImage()
942 CHECK(class_root != nullptr); in InitWithoutImage()
943 SetClassRoot(ClassRoot::kJavaLangReflectFieldArrayClass, class_root); in InitWithoutImage()
946 class_root = FindSystemClass(self, "Ljava/lang/reflect/Constructor;"); in InitWithoutImage()
947 CHECK(class_root != nullptr); in InitWithoutImage()
948 SetClassRoot(ClassRoot::kJavaLangReflectConstructor, class_root); in InitWithoutImage()
949 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Constructor;"); in InitWithoutImage()
[all …]
DAndroid.bp250 "class_root.cc",
Dclass_linker.h1357 void SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass)
/art/runtime/mirror/
Dclass.cc81 ClassRoot class_root = ClassRoot::kJavaLangObject; // Invalid. in GetPrimitiveClass() local
87 case 'b': expected_name = "boolean"; class_root = ClassRoot::kPrimitiveBoolean; break; in GetPrimitiveClass()
88 case 'B': expected_name = "byte"; class_root = ClassRoot::kPrimitiveByte; break; in GetPrimitiveClass()
89 case 'c': expected_name = "char"; class_root = ClassRoot::kPrimitiveChar; break; in GetPrimitiveClass()
90 case 'd': expected_name = "double"; class_root = ClassRoot::kPrimitiveDouble; break; in GetPrimitiveClass()
91 case 'f': expected_name = "float"; class_root = ClassRoot::kPrimitiveFloat; break; in GetPrimitiveClass()
92 case 'i': expected_name = "int"; class_root = ClassRoot::kPrimitiveInt; break; in GetPrimitiveClass()
93 case 'l': expected_name = "long"; class_root = ClassRoot::kPrimitiveLong; break; in GetPrimitiveClass()
94 case 's': expected_name = "short"; class_root = ClassRoot::kPrimitiveShort; break; in GetPrimitiveClass()
95 case 'v': expected_name = "void"; class_root = ClassRoot::kPrimitiveVoid; break; in GetPrimitiveClass()
[all …]
/art/runtime/verifier/
Dreg_type_cache.cc60 #define CREATE_PRIMITIVE_TYPE(type, class_root, descriptor, id) \ in FillPrimitiveAndSmallConstantTypes() argument
62 handles_.NewHandle(GetClassRoot(class_root, class_linker_)), \ in FillPrimitiveAndSmallConstantTypes()
/art/compiler/optimizing/
Dcode_generator_x86_64.h552 void LoadClassRootForIntrinsic(CpuRegister reg, ClassRoot class_root);
Dcode_generator_riscv64.h628 void LoadClassRootForIntrinsic(XRegister dest, ClassRoot class_root);
Dcode_generator.cc864 uint32_t CodeGenerator::GetBootImageOffset(ClassRoot class_root) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset() argument
865 ObjPtr<mirror::Class> klass = GetClassRoot<kWithoutReadBarrier>(class_root); in GetBootImageOffset()
Dcode_generator.h664 static uint32_t GetBootImageOffset(ClassRoot class_root);
Dcode_generator_arm_vixl.h740 void LoadClassRootForIntrinsic(vixl::aarch32::Register reg, ClassRoot class_root);
Dcode_generator_arm64.h895 void LoadClassRootForIntrinsic(vixl::aarch64::Register reg, ClassRoot class_root);
Dnodes.cc55 ClassRoot class_root) { in CreateRootHandle() argument
58 return handles->NewHandle(GetClassRoot(class_root)); in CreateRootHandle()
Dnodes.h357 inline ReferenceTypeInfo::TypeHandle GetRootHandle(ClassRoot class_root, in GetRootHandle() argument
360 *cache = CreateRootHandle(handles_, class_root); in GetRootHandle()
366 ClassRoot class_root);
Dcode_generator_arm64.cc5337 ClassRoot class_root) { in LoadClassRootForIntrinsic() argument
5340 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic()
5344 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
Dcode_generator_riscv64.cc6793 void CodeGeneratorRISCV64::LoadClassRootForIntrinsic(XRegister dest, ClassRoot class_root) { in LoadClassRootForIntrinsic() argument
6796 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic()
6800 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
Dcode_generator_x86_64.cc1415 void CodeGeneratorX86_64::LoadClassRootForIntrinsic(CpuRegister reg, ClassRoot class_root) { in LoadClassRootForIntrinsic() argument
1418 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic()
1422 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
Dcode_generator_arm_vixl.cc9849 ClassRoot class_root) { in LoadClassRootForIntrinsic() argument
9852 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic()
9856 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()