Home
last modified time | relevance | path

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

12

/art/runtime/
Dnon_debuggable_classes.cc33 ObjPtr<mirror::Class> mirror_klass(self->DecodeJObject(klass)->AsClass()); in AddNonDebuggableClass()
35 if (self->DecodeJObject(c)->AsClass() == mirror_klass.Ptr()) { in AddNonDebuggableClass()
Dclass_linker.cc176 const char* descriptor = obj->AsClass()->GetDescriptor(&temp); in HandleEarlierVerifyError()
186 self->DecodeJObject(WellKnownClasses::java_lang_Throwable)->AsClass(); in HandleEarlierVerifyError()
205 extra = mirror::Class::PrettyDescriptor(verify_error->AsClass()); in ThrowEarlierClassFailure()
864 ObjPtr<mirror::Class> klass = obj->AsClass(); in CheckTrampolines()
1545 auto klass = obj->AsClass(); in SanityCheckObjectsCallback()
2284 return k->AsClass(); in AllocClass()
Dthread.cc2009 CHECK_EQ(e->GetClass(), DecodeJObject(WellKnownClasses::java_lang_OutOfMemoryError)->AsClass()) in AssertPendingOOMException()
3176 method->CASDeclaringClass(klass.Ptr(), new_ref->AsClass()); in VisitDeclaringClass()
Ddex_file_annotations.cc1304 return obj->AsClass(); in GetDeclaringClass()
/art/runtime/native/
Djava_lang_VMClassLoader.cc86 self->DecodeJObject(WellKnownClasses::java_lang_IllegalAccessError)->AsClass(); in VMClassLoader_findLoadedClass()
88 self->DecodeJObject(WellKnownClasses::java_lang_NoClassDefFoundError)->AsClass(); in VMClassLoader_findLoadedClass()
/art/runtime/mirror/
Dobject.cc255 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
273 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
295 result += "<" + PrettyDescriptor(AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
Diftable.h29 Class* interface = GetWithoutChecks((i * kMax) + kInterface)->AsClass(); in GetInterface()
Dobject-refvisitor-inl.h49 ObjPtr<Class> as_klass = AsClass<kVerifyNone, kReadBarrierOption>(); in VisitReferences()
Dobject-inl.h176 inline Class* Object::AsClass() { in AsClass() function
382 result = AsClass<kNewFlags, kReadBarrierOption>()-> in SizeOf()
952 ? AsClass<kVerifyFlags, kReadBarrierOption>() in VisitFieldsReferences()
Dclass.cc1070 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1108 return new_class->AsClass(); in CopyOf()
Dobject.h185 Class* AsClass() REQUIRES_SHARED(Locks::mutator_lock_);
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc58 mirror::Class* as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/runtime/interpreter/
Dunstarted_runtime.cc243 mirror::Class* klass = param->AsClass(); in UnstartedClassNewInstance()
294 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
344 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
379 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
432 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1642 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1702 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1762 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1775 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()
1853 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
[all …]
/art/runtime/openjdkjvmti/
Dti_class_definition.cc142 art::Handle<art::mirror::Class> m_klass(hs.NewHandle(self->DecodeJObject(klass)->AsClass())); in Init()
Dti_heap.cc210 art::ObjPtr<art::mirror::Class> klass = obj->AsClass(); in ReportFields()
216 obj->AsClass(), in ReportFields()
217 obj->AsClass()->IsInterface(), in ReportFields()
1052 VisitClass(obj->AsClass()); in VisitObject()
Dti_redefine.cc229 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClass()
256 if (klass.Get() == art::Thread::Current()->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
446 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1452 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
Dti_class.cc970 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
/art/runtime/gc/
Dallocation_record.cc134 klass = GcRoot<mirror::Class>(new_object->AsClass()); in SweepClassObject()
/art/runtime/gc/space/
Dspace_test.h65 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/imgdiag/
Dimgdiag.cc229 os << tabs << "Class " << mirror::Class::PrettyClass(obj->AsClass()) << " " << obj << "\n"; in DiffObjectContents()
244 field = ArtField::FindStaticFieldWithOffset</*exact*/false>(obj->AsClass(), i); in DiffObjectContents()
/art/compiler/
Dimage_writer.cc554 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot()
793 result = result || PruneAppImageClassInternal(ref->AsClass(), in PruneAppImageClassInternal()
1092 Class* klass = obj->AsClass(); in CheckNonImageClassesRemovedCallback()
1250 mirror::Class* as_klass = obj->AsClass(); in TryAssignBinSlot()
2250 FixupClass(orig->AsClass<kVerifyNone>(), down_cast<mirror::Class*>(copy)); in FixupObject()
/art/runtime/hprof/
Dhprof.cc1099 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1163 DumpHeapClass(obj->AsClass()); in DumpHeapObject()
/art/runtime/gc/collector/
Dmark_sweep.cc445 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()
450 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
/art/patchoat/
Dpatchoat.cc639 mirror::Class* klass = object->AsClass(); in VisitObject()
/art/oatdump/
Doatdump.cc2001 mirror::Class* klass = value->AsClass(); in PrettyObjectValue()
2127 mirror::Class* klass = obj->AsClass(); in Callback()
2163 mirror::Class* klass = obj->AsClass(); in Callback()

12