Home
last modified time | relevance | path

Searched refs:AsClass (Results 1 – 18 of 18) sorted by relevance

/art/runtime/mirror/
Dobject.cc227 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()
Diftable.h29 Class* interface = GetWithoutChecks((i * kMax) + kInterface)->AsClass(); in GetInterface()
Dobject-inl.h233 inline Class* Object::AsClass() { in AsClass() function
433 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()
Dclass.cc840 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
874 return new_class->AsClass(); in CopyOf()
Dobject.h150 Class* AsClass() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/runtime/interpreter/
Dunstarted_runtime.cc178 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()
/art/compiler/
Dimage_writer.cc406 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()
/art/runtime/hprof/
Dhprof.cc891 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
947 DumpHeapClass(obj->AsClass()); in DumpHeapObject()
/art/runtime/gc/collector/
Dmark_sweep.cc404 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()
409 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
/art/oatdump/
Doatdump.cc1589 mirror::Class* klass = value->AsClass(); in PrettyObjectValue()
1715 mirror::Class* klass = obj->AsClass(); in Callback()
1752 mirror::Class* klass = obj->AsClass(); in Callback()
/art/runtime/
Dutils.cc402 result += "<" + PrettyDescriptor(obj->AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
Dthread.cc1328 CHECK_EQ(e->GetClass(), DecodeJObject(WellKnownClasses::java_lang_OutOfMemoryError)->AsClass()) in AssertPendingOOMException()
Ddebugger.cc470 return o->AsClass(); in DecodeClass()
782 return GetClassName(o->AsClass()); in GetClassName()
Dclass_linker.cc1059 auto klass = obj->AsClass(); in SanityCheckObjectsCallback()
1517 return k->AsClass(); in AllocClass()
Dcheck_jni.cc588 mirror::Class* c = o->AsClass(); in CheckFieldAccess()
/art/patchoat/
Dpatchoat.cc600 auto* klass = object->AsClass(); in VisitObject()
/art/runtime/gc/
Dheap.cc676 result += "<" + SafeGetClassDescriptor(obj->AsClass<kVerifyNone>()) + ">"; in SafePrettyTypeOf()
2885 mirror::Class* klass = is_static ? obj->AsClass() : obj->GetClass(); in operator ()()
/art/compiler/driver/
Dcompiler_driver.cc949 MaybeAddToImageClasses(hs.NewHandle(object->AsClass()), image_class_descriptors_); in VisitClinitClassesObject()