Searched refs:AsClass (Results 1 – 18 of 18) sorted by relevance
227 ArtField* fields = AsClass()->GetSFields(); in CheckFieldAssignmentImpl()228 for (size_t i = 0, count = AsClass()->NumStaticFields(); i < count; ++i) { in CheckFieldAssignmentImpl()247 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
29 Class* interface = GetWithoutChecks((i * kMax) + kInterface)->AsClass(); in GetInterface()
233 inline Class* Object::AsClass() { in AsClass() function433 result = AsClass<kNewFlags, kReadBarrierOption>()-> in SizeOf()959 for (mirror::Class* klass = kIsStatic ? AsClass() : GetClass(); klass != nullptr; in VisitFieldsReferences()1002 AsClass<kVerifyNone>()->VisitReferences<kVisitClass>(klass, visitor); in VisitReferences()
840 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()874 return new_class->AsClass(); in CopyOf()
150 Class* AsClass() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
178 mirror::Class* klass = param->AsClass(); in UnstartedClassNewInstance()229 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()857 mirror::Class* element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()902 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()955 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()968 mirror::Class* element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()1040 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()1048 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
406 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot()691 Class* klass = obj->AsClass(); in CheckNonImageClassesRemovedCallback()825 auto* as_klass = h_obj->AsClass(); in WalkFieldsInOrder()1307 FixupClass(orig->AsClass<kVerifyNone>(), down_cast<mirror::Class*>(copy)); in FixupObject()
891 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()947 DumpHeapClass(obj->AsClass()); in DumpHeapObject()
404 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()409 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
1589 mirror::Class* klass = value->AsClass(); in PrettyObjectValue()1715 mirror::Class* klass = obj->AsClass(); in Callback()1752 mirror::Class* klass = obj->AsClass(); in Callback()
402 result += "<" + PrettyDescriptor(obj->AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
1328 CHECK_EQ(e->GetClass(), DecodeJObject(WellKnownClasses::java_lang_OutOfMemoryError)->AsClass()) in AssertPendingOOMException()
470 return o->AsClass(); in DecodeClass()782 return GetClassName(o->AsClass()); in GetClassName()
1059 auto klass = obj->AsClass(); in SanityCheckObjectsCallback()1517 return k->AsClass(); in AllocClass()
588 mirror::Class* c = o->AsClass(); in CheckFieldAccess()
600 auto* klass = object->AsClass(); in VisitObject()
676 result += "<" + SafeGetClassDescriptor(obj->AsClass<kVerifyNone>()) + ">"; in SafePrettyTypeOf()2885 mirror::Class* klass = is_static ? obj->AsClass() : obj->GetClass(); in operator ()()
949 MaybeAddToImageClasses(hs.NewHandle(object->AsClass()), image_class_descriptors_); in VisitClinitClassesObject()