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.cc181 const char* descriptor = obj->AsClass()->GetDescriptor(&temp); in HandleEarlierVerifyError()
191 self->DecodeJObject(WellKnownClasses::java_lang_Throwable)->AsClass(); in HandleEarlierVerifyError()
210 extra = mirror::Class::PrettyDescriptor(verify_error->AsClass()); in ThrowEarlierClassFailure()
937 ObjPtr<mirror::Class> klass = obj->AsClass(); in InitFromBootImage()
1639 auto klass = obj->AsClass(); in CheckObjects()
2395 return k->AsClass(); in AllocClass()
Dthread.cc2083 CHECK_EQ(e->GetClass(), DecodeJObject(WellKnownClasses::java_lang_OutOfMemoryError)->AsClass()) in AssertPendingOOMException()
3252 method->CASDeclaringClass(klass.Ptr(), new_ref->AsClass()); in VisitDeclaringClass()
/art/runtime/native/
Djava_lang_VMClassLoader.cc89 self->DecodeJObject(WellKnownClasses::java_lang_IllegalAccessError)->AsClass(); in VMClassLoader_findLoadedClass()
91 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.h51 ObjPtr<Class> as_klass = AsClass<kVerifyNone, kReadBarrierOption>(); in VisitReferences()
Dobject-inl.h175 inline Class* Object::AsClass() { in AsClass() function
381 result = AsClass<kNewFlags, kReadBarrierOption>()-> in SizeOf()
978 ? AsClass<kVerifyFlags, kReadBarrierOption>() in VisitFieldsReferences()
Dclass.cc1135 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1173 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()
1640 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1700 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1760 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1773 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()
1851 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.cc212 art::ObjPtr<art::mirror::Class> klass = obj->AsClass(); in ReportFields()
218 obj->AsClass(), in ReportFields()
219 obj->AsClass()->IsInterface(), in ReportFields()
1010 VisitClass(obj->AsClass()); in VisitObject()
Dti_redefine.cc232 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClass()
259 if (klass.Get() == art::Thread::Current()->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
449 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1485 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
Dti_class.cc1010 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1038 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1068 art::Handle<art::mirror::Class> klass(hs.NewHandle(jklass_obj->AsClass())); in GetSourceDebugExtension()
/art/runtime/gc/
Dallocation_record.cc135 klass = GcRoot<mirror::Class>(new_object->AsClass()); in SweepClassObject()
/art/compiler/
Dimage_writer.cc566 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot()
772 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
782 image_writer_->PruneAppImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
876 result = result || PruneAppImageClassInternal(ref->AsClass(), in PruneAppImageClassInternal()
1215 Class* klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1377 mirror::Class* as_klass = obj->AsClass(); in TryAssignBinSlot()
2375 FixupClass(orig->AsClass<kVerifyNone>(), down_cast<mirror::Class*>(copy)); in FixupObject()
/art/runtime/gc/space/
Dspace_test.h65 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
Dimage_space.cc1012 mirror::Class* klass = obj->AsClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()()
1031 mirror::Class* as_klass = obj->AsClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()()
/art/imgdiag/
Dimgdiag.cc436 << "Class " << mirror::Class::PrettyClass(entry->AsClass()) << " " << entry << "\n"; in DiffEntryContents()
454 field = ArtField::FindStaticFieldWithOffset</*exact*/false>(entry->AsClass(), i); in DiffEntryContents()
502 os_ << "Private dirty object: " << obj->AsClass()->PrettyDescriptor() << "\n"; in DumpDirtyObjects()
/art/runtime/hprof/
Dhprof.cc1082 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1182 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.cc656 mirror::Class* klass = object->AsClass(); in VisitObject()
/art/oatdump/
Doatdump.cc2064 mirror::Class* klass = value->AsClass(); in PrettyObjectValue()
2188 mirror::Class* klass = obj->AsClass(); in DumpObject()
2224 mirror::Class* klass = obj->AsClass(); in DumpObject()

12