Home
last modified time | relevance | path

Searched refs:AsClass (Results 1 – 25 of 34) 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.cc464 ObjPtr<mirror::Class> k = obj->AsClass(); in IsInterestingObject()
472 ObjPtr<mirror::Class> k = obj->AsClass(); in SetInterestingObject()
Dtransaction.cc151 ObjPtr<mirror::Class> klass = value->IsClass() ? value->AsClass() : value->GetClass(); in WriteValueConstraint()
/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.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()
/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()
1897 return obj->IsClass() && obj->AsClass()->IsResolved() && in FinishNewClassAllocations()
1898 old_klass->IsAssignableFrom(obj->AsClass()); in FinishNewClassAllocations()
1902 old_types.push_back(hs.NewHandle(obj->AsClass())); in FinishNewClassAllocations()
2941 CHECK(new_instance->GetClass() == map[old_instance->GetClass()]->AsClass()) in UpdateClassStructurally()
2943 << 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.cc1065 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1093 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1123 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.cc289 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance()
342 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
376 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
400 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
440 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1735 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1742 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1796 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1855 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1868 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.cc343 field = art::ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
664 art::mirror::Class* klass = obj->AsClass().Ptr(); in DumpPerfetto()
708 obj->AsClass()->GetLocation())); in DumpPerfetto()
/art/runtime/gc/space/
Dspace_test.h64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/compiler/optimizing/
Dinliner.cc342 return classes.GetReference(0)->AsClass(); in GetMonomorphicType()
928 graph_->GetHandleCache()->NewHandle(classes.GetReference(i)->AsClass()); in TryInlinePolymorphicCall()
1098 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1108 classes.GetReference(i)->AsClass()->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
/art/dex2oat/linker/
Dimage_writer.cc680 ObjPtr<mirror::Class> klass = object->AsClass(); in AssignImageBinSlot()
882 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
891 image_writer_->PruneImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
985 result = result || PruneImageClassInternal(ref->AsClass(), &my_early_exit, visited); in PruneImageClassInternal()
1219 ObjPtr<Class> klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1640 ObjPtr<mirror::Class> klass = pair.first->AsClass(); in ProcessCollectedClasses()
1875 ObjPtr<mirror::Class> klass = entry.first->AsClass(); in ProcessDexFileObjects()
3142 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()
518 os_ << "Private dirty object: " << obj->AsClass()->GetDescriptor(&temp) << "\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.cc1606 os << " Class: " << o->AsClass()->PrettyDescriptor(); in DumpDataBimgRelRoEntries()
1903 ObjPtr<mirror::Class> klass = value->AsClass(); in PrettyObjectValue()
2032 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
2069 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()

12