• Home
  • Raw
  • Download

Lines Matching refs:klass

180 inline bool Object::VerifierInstanceOf(Class* klass) {  in VerifierInstanceOf()  argument
181 DCHECK(klass != NULL); in VerifierInstanceOf()
183 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()
187 inline bool Object::InstanceOf(Class* klass) { in InstanceOf() argument
188 DCHECK(klass != NULL); in InstanceOf()
190 return klass->IsAssignableFrom(GetClass<kVerifyFlags>()); in InstanceOf()
764 for (mirror::Class* klass = kIsStatic ? AsClass() : GetClass(); klass != nullptr; in VisitFieldsReferences() local
765 klass = kIsStatic ? nullptr : klass->GetSuperClass()) { in VisitFieldsReferences()
767 kIsStatic ? klass->NumReferenceStaticFields() : klass->NumReferenceInstanceFields(); in VisitFieldsReferences()
769 mirror::ArtField* field = kIsStatic ? klass->GetStaticField(i) : klass->GetInstanceField(i); in VisitFieldsReferences()
781 inline void Object::VisitInstanceFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitInstanceFieldsReferences() argument
783 klass->GetReferenceInstanceOffsets<kVerifyNone>(), visitor); in VisitInstanceFieldsReferences()
787 inline void Object::VisitStaticFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitStaticFieldsReferences() argument
788 DCHECK(!klass->IsTemp()); in VisitStaticFieldsReferences()
789 klass->VisitFieldsReferences<kVisitClass, true>( in VisitStaticFieldsReferences()
790 klass->GetReferenceStaticOffsets<kVerifyNone>(), visitor); in VisitStaticFieldsReferences()
797 mirror::Class* klass = GetClass<kVerifyFlags>(); in VisitReferences() local
798 if (klass == Class::GetJavaLangClass()) { in VisitReferences()
799 AsClass<kVerifyNone>()->VisitReferences<kVisitClass>(klass, visitor); in VisitReferences()
800 } else if (klass->IsArrayClass()) { in VisitReferences()
801 if (klass->IsObjectArrayClass<kVerifyNone>()) { in VisitReferences()
807 DCHECK(!klass->IsVariableSize()); in VisitReferences()
808 VisitInstanceFieldsReferences<kVisitClass>(klass, visitor); in VisitReferences()
809 if (UNLIKELY(klass->IsTypeOfReferenceClass<kVerifyNone>())) { in VisitReferences()
810 ref_visitor(klass, AsReference()); in VisitReferences()