Home
last modified time | relevance | path

Searched refs:AsClass (Results 1 – 25 of 33) 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()
Druntime_callbacks_test.cc452 ObjPtr<mirror::Class> k = obj->AsClass(); in IsInterestingObject()
460 ObjPtr<mirror::Class> k = obj->AsClass(); in SetInterestingObject()
Dtransaction.cc150 ObjPtr<mirror::Class> klass = value->IsClass() ? value->AsClass() : value->GetClass(); in WriteValueConstraint()
/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/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/runtime/mirror/
Dobject.cc255 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
274 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
293 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.cc1335 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1376 return new_class->AsClass(); in CopyOf()
/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_redefine.cc354 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClassGeneric()
382 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError()
422 if (klass.Get() == self->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
458 self->DecodeJObject(art::WellKnownClasses::java_lang_Thread)->AsClass())) { in GetClassRedefinitionError()
736 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1898 return obj->IsClass() && obj->AsClass()->IsResolved() && in FinishNewClassAllocations()
1899 old_klass->IsAssignableFrom(obj->AsClass()); in FinishNewClassAllocations()
1903 old_types.push_back(hs.NewHandle(obj->AsClass())); in FinishNewClassAllocations()
2937 CHECK(new_instance->GetClass() == map[old_instance->GetClass()]->AsClass()) in UpdateClassStructurally()
2939 << map[old_instance->GetClass()]->AsClass()->PrettyClass(); in UpdateClassStructurally()
[all …]
Dti_heap.cc242 art::ObjPtr<art::mirror::Class> klass = obj->AsClass(); in ReportFields()
248 obj->AsClass(), in ReportFields()
249 obj->AsClass()->IsInterface(), in ReportFields()
703 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(klass_ptr->AsClass())); in IterateOverInstancesOfClass()
1104 VisitClass(obj->AsClass().Ptr()); in VisitObject()
Dti_class.cc1064 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1092 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1122 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()
371 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
395 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
435 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1686 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1693 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1747 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1806 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1819 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/perfetto_hprof/
Dperfetto_hprof.cc355 field = art::ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
574 art::mirror::Class* klass = obj->AsClass().Ptr(); in DumpPerfetto()
601 obj->AsClass()->GetLocation())); in DumpPerfetto()
/art/runtime/gc/space/
Dspace_test.h64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/dex2oat/linker/
Dimage_writer.cc808 ObjPtr<mirror::Class> klass = object->AsClass(); in AssignImageBinSlot()
1010 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
1019 image_writer_->PruneImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
1111 result = result || PruneImageClassInternal(ref->AsClass(), &my_early_exit, visited); in PruneImageClassInternal()
1445 ObjPtr<Class> klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1582 ObjPtr<mirror::Class> as_klass = obj->AsClass(); in RecordNativeRelocations()
3194 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.cc1073 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1174 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.cc1710 os << " Class: " << o->AsClass()->PrettyDescriptor(); in DumpDataBimgRelRoEntries()
2061 ObjPtr<mirror::Class> klass = value->AsClass(); in PrettyObjectValue()
2194 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
2232 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()

12