Lines Matching refs:class_root

936   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()
950 CHECK(class_root != nullptr); in InitWithoutImage()
951 SetClassRoot(ClassRoot::kJavaLangReflectConstructorArrayClass, class_root); in InitWithoutImage()
954 class_root = FindSystemClass(self, "Ljava/lang/reflect/Method;"); in InitWithoutImage()
955 CHECK(class_root != nullptr); in InitWithoutImage()
956 SetClassRoot(ClassRoot::kJavaLangReflectMethod, class_root); in InitWithoutImage()
957 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Method;"); in InitWithoutImage()
958 CHECK(class_root != nullptr); in InitWithoutImage()
959 SetClassRoot(ClassRoot::kJavaLangReflectMethodArrayClass, class_root); in InitWithoutImage()
962 class_root = FindSystemClass(self, "Ljava/lang/invoke/CallSite;"); in InitWithoutImage()
963 CHECK(class_root != nullptr); in InitWithoutImage()
964 SetClassRoot(ClassRoot::kJavaLangInvokeCallSite, class_root); in InitWithoutImage()
967 class_root = FindSystemClass(self, "Ljava/lang/invoke/MethodType;"); in InitWithoutImage()
968 CHECK(class_root != nullptr); in InitWithoutImage()
969 SetClassRoot(ClassRoot::kJavaLangInvokeMethodType, class_root); in InitWithoutImage()
972 class_root = FindSystemClass(self, "Ljava/lang/invoke/MethodHandleImpl;"); in InitWithoutImage()
973 CHECK(class_root != nullptr); in InitWithoutImage()
974 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandleImpl, class_root); in InitWithoutImage()
975 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandle, class_root->GetSuperClass()); in InitWithoutImage()
978 class_root = FindSystemClass(self, "Ljava/lang/invoke/MethodHandles$Lookup;"); in InitWithoutImage()
979 CHECK(class_root != nullptr); in InitWithoutImage()
980 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandlesLookup, class_root); in InitWithoutImage()
983 class_root = FindSystemClass(self, "Ljava/lang/invoke/VarHandle;"); in InitWithoutImage()
984 CHECK(class_root != nullptr); in InitWithoutImage()
985 SetClassRoot(ClassRoot::kJavaLangInvokeVarHandle, class_root); in InitWithoutImage()
988 class_root = FindSystemClass(self, "Ljava/lang/invoke/FieldVarHandle;"); in InitWithoutImage()
989 CHECK(class_root != nullptr); in InitWithoutImage()
990 SetClassRoot(ClassRoot::kJavaLangInvokeFieldVarHandle, class_root); in InitWithoutImage()
993 class_root = FindSystemClass(self, "Ljava/lang/invoke/StaticFieldVarHandle;"); in InitWithoutImage()
994 CHECK(class_root != nullptr); in InitWithoutImage()
995 SetClassRoot(ClassRoot::kJavaLangInvokeStaticFieldVarHandle, class_root); in InitWithoutImage()
998 class_root = FindSystemClass(self, "Ljava/lang/invoke/ArrayElementVarHandle;"); in InitWithoutImage()
999 CHECK(class_root != nullptr); in InitWithoutImage()
1000 SetClassRoot(ClassRoot::kJavaLangInvokeArrayElementVarHandle, class_root); in InitWithoutImage()
1003 class_root = FindSystemClass(self, "Ljava/lang/invoke/ByteArrayViewVarHandle;"); in InitWithoutImage()
1004 CHECK(class_root != nullptr); in InitWithoutImage()
1005 SetClassRoot(ClassRoot::kJavaLangInvokeByteArrayViewVarHandle, class_root); in InitWithoutImage()
1008 class_root = FindSystemClass(self, "Ljava/lang/invoke/ByteBufferViewVarHandle;"); in InitWithoutImage()
1009 CHECK(class_root != nullptr); in InitWithoutImage()
1010 SetClassRoot(ClassRoot::kJavaLangInvokeByteBufferViewVarHandle, class_root); in InitWithoutImage()
1012 class_root = FindSystemClass(self, "Ldalvik/system/EmulatedStackFrame;"); in InitWithoutImage()
1013 CHECK(class_root != nullptr); in InitWithoutImage()
1014 SetClassRoot(ClassRoot::kDalvikSystemEmulatedStackFrame, class_root); in InitWithoutImage()
1023 class_root = FindSystemClass(self, "Ljava/lang/ref/FinalizerReference;"); in InitWithoutImage()
1024 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal); in InitWithoutImage()
1025 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagFinalizerReference); in InitWithoutImage()
1026 class_root = FindSystemClass(self, "Ljava/lang/ref/PhantomReference;"); in InitWithoutImage()
1027 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal); in InitWithoutImage()
1028 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagPhantomReference); in InitWithoutImage()
1029 class_root = FindSystemClass(self, "Ljava/lang/ref/SoftReference;"); in InitWithoutImage()
1030 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal); in InitWithoutImage()
1031 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagSoftReference); in InitWithoutImage()
1032 class_root = FindSystemClass(self, "Ljava/lang/ref/WeakReference;"); in InitWithoutImage()
1033 CHECK_EQ(class_root->GetClassFlags(), mirror::kClassFlagNormal); in InitWithoutImage()
1034 class_root->SetClassFlags(class_root->GetClassFlags() | mirror::kClassFlagWeakReference); in InitWithoutImage()
1037 class_root = FindSystemClass(self, "Ljava/lang/ClassLoader;"); in InitWithoutImage()
1038 class_root->SetClassLoaderClass(); in InitWithoutImage()
1039 CHECK_EQ(class_root->GetObjectSize(), mirror::ClassLoader::InstanceSize()); in InitWithoutImage()
1040 SetClassRoot(ClassRoot::kJavaLangClassLoader, class_root); in InitWithoutImage()
1113 ClassRoot class_root = static_cast<ClassRoot>(i); in FinishInit() local
1114 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in FinishInit()
4692 ClassRoot class_root; in LookupPrimitiveClass() local
4694 case 'B': class_root = ClassRoot::kPrimitiveByte; break; in LookupPrimitiveClass()
4695 case 'C': class_root = ClassRoot::kPrimitiveChar; break; in LookupPrimitiveClass()
4696 case 'D': class_root = ClassRoot::kPrimitiveDouble; break; in LookupPrimitiveClass()
4697 case 'F': class_root = ClassRoot::kPrimitiveFloat; break; in LookupPrimitiveClass()
4698 case 'I': class_root = ClassRoot::kPrimitiveInt; break; in LookupPrimitiveClass()
4699 case 'J': class_root = ClassRoot::kPrimitiveLong; break; in LookupPrimitiveClass()
4700 case 'S': class_root = ClassRoot::kPrimitiveShort; break; in LookupPrimitiveClass()
4701 case 'Z': class_root = ClassRoot::kPrimitiveBoolean; break; in LookupPrimitiveClass()
4702 case 'V': class_root = ClassRoot::kPrimitiveVoid; break; in LookupPrimitiveClass()
4706 return GetClassRoot(class_root, this); in LookupPrimitiveClass()
10765 void ClassLinker::SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass) { in SetClassRoot() argument
10773 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in SetClassRoot()
10774 int32_t index = static_cast<int32_t>(class_root); in SetClassRoot()