Searched refs:ClassRoot (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | class_root.cc | 21 const char* GetClassRootDescriptor(ClassRoot class_root) { in GetClassRootDescriptor() 27 static_assert(arraysize(class_roots_descriptors) == static_cast<size_t>(ClassRoot::kMax), in GetClassRootDescriptor() 30 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRootDescriptor()
|
D | class_root.h | 108 enum class ClassRoot : uint32_t { enum 115 const char* GetClassRootDescriptor(ClassRoot class_root); 119 ClassRoot class_root, in GetClassRoot() 127 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRoot() 136 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() 142 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() 158 static constexpr ClassRoot value = ClassRoot::name; \
|
D | class_linker.h | 79 enum class ClassRoot : uint32_t; 1246 void SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass) 1257 ClassRoot primitive_array_class_root, 1258 ClassRoot primitive_class_root,
|
D | method_handles_test.cc | 58 Handle<mirror::Class> void_class = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, cl)); in CreateVoidMethodType()
|
D | class_linker_test.cc | 1400 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); i++) { in TEST_F() 1401 ObjPtr<mirror::Class> klass = GetClassRoot(ClassRoot(i), class_linker_); in TEST_F() 1403 EXPECT_STREQ(klass->GetDescriptor(&temp), GetClassRootDescriptor(ClassRoot(i))) << " i = " << i; in TEST_F()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 44 ClassRoot class_root, in GetRootHandle() 55 return GetRootHandle(handles_, ClassRoot::kJavaLangObject, &object_class_handle_); in GetObjectClassHandle() 59 return GetRootHandle(handles_, ClassRoot::kJavaLangClass, &class_class_handle_); in GetClassClassHandle() 64 ClassRoot::kJavaLangInvokeMethodHandleImpl, in GetMethodHandleClassHandle() 69 return GetRootHandle(handles_, ClassRoot::kJavaLangInvokeMethodType, &method_type_class_handle_); in GetMethodTypeClassHandle() 73 return GetRootHandle(handles_, ClassRoot::kJavaLangString, &string_class_handle_); in GetStringClassHandle() 77 return GetRootHandle(handles_, ClassRoot::kJavaLangThrowable, &throwable_class_handle_); in GetThrowableClassHandle()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 168 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetDexDataForRetransformation() 231 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in GetQuickenedDexFile()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 931 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument() 933 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument() 935 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument() 937 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument() 1145 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod() 1147 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod() 1149 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots)) { in PackCollectorArrayForBootstrapMethod() 1151 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots)) { in PackCollectorArrayForBootstrapMethod()
|
/art/runtime/mirror/ |
D | object_test.cc | 83 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray()
|