• Home
  • Raw
  • Download

Lines Matching refs:ClassRoot

544                                                 static_cast<int32_t>(ClassRoot::kMax)));  in InitWithoutImage()
546 SetClassRoot(ClassRoot::kJavaLangClass, java_lang_Class.Get()); in InitWithoutImage()
547 SetClassRoot(ClassRoot::kJavaLangObject, java_lang_Object.Get()); in InitWithoutImage()
548 SetClassRoot(ClassRoot::kClassArrayClass, class_array_class.Get()); in InitWithoutImage()
549 SetClassRoot(ClassRoot::kObjectArrayClass, object_array_class.Get()); in InitWithoutImage()
550 SetClassRoot(ClassRoot::kJavaLangString, java_lang_String.Get()); in InitWithoutImage()
551 SetClassRoot(ClassRoot::kJavaLangRefReference, java_lang_ref_Reference.Get()); in InitWithoutImage()
561 SetClassRoot(ClassRoot::kPrimitiveBoolean, CreatePrimitiveClass(self, Primitive::kPrimBoolean)); in InitWithoutImage()
562 SetClassRoot(ClassRoot::kPrimitiveByte, CreatePrimitiveClass(self, Primitive::kPrimByte)); in InitWithoutImage()
563 SetClassRoot(ClassRoot::kPrimitiveChar, CreatePrimitiveClass(self, Primitive::kPrimChar)); in InitWithoutImage()
564 SetClassRoot(ClassRoot::kPrimitiveShort, CreatePrimitiveClass(self, Primitive::kPrimShort)); in InitWithoutImage()
565 SetClassRoot(ClassRoot::kPrimitiveInt, CreatePrimitiveClass(self, Primitive::kPrimInt)); in InitWithoutImage()
566 SetClassRoot(ClassRoot::kPrimitiveLong, CreatePrimitiveClass(self, Primitive::kPrimLong)); in InitWithoutImage()
567 SetClassRoot(ClassRoot::kPrimitiveFloat, CreatePrimitiveClass(self, Primitive::kPrimFloat)); in InitWithoutImage()
568 SetClassRoot(ClassRoot::kPrimitiveDouble, CreatePrimitiveClass(self, Primitive::kPrimDouble)); in InitWithoutImage()
569 SetClassRoot(ClassRoot::kPrimitiveVoid, CreatePrimitiveClass(self, Primitive::kPrimVoid)); in InitWithoutImage()
574 int_array_class->SetComponentType(GetClassRoot(ClassRoot::kPrimitiveInt, this)); in InitWithoutImage()
575 SetClassRoot(ClassRoot::kIntArrayClass, int_array_class.Get()); in InitWithoutImage()
580 long_array_class->SetComponentType(GetClassRoot(ClassRoot::kPrimitiveLong, this)); in InitWithoutImage()
581 SetClassRoot(ClassRoot::kLongArrayClass, long_array_class.Get()); in InitWithoutImage()
588 SetClassRoot(ClassRoot::kJavaLangDexCache, java_lang_DexCache.Get()); in InitWithoutImage()
597 SetClassRoot(ClassRoot::kDalvikSystemClassExt, dalvik_system_ClassExt.Get()); in InitWithoutImage()
605 SetClassRoot(ClassRoot::kJavaLangStringArrayClass, object_array_string.Get()); in InitWithoutImage()
657 ClassRoot::kBooleanArrayClass, in InitWithoutImage()
658 ClassRoot::kPrimitiveBoolean, in InitWithoutImage()
662 self, java_lang_Class.Get(), ClassRoot::kByteArrayClass, ClassRoot::kPrimitiveByte, "[B"); in InitWithoutImage()
665 self, java_lang_Class.Get(), ClassRoot::kCharArrayClass, ClassRoot::kPrimitiveChar, "[C"); in InitWithoutImage()
668 self, java_lang_Class.Get(), ClassRoot::kShortArrayClass, ClassRoot::kPrimitiveShort, "[S"); in InitWithoutImage()
674 self, java_lang_Class.Get(), ClassRoot::kFloatArrayClass, ClassRoot::kPrimitiveFloat, "[F"); in InitWithoutImage()
677 self, java_lang_Class.Get(), ClassRoot::kDoubleArrayClass, ClassRoot::kPrimitiveDouble, "[D"); in InitWithoutImage()
708 FindSystemClass(self, GetClassRootDescriptor(ClassRoot::kJavaLangStringArrayClass))); in InitWithoutImage()
713 SetClassRoot(ClassRoot::kJavaLangReflectProxy, in InitWithoutImage()
719 SetClassRoot(ClassRoot::kJavaLangReflectField, class_root); in InitWithoutImage()
724 SetClassRoot(ClassRoot::kJavaLangReflectFieldArrayClass, class_root); in InitWithoutImage()
729 SetClassRoot(ClassRoot::kJavaLangReflectConstructor, class_root); in InitWithoutImage()
732 SetClassRoot(ClassRoot::kJavaLangReflectConstructorArrayClass, class_root); in InitWithoutImage()
737 SetClassRoot(ClassRoot::kJavaLangReflectMethod, class_root); in InitWithoutImage()
740 SetClassRoot(ClassRoot::kJavaLangReflectMethodArrayClass, class_root); in InitWithoutImage()
745 SetClassRoot(ClassRoot::kJavaLangInvokeCallSite, class_root); in InitWithoutImage()
750 SetClassRoot(ClassRoot::kJavaLangInvokeMethodType, class_root); in InitWithoutImage()
755 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandleImpl, class_root); in InitWithoutImage()
756 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandle, class_root->GetSuperClass()); in InitWithoutImage()
761 SetClassRoot(ClassRoot::kJavaLangInvokeMethodHandlesLookup, class_root); in InitWithoutImage()
766 SetClassRoot(ClassRoot::kJavaLangInvokeVarHandle, class_root); in InitWithoutImage()
771 SetClassRoot(ClassRoot::kJavaLangInvokeFieldVarHandle, class_root); in InitWithoutImage()
776 SetClassRoot(ClassRoot::kJavaLangInvokeArrayElementVarHandle, class_root); in InitWithoutImage()
781 SetClassRoot(ClassRoot::kJavaLangInvokeByteArrayViewVarHandle, class_root); in InitWithoutImage()
786 SetClassRoot(ClassRoot::kJavaLangInvokeByteBufferViewVarHandle, class_root); in InitWithoutImage()
790 SetClassRoot(ClassRoot::kDalvikSystemEmulatedStackFrame, class_root); in InitWithoutImage()
816 SetClassRoot(ClassRoot::kJavaLangClassLoader, class_root); in InitWithoutImage()
820 SetClassRoot(ClassRoot::kJavaLangThrowable, FindSystemClass(self, "Ljava/lang/Throwable;")); in InitWithoutImage()
821 SetClassRoot(ClassRoot::kJavaLangClassNotFoundException, in InitWithoutImage()
823 SetClassRoot(ClassRoot::kJavaLangStackTraceElement, in InitWithoutImage()
825 SetClassRoot(ClassRoot::kJavaLangStackTraceElementArrayClass, in InitWithoutImage()
827 SetClassRoot(ClassRoot::kJavaLangClassLoaderArrayClass, in InitWithoutImage()
888 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); i++) { in FinishInit()
889 ClassRoot class_root = static_cast<ClassRoot>(i); in FinishInit()
921 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); ++i) { in RunRootClinits()
922 ObjPtr<mirror::Class> c = GetClassRoot(ClassRoot(i), this); in RunRootClinits()
2025 if (class_roots->GetLength() != static_cast<int32_t>(ClassRoot::kMax)) { in AddImageSpace()
2028 static_cast<int32_t>(ClassRoot::kMax)); in AddImageSpace()
2033 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); i++) { in AddImageSpace()
2034 if (class_roots->Get(i) != GetClassRoot(static_cast<ClassRoot>(i), existing_class_roots)) { in AddImageSpace()
2816 throwable->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, in MatchesDexFileCaughtExceptions()
4283 ClassRoot class_root; in LookupPrimitiveClass()
4285 case 'B': class_root = ClassRoot::kPrimitiveByte; break; in LookupPrimitiveClass()
4286 case 'C': class_root = ClassRoot::kPrimitiveChar; break; in LookupPrimitiveClass()
4287 case 'D': class_root = ClassRoot::kPrimitiveDouble; break; in LookupPrimitiveClass()
4288 case 'F': class_root = ClassRoot::kPrimitiveFloat; break; in LookupPrimitiveClass()
4289 case 'I': class_root = ClassRoot::kPrimitiveInt; break; in LookupPrimitiveClass()
4290 case 'J': class_root = ClassRoot::kPrimitiveLong; break; in LookupPrimitiveClass()
4291 case 'S': class_root = ClassRoot::kPrimitiveShort; break; in LookupPrimitiveClass()
4292 case 'Z': class_root = ClassRoot::kPrimitiveBoolean; break; in LookupPrimitiveClass()
4293 case 'V': class_root = ClassRoot::kPrimitiveVoid; break; in LookupPrimitiveClass()
8492 if (cause->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, this))) { in DoResolveType()
8981 return_type = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, this)); in ResolveMethodHandleForField()
8991 return_type = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, this)); in ResolveMethodHandleForField()
9360 void ClassLinker::SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass) { in SetClassRoot()
9368 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in SetClassRoot()
9376 ClassRoot primitive_array_class_root, in AllocAndSetPrimitiveArrayClassRoot()
9377 ClassRoot primitive_class_root, in AllocAndSetPrimitiveArrayClassRoot()