Home
last modified time | relevance | path

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

12

/art/runtime/
Dnon_debuggable_classes.cc34 ObjPtr<mirror::Class> mirror_klass(self->DecodeJObject(klass)->AsClass()); in AddNonDebuggableClass()
36 if (self->DecodeJObject(c)->AsClass() == mirror_klass) { in AddNonDebuggableClass()
Druntime_callbacks_test.cc459 ObjPtr<mirror::Class> k = obj->AsClass(); in IsInterestingObject()
467 ObjPtr<mirror::Class> k = obj->AsClass(); in SetInterestingObject()
Dtransaction.cc151 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/mirror/
Dobject.cc269 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
288 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
307 result += "<" + PrettyDescriptor(AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
Diftable-inl.h31 GetWithoutChecks<kVerifyFlags, kReadBarrierOption>((i * kMax) + kInterface)->AsClass(); in GetInterface()
Dobject-refvisitor-inl.h87 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()
Dobject.h186 ObjPtr<Class> AsClass() REQUIRES_SHARED(Locks::mutator_lock_);
Dclass.cc1654 Handle<mirror::Class> h_new_class_obj(hs.NewHandle(obj->AsClass())); in operator ()()
1695 return new_class->AsClass(); in CopyOf()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc58 ObjPtr<mirror::Class> as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/runtime/interpreter/
Dunstarted_runtime.cc303 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance()
355 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
389 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredFields()
400 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetPublicDeclaredFields()
413 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
437 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
477 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1893 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1900 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1965 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
[all …]
/art/openjdkjvmti/
Dti_class_definition.cc95 art::Handle<art::mirror::Class> m_klass(hs.NewHandle(self->DecodeJObject(klass)->AsClass())); in Init()
Dti_redefine.cc378 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClassGeneric()
406 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in CanRedefineClass()
446 if (klass.Get() == self->DecodeJObject(c)->AsClass()) { in CanRedefineClass()
743 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1908 return obj->IsClass() && obj->AsClass()->IsResolved() && in FinishNewClassAllocations()
1909 old_klass->IsAssignableFrom(obj->AsClass()); in FinishNewClassAllocations()
1913 old_types.push_back(hs.NewHandle(obj->AsClass())); in FinishNewClassAllocations()
2932 CHECK(new_instance->GetClass() == map[old_instance->GetClass()]->AsClass()) in UpdateClassStructurally()
2934 << map[old_instance->GetClass()]->AsClass()->PrettyClass(); in UpdateClassStructurally()
3114 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
Dti_heap.cc242 art::ObjPtr<art::mirror::Class> klass = obj->AsClass(); in ReportFields()
248 obj->AsClass(), in ReportFields()
249 obj->AsClass()->IsInterface(), in ReportFields()
700 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(klass_ptr->AsClass())); in IterateOverInstancesOfClass()
1107 VisitClass(obj->AsClass().Ptr()); in VisitObject()
Dti_class.cc1061 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1089 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1119 art::Handle<art::mirror::Class> klass(hs.NewHandle(jklass_obj->AsClass())); in GetSourceDebugExtension()
/art/imgdiag/
Dimgdiag.cc380 field = ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
464 ObjPtr<mirror::Class> klass = class_obj->AsClass(); in GetPathFromClass()
643 os_ << tabs << "Class " << mirror::Class::PrettyClass(entry->AsClass()) << " " << entry in DiffEntryContents()
664 field = ArtField::FindStaticFieldWithOffset</*exact*/false>(entry->AsClass(), i); in DiffEntryContents()
715 os_ << "Private dirty object: " << obj->AsClass()->GetDescriptor(&temp) << "\n"; in DumpDirtyObjects()
/art/perfetto_hprof/
Dperfetto_hprof.cc430 field = art::ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
728 WriteClass(obj->AsClass().Ptr(), writer); in WriteOneObject()
801 type_proto->set_location_id(FindOrAppend(&interned_locations_, obj->AsClass()->GetLocation())); in WriteSyntheticClassFromObj()
/art/dex2oat/linker/
Dimage_writer.cc210 field = ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
259 const char* descriptor = obj->AsClass()->GetDescriptor(&temp); in FindClassesByDescriptor()
757 ObjPtr<mirror::Class> as_klass = object->AsClass<kVerifyNone>(); in GetImageBin()
942 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
951 image_writer_->PruneImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
1045 result = result || PruneImageClassInternal(ref->AsClass(), &my_early_exit, visited); in PruneImageClassInternal()
1259 ObjPtr<Class> klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1746 ObjPtr<mirror::Class> klass = pair.first->AsClass(); in ProcessCollectedClasses()
1984 ObjPtr<mirror::Class> klass = entry.first->AsClass(); in ProcessDexFileObjects()
3409 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
/art/runtime/gc/space/
Dspace_test.h64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/runtime/oat/
Daot_class_linker.cc351 ObjPtr<mirror::Class> klass = value->IsClass() ? value->AsClass() : value->GetClass(); in TransactionWriteValueConstraint()
/art/compiler/optimizing/
Dinliner.cc358 return classes.GetReference(0)->AsClass(); in GetMonomorphicType()
1042 graph_->GetHandleCache()->NewHandle(classes.GetReference(i)->AsClass()); in TryInlinePolymorphicCall()
1227 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1237 classes.GetReference(i)->AsClass()->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
/art/runtime/hprof/
Dhprof.cc1068 if (obj->IsClass() && obj->AsClass()->IsRetired()) { in DumpHeapObject()
1169 DumpHeapClass(obj->AsClass().Ptr()); in DumpHeapObject()
/art/runtime/gc/collector/
Dmark_sweep.cc471 ? holder_->AsClass()->GetFirstReferenceStaticFieldOffset( in operator ()()
476 ? holder_->AsClass()->NumReferenceStaticFields() in operator ()()
/art/oatdump/
Doatdump.cc1624 os << " Class: " << o->AsClass()->PrettyDescriptor(); in DumpDataImgRelRoEntries()
1996 ObjPtr<mirror::Class> klass = value->AsClass(); in PrettyObjectValue()
2125 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
2162 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()

12