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.cc152 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.cc259 for (ArtField& field : AsClass()->GetSFields()) { in CheckFieldAssignmentImpl()
278 return IsClass() ? ArtField::FindStaticFieldWithOffset(AsClass(), offset.Uint32Value()) in FindFieldByOffset()
297 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()
Dobject.h179 ObjPtr<Class> AsClass() REQUIRES_SHARED(Locks::mutator_lock_);
/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.cc293 Handle<mirror::Class> h_klass(hs.NewHandle(param->AsClass())); in UnstartedClassNewInstance()
346 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
380 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredFields()
391 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetPublicDeclaredFields()
404 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
428 ObjPtr<mirror::Class> klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
468 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
1829 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1836 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1890 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
[all …]
Dinterpreter_common.h471 ? "Can't store reference to class " + value->AsClass()->PrettyDescriptor() in CheckWriteValueConstraint()
/art/openjdkjvmti/
Dti_class_definition.cc95 art::Handle<art::mirror::Class> m_klass(hs.NewHandle(self->DecodeJObject(klass)->AsClass())); in Init()
Dti_redefine.cc355 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in IsModifiableClassGeneric()
383 art::Handle<art::mirror::Class> h_klass(hs.NewHandle(obj->AsClass())); in GetClassRedefinitionError()
423 if (klass.Get() == self->DecodeJObject(c)->AsClass()) { in GetClassRedefinitionError()
748 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
1923 return obj->IsClass() && obj->AsClass()->IsResolved() && in FinishNewClassAllocations()
1924 old_klass->IsAssignableFrom(obj->AsClass()); in FinishNewClassAllocations()
1928 old_types.push_back(hs.NewHandle(obj->AsClass())); in FinishNewClassAllocations()
2945 CHECK(new_instance->GetClass() == map[old_instance->GetClass()]->AsClass()) in UpdateClassStructurally()
2947 << map[old_instance->GetClass()]->AsClass()->PrettyClass(); in UpdateClassStructurally()
3127 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()
701 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(klass_ptr->AsClass())); in IterateOverInstancesOfClass()
1102 VisitClass(obj->AsClass().Ptr()); in VisitObject()
Dti_class.cc1062 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetClassVersionNumbers()
1090 art::ObjPtr<art::mirror::Class> klass = jklass_obj->AsClass(); in GetSourceFileName()
1120 art::Handle<art::mirror::Class> klass(hs.NewHandle(jklass_obj->AsClass())); in GetSourceDebugExtension()
/art/perfetto_hprof/
Dperfetto_hprof.cc430 field = art::ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()()
722 WriteClass(obj->AsClass().Ptr(), writer); in WriteOneObject()
795 type_proto->set_location_id(FindOrAppend(&interned_locations_, obj->AsClass()->GetLocation())); in WriteSyntheticClassFromObj()
/art/imgdiag/
Dimgdiag.cc461 << "Class " << mirror::Class::PrettyClass(entry->AsClass()) << " " << entry << "\n"; in DiffEntryContents()
463 << entry->AsClass()->DescriptorHash() << "\n"; in DiffEntryContents()
484 field = ArtField::FindStaticFieldWithOffset</*exact*/false>(entry->AsClass(), i); in DiffEntryContents()
535 os_ << "Private dirty object: " << obj->AsClass()->GetDescriptor(&temp) << "\n"; in DumpDirtyObjects()
/art/runtime/gc/space/
Dspace_test.h64 return self->DecodeJObject(byte_array_class_)->AsClass(); in GetByteArrayClass()
/art/dex2oat/linker/
Dimage_writer.cc533 ObjPtr<mirror::Class> as_klass = object->AsClass<kVerifyNone>(); in AssignImageBinSlot()
727 ObjPtr<mirror::Class> klass = ref->IsClass() ? ref->AsClass() : ref->GetClass(); in operator ()()
736 image_writer_->PruneImageClassInternal(ref->AsClass(), early_exit_, visited_); in operator ()()
830 result = result || PruneImageClassInternal(ref->AsClass(), &my_early_exit, visited); in PruneImageClassInternal()
1034 ObjPtr<Class> klass = obj->AsClass(); in CheckNonImageClassesRemoved()
1494 ObjPtr<mirror::Class> klass = pair.first->AsClass(); in ProcessCollectedClasses()
1734 ObjPtr<mirror::Class> klass = entry.first->AsClass(); in ProcessDexFileObjects()
2413 is_class ? obj->AsClass()->DescriptorHash() : obj->GetClass()->DescriptorHash(); in MatchDirtyObjectOffsets()
3248 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
/art/compiler/optimizing/
Dinliner.cc356 return classes.GetReference(0)->AsClass(); in GetMonomorphicType()
973 graph_->GetHandleCache()->NewHandle(classes.GetReference(i)->AsClass()); in TryInlinePolymorphicCall()
1161 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1171 classes.GetReference(i)->AsClass()->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
/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.cc1603 os << " Class: " << o->AsClass()->PrettyDescriptor(); in DumpDataBimgRelRoEntries()
1965 ObjPtr<mirror::Class> klass = value->AsClass(); in PrettyObjectValue()
2094 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
2131 ObjPtr<mirror::Class> klass = obj->AsClass(); in DumpObject()
/art/runtime/dex/
Ddex_file_annotations.cc1553 return obj->AsClass(); in GetDeclaringClass()
1765 return obj->AsClass(); in GetNestHost()

12