Home
last modified time | relevance | path

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

12

/art/runtime/
Dnon_debuggable_classes.cc32 ObjPtr<mirror::Class> mirror_klass(self->DecodeJObject(klass)->AsClass()); in AddNonDebuggableClass()
34 if (self->DecodeJObject(c)->AsClass() == mirror_klass.Ptr()) { in AddNonDebuggableClass()
Daot_class_linker.cc55 runtime->EnterTransactionMode(true, klass.Get()->AsClass()); in InitializeClass()
Druntime_callbacks_test.cc454 mirror::Class* k = obj->AsClass(); in IsInterestingObject()
461 mirror::Class* k = obj->AsClass(); in SetInterestingObject()
/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.cc91 self->DecodeJObject(WellKnownClasses::java_lang_IllegalAccessError)->AsClass(); in VMClassLoader_findLoadedClass()
93 self->DecodeJObject(WellKnownClasses::java_lang_NoClassDefFoundError)->AsClass(); in VMClassLoader_findLoadedClass()
/art/runtime/mirror/
Dobject.cc257 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
276 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
298 result += "<" + PrettyDescriptor(AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
Diftable.h32 GetWithoutChecks<kVerifyFlags, kReadBarrierOption>((i * kMax) + kInterface)->AsClass(); in GetInterface()
Dobject-refvisitor-inl.h51 ObjPtr<Class> as_klass = AsClass<kVerifyNone, kReadBarrierOption>(); in VisitReferences()
Dobject-inl.h177 inline Class* Object::AsClass() { in AsClass() function
383 result = AsClass<kNewFlags, kReadBarrierOption>()-> in SizeOf()
1148 ? AsClass<kVerifyFlags, kReadBarrierOption>() in VisitFieldsReferences()
Dclass.cc1185 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1223 return new_class->AsClass(); in CopyOf()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc58 mirror::Class* as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/openjdkjvmti/
Dti_class_definition.cc273 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
297 const art::DexFile& cur_dex = self->DecodeJObject(klass_)->AsClass()->GetDexFile(); in InitWithDex()
316 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.cc234 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClass()
250 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError()
288 if (klass.Get() == art::Thread::Current()->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
475 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1524 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
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_class.cc1055 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1083 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1113 art::Handle<art::mirror::Class> klass(hs.NewHandle(jklass_obj->AsClass())); in GetSourceDebugExtension()
/art/runtime/interpreter/
Dunstarted_runtime.cc272 mirror::Class* klass = param->AsClass(); in UnstartedClassNewInstance()
326 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
379 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
417 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
474 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1692 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1752 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()
1897 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
[all …]
/art/runtime/gc/
Dallocation_record.cc136 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()
Dimage_space.cc1056 mirror::Class* klass = obj->AsClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()()
1075 mirror::Class* as_klass = obj->AsClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()()
/art/dex2oat/linker/
Dimage_writer.cc567 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot()
774 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
782 image_writer_->PruneAppImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
878 result = result || PruneAppImageClassInternal(ref->AsClass(), in PruneAppImageClassInternal()
1207 Class* klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1369 mirror::Class* as_klass = obj->AsClass(); in TryAssignBinSlot()
2402 FixupClass(orig->AsClass<kVerifyNone>(), down_cast<mirror::Class*>(copy)); in FixupObject()
/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.cc1073 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1173 DumpHeapClass(obj->AsClass()); in DumpHeapObject()
/art/runtime/gc/collector/
Dmark_sweep.cc468 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()
473 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
/art/patchoat/
Dpatchoat.cc1042 mirror::Class* klass = object->AsClass(); in VisitObject()

12