Lines Matching refs:Class

40 GcRoot<Class> Class::java_lang_Class_;
42 void Class::SetClassClass(Class* java_lang_Class) { in SetClassClass()
47 java_lang_Class_ = GcRoot<Class>(java_lang_Class); in SetClassClass()
50 void Class::ResetClass() { in ResetClass()
52 java_lang_Class_ = GcRoot<Class>(nullptr); in ResetClass()
55 void Class::VisitRoots(RootVisitor* visitor) { in VisitRoots()
59 void Class::SetStatus(Handle<Class> h_this, Status new_status, Thread* self) { in SetStatus()
85 Class* eiie_class; in SetStatus()
103 Class* exception_class = old_exception->GetClass(); in SetStatus()
114 h_this->SetField32Volatile<true>(OFFSET_OF_OBJECT_MEMBER(Class, status_), new_status); in SetStatus()
116 h_this->SetField32Volatile<false>(OFFSET_OF_OBJECT_MEMBER(Class, status_), new_status); in SetStatus()
142 void Class::SetDexCache(DexCache* new_dex_cache) { in SetDexCache()
143 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_), new_dex_cache); in SetDexCache()
147 void Class::SetClassSize(uint32_t new_class_size) { in SetClassSize()
154 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(Class, class_size_), new_class_size); in SetClassSize()
161 String* Class::ComputeName(Handle<Class> h_this) { in ComputeName()
196 void Class::DumpClass(std::ostream& os, int flags) { in DumpClass()
211 Handle<mirror::Class> h_this(hs.NewHandle(this)); in DumpClass()
212 Handle<mirror::Class> h_super(hs.NewHandle(GetSuperClass())); in DumpClass()
233 Class* interface = GetDirectInterface(self, h_this, i); in DumpClass()
280 void Class::SetReferenceInstanceOffsets(uint32_t new_reference_offsets) { in SetReferenceInstanceOffsets()
285 for (Class* c = this; c != nullptr; c = c->GetSuperClass()) { in SetReferenceInstanceOffsets()
292 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(Class, reference_instance_offsets_), in SetReferenceInstanceOffsets()
296 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage()
310 bool Class::IsInSamePackage(Class* that) { in IsInSamePackage()
311 Class* klass1 = this; in IsInSamePackage()
312 Class* klass2 = that; in IsInSamePackage()
336 bool Class::IsThrowableClass() { in IsThrowableClass()
340 void Class::SetClassLoader(ClassLoader* new_class_loader) { in SetClassLoader()
342 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Class, class_loader_), new_class_loader); in SetClassLoader()
344 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Class, class_loader_), new_class_loader); in SetClassLoader()
348 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature, in FindInterfaceMethod()
367 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature, in FindInterfaceMethod()
386 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx, in FindInterfaceMethod()
406 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDeclaredDirectMethod()
416 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature, in FindDeclaredDirectMethod()
426 ArtMethod* Class::FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx, in FindDeclaredDirectMethod()
438 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDirectMethod()
440 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod()
449 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const Signature& signature, in FindDirectMethod()
451 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod()
460 ArtMethod* Class::FindDirectMethod( in FindDirectMethod()
462 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod()
471 ArtMethod* Class::FindDeclaredVirtualMethod(const StringPiece& name, const StringPiece& signature, in FindDeclaredVirtualMethod()
482 ArtMethod* Class::FindDeclaredVirtualMethod(const StringPiece& name, const Signature& signature, in FindDeclaredVirtualMethod()
493 ArtMethod* Class::FindDeclaredVirtualMethod(const DexCache* dex_cache, uint32_t dex_method_idx, in FindDeclaredVirtualMethod()
507 ArtMethod* Class::FindVirtualMethod( in FindVirtualMethod()
509 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod()
518 ArtMethod* Class::FindVirtualMethod( in FindVirtualMethod()
520 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod()
529 ArtMethod* Class::FindVirtualMethod( in FindVirtualMethod()
531 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod()
540 ArtMethod* Class::FindClassInitializer(size_t pointer_size) { in FindClassInitializer()
551 ArtField* Class::FindDeclaredInstanceField(const StringPiece& name, const StringPiece& type) { in FindDeclaredInstanceField()
563 ArtField* Class::FindDeclaredInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { in FindDeclaredInstanceField()
575 ArtField* Class::FindInstanceField(const StringPiece& name, const StringPiece& type) { in FindInstanceField()
578 for (Class* c = this; c != nullptr; c = c->GetSuperClass()) { in FindInstanceField()
587 ArtField* Class::FindInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) { in FindInstanceField()
590 for (Class* c = this; c != nullptr; c = c->GetSuperClass()) { in FindInstanceField()
599 ArtField* Class::FindDeclaredStaticField(const StringPiece& name, const StringPiece& type) { in FindDeclaredStaticField()
610 ArtField* Class::FindDeclaredStaticField(const DexCache* dex_cache, uint32_t dex_field_idx) { in FindDeclaredStaticField()
622 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindStaticField()
626 for (Class* k = klass.Get(); k != nullptr; k = k->GetSuperClass()) { in FindStaticField()
634 HandleWrapper<mirror::Class> h_k(hs.NewHandleWrapper(&k)); in FindStaticField()
638 Handle<mirror::Class> interface(hs2.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField()
648 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const DexCache* dex_cache, in FindStaticField()
650 for (Class* k = klass.Get(); k != nullptr; k = k->GetSuperClass()) { in FindStaticField()
658 HandleWrapper<mirror::Class> h_k(hs.NewHandleWrapper(&k)); in FindStaticField()
662 Handle<mirror::Class> interface(hs2.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField()
672 ArtField* Class::FindField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindField()
675 for (Class* k = klass.Get(); k != nullptr; k = k->GetSuperClass()) { in FindField()
687 HandleWrapper<mirror::Class> h_k(hs.NewHandleWrapper(&k)); in FindField()
690 Handle<mirror::Class> interface(hs2.NewHandle(GetDirectInterface(self, h_k, i))); in FindField()
700 void Class::SetPreverifiedFlagOnAllMethods(size_t pointer_size) { in SetPreverifiedFlagOnAllMethods()
714 const char* Class::GetDescriptor(std::string* storage) { in GetDescriptor()
729 const char* Class::GetArrayDescriptor(std::string* storage) { in GetArrayDescriptor()
737 const DexFile::ClassDef* Class::GetClassDef() { in GetClassDef()
745 uint16_t Class::GetDirectInterfaceTypeIdx(uint32_t idx) { in GetDirectInterfaceTypeIdx()
751 mirror::Class* Class::GetDirectInterface(Thread* self, Handle<mirror::Class> klass, in GetDirectInterface()
764 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); in GetDirectInterface()
769 mirror::Class* interface = klass->GetDexCache()->GetResolvedType(type_idx); in GetDirectInterface()
779 const char* Class::GetSourceFile() { in GetSourceFile()
789 std::string Class::GetLocation() { in GetLocation()
798 const DexFile::TypeList* Class::GetInterfaceTypeList() { in GetInterfaceTypeList()
806 void Class::PopulateEmbeddedImtAndVTable(ArtMethod* const (&methods)[kImtSize], in PopulateEmbeddedImtAndVTable()
830 explicit CopyClassVisitor(Thread* self, Handle<mirror::Class>* orig, size_t new_length, in CopyClassVisitor()
831 size_t copy_bytes, ArtMethod* const (&imt)[mirror::Class::kImtSize], in CopyClassVisitor()
840 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
842 mirror::Class::SetStatus(h_new_class_obj, Class::kStatusResolving, self_); in operator ()()
849 Handle<mirror::Class>* const orig_;
852 ArtMethod* const (&imt_)[mirror::Class::kImtSize];
857 Class* Class::CopyOf(Thread* self, int32_t new_length, in CopyOf()
858 ArtMethod* const (&imt)[mirror::Class::kImtSize], size_t pointer_size) { in CopyOf()
859 DCHECK_GE(new_length, static_cast<int32_t>(sizeof(Class))); in CopyOf()
862 Handle<mirror::Class> h_this(hs.NewHandle(this)); in CopyOf()
866 CopyClassVisitor visitor(self, &h_this, new_length, sizeof(Class), imt, pointer_size); in CopyOf()
877 bool Class::ProxyDescriptorEquals(const char* match) { in ProxyDescriptorEquals()
883 ArtMethod* Class::GetDeclaredConstructor( in GetDeclaredConstructor()
884 Thread* self, Handle<mirror::ObjectArray<mirror::Class>> args) { in GetDeclaredConstructor()
901 uint32_t Class::Depth() { in Depth()
903 for (Class* klass = this; klass->GetSuperClass() != nullptr; klass = klass->GetSuperClass()) { in Depth()