Home
last modified time | relevance | path

Searched refs:AsClass (Results 1 – 25 of 32) 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) { in AddNonDebuggableClass()
Daot_class_linker.cc58 runtime->EnterTransactionMode(true, klass.Get()->AsClass().Ptr()); in InitializeClass()
Druntime_callbacks_test.cc452 ObjPtr<mirror::Class> k = obj->AsClass(); in IsInterestingObject()
460 ObjPtr<mirror::Class> k = obj->AsClass(); in SetInterestingObject()
/art/runtime/native/
Djava_lang_VMClassLoader.cc97 self->DecodeJObject(WellKnownClasses::java_lang_IllegalAccessError)->AsClass(); in VMClassLoader_findLoadedClass()
99 self->DecodeJObject(WellKnownClasses::java_lang_NoClassDefFoundError)->AsClass(); in VMClassLoader_findLoadedClass()
/art/test/661-oat-writer-layout/
Doat_writer_layout.cc55 ObjPtr<mirror::Class> klass_ptr = self->DecodeJObject(kls)->AsClass(); in Java_Main_hasOatCompiledCode()
/art/runtime/mirror/
Dobject.cc260 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
279 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
298 result += "<" + PrettyDescriptor(AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
Diftable-inl.h31 GetWithoutChecks<kVerifyFlags, kReadBarrierOption>((i * kMax) + kInterface)->AsClass(); in GetInterface()
Dobject-refvisitor-inl.h51 ObjPtr<Class> as_klass = AsClass<kVerifyNone>(); in VisitReferences()
Dobject-inl.h151 inline ObjPtr<Class> Object::AsClass() { in AsClass() function
357 result = AsClass<kNewFlags>()->template SizeOf<kNewFlags>(); in SizeOf()
883 ? AsClass<kVerifyFlags>() in VisitFieldsReferences()
Dclass.cc1187 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1227 return new_class->AsClass(); in CopyOf()
Dobject.h175 ObjPtr<Class> AsClass() REQUIRES_SHARED(Locks::mutator_lock_);
/art/openjdkjvmti/
Dti_class_definition.cc270 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
294 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
313 art::Handle<art::mirror::Class> m_klass(hs.NewHandle(self->DecodeJObject(klass)->AsClass())); in Init()
Dti_class_loader.cc144 art::WellKnownClasses::dalvik_system_BaseDexClassLoader)->AsClass())); in GetDexElementList()
Dti_heap.cc212 art::ObjPtr<art::mirror::Class> klass = obj->AsClass(); in ReportFields()
218 obj->AsClass(), in ReportFields()
219 obj->AsClass()->IsInterface(), in ReportFields()
673 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(klass_ptr->AsClass())); in IterateOverInstancesOfClass()
1076 VisitClass(obj->AsClass().Ptr()); in VisitObject()
Dti_redefine.cc292 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClass()
308 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError()
346 if (klass.Get() == art::Thread::Current()->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
518 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1592 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
Dti_class.cc1059 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1087 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1117 art::Handle<art::mirror::Class> klass(hs.NewHandle(jklass_obj->AsClass())); in GetSourceDebugExtension()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc60 ObjPtr<mirror::Class> as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/runtime/interpreter/
Dunstarted_runtime.cc284 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance()
337 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
390 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
429 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
486 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1713 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1720 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1777 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1834 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1847 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()
[all …]
/art/runtime/gc/
Dallocation_record.cc87 klass = GcRoot<mirror::Class>(new_object->AsClass()); in SweepClassObject()
/art/runtime/gc/space/
Dspace_test.h64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/dex2oat/linker/
Dimage_writer.cc1143 ObjPtr<mirror::Class> klass = object->AsClass(); in AssignImageBinSlot()
1332 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
1341 image_writer_->PruneAppImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
1437 result = result || PruneAppImageClassInternal(ref->AsClass(), in PruneAppImageClassInternal()
1813 ObjPtr<Class> klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1992 ObjPtr<mirror::Class> as_klass = obj->AsClass(); in TryAssignBinSlot()
3191 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
/art/imgdiag/
Dimgdiag.cc449 << "Class " << mirror::Class::PrettyClass(entry->AsClass()) << " " << entry << "\n"; in DiffEntryContents()
467 field = ArtField::FindStaticFieldWithOffset</*exact*/false>(entry->AsClass(), i); in DiffEntryContents()
517 os_ << "Private dirty object: " << obj->AsClass()->PrettyDescriptor() << "\n"; in DumpDirtyObjects()
/art/runtime/hprof/
Dhprof.cc1074 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1175 DumpHeapClass(obj->AsClass().Ptr()); in DumpHeapObject()
/art/runtime/gc/collector/
Dmark_sweep.cc470 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()
475 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
/art/oatdump/
Doatdump.cc1707 os << " Class: " << o->AsClass()->PrettyDescriptor(); in DumpDataBimgRelRoEntries()
2060 ObjPtr<mirror::Class> klass = value->AsClass(); in PrettyObjectValue()
2186 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
2224 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()

12