/art/runtime/mirror/ |
D | stack_trace_element.cc | 31 Handle<String> declaring_class, in Alloc() argument 39 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 41 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 48 void StackTraceElement::Init(ObjPtr<String> declaring_class, in Init() argument 53 declaring_class); in Init()
|
D | stack_frame_info.cc | 30 void StackFrameInfo::AssignFields(Handle<Class> declaring_class, in AssignFields() argument 37 SetFields<true>(declaring_class.Get(), method_type.Get(), method_name.Get(), in AssignFields() 40 SetFields<false>(declaring_class.Get(), method_type.Get(), method_name.Get(), in AssignFields() 46 void StackFrameInfo::SetFields(ObjPtr<Class> declaring_class, in SetFields() argument 53 declaring_class); in SetFields()
|
D | field.cc | 47 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetArtField() local 49 DCHECK_LT(GetArtFieldIndex(), declaring_class->NumStaticFields()); in GetArtField() 50 return declaring_class->GetStaticField(GetArtFieldIndex()); in GetArtField() 52 DCHECK_LT(GetArtFieldIndex(), declaring_class->NumInstanceFields()); in GetArtField() 53 return declaring_class->GetInstanceField(GetArtFieldIndex()); in GetArtField()
|
D | stack_frame_info.h | 37 void AssignFields(Handle<Class> declaring_class, 57 void SetFields(ObjPtr<Class> declaring_class,
|
D | stack_trace_element.h | 46 Handle<String> declaring_class, 60 void Init(ObjPtr<String> declaring_class,
|
D | class.cc | 582 ObjPtr<mirror::Class> declaring_class) in IsValidInheritanceCheck() argument 585 return declaring_class->IsObjectClass(); in IsValidInheritanceCheck() 587 return declaring_class->IsObjectClass() || declaring_class == klass; in IsValidInheritanceCheck() 589 return klass->IsSubClass(declaring_class); in IsValidInheritanceCheck() 594 ObjPtr<mirror::Class> declaring_class, in IsInheritedMethod() argument 597 DCHECK_EQ(declaring_class, method.GetDeclaringClass()); in IsInheritedMethod() 598 DCHECK_NE(klass, declaring_class); in IsInheritedMethod() 599 DCHECK(IsValidInheritanceCheck(klass, declaring_class)); in IsInheritedMethod() 607 for (; klass != declaring_class; klass = klass->GetSuperClass()) { in IsInheritedMethod() 608 if (!klass->IsInSamePackage(declaring_class)) { in IsInheritedMethod()
|
D | class-inl.h | 576 ObjPtr<Class> declaring_class = method->GetDeclaringClass(); in FindVirtualMethodForInterface() local 577 DCHECK(declaring_class != nullptr) << PrettyClass(); in FindVirtualMethodForInterface() 578 if (UNLIKELY(!declaring_class->IsInterface())) { in FindVirtualMethodForInterface() 579 DCHECK(declaring_class->IsObjectClass()) << method->PrettyMethod(); in FindVirtualMethodForInterface() 588 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
|
/art/runtime/native/ |
D | java_lang_reflect_Parameter.cc | 74 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass()); in Parameter_getAnnotationNative() local 75 if (annotations::GetEnclosingMethod(declaring_class) == nullptr && !declaring_class->IsEnum()) { in Parameter_getAnnotationNative()
|
D | java_lang_reflect_Field.cc | 144 ObjPtr<mirror::Class> declaring_class = (*f)->GetDeclaringClass(); in CheckReceiver() local 146 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in CheckReceiver() 150 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() 158 *class_or_rcvr = declaring_class; in CheckReceiver() 162 if (!VerifyObjectIsClass(*class_or_rcvr, declaring_class)) { in CheckReceiver() 348 ObjPtr<mirror::Class> declaring_class = field->GetDeclaringClass(); in ThrowIAEIfRecordFinalField() local 349 DCHECK(declaring_class != nullptr); in ThrowIAEIfRecordFinalField() 350 if (!(declaring_class->IsRecordClass())) { in ThrowIAEIfRecordFinalField() 358 declaring_class->PrettyClass().c_str()).c_str()); in ThrowIAEIfRecordFinalField()
|
D | java_lang_reflect_Executable.cc | 107 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass()); in Executable_getParameterAnnotationsNative() local 108 if (annotations::GetEnclosingMethod(declaring_class) != nullptr || in Executable_getParameterAnnotationsNative() 109 declaring_class->IsEnum()) { in Executable_getParameterAnnotationsNative()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 51 mirror::CompressedReference<mirror::Object>* declaring_class = in artJniReadBarrier() local 54 DCHECK(declaring_class->AsMirrorPtr() != nullptr) in artJniReadBarrier() 57 if (LIKELY(declaring_class->AsMirrorPtr()->GetMarkBit() != 0)) { in artJniReadBarrier() 62 mirror::Object* to_ref = ReadBarrier::BarrierForRoot(declaring_class); in artJniReadBarrier() 63 declaring_class->Assign(to_ref); in artJniReadBarrier()
|
/art/runtime/ |
D | hidden_api.cc | 189 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in GetReflectionCallerAccessContext() local 190 if (declaring_class->IsBootStrapClassLoaded()) { in GetReflectionCallerAccessContext() 191 if (declaring_class->IsClassClass()) { in GetReflectionCallerAccessContext() 207 if ((declaring_class == lookup_class || declaring_class->IsInSamePackage(lookup_class)) && in GetReflectionCallerAccessContext() 217 if (declaring_class->IsInSamePackage(proxy_class) && declaring_class != proxy_class) { in GetReflectionCallerAccessContext() 495 ObjPtr<mirror::Class> declaring_class = member->GetDeclaringClass(); in GetDexFlags() local 496 DCHECK(!declaring_class.IsNull()) << "Attempting to access a runtime method"; in GetDexFlags() 504 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags() 509 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags() 512 DCHECK(declaring_class->IsProxyClass()) in GetDexFlags() [all …]
|
D | art_method.cc | 73 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod() local 74 DCHECK(declaring_class->IsInterface()); in GetCanonicalMethod() 75 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod() 130 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass<kReadBarrierOption>(); in GetObsoleteDexCache() local 132 declaring_class->GetExtData<kDefaultVerifyFlags, kReadBarrierOption>(); in GetObsoleteDexCache() 155 CHECK(declaring_class->IsObsoleteObject()) in GetObsoleteDexCache() 157 << declaring_class->PrettyClass() << " Searched " << len << " caches."; in GetObsoleteDexCache() 160 &(*declaring_class->GetMethods(pointer_size).begin()), in GetObsoleteDexCache() 161 &(*declaring_class->GetMethods(pointer_size).end()))) in GetObsoleteDexCache() 164 return declaring_class->template GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetObsoleteDexCache() [all …]
|
D | reflection.cc | 713 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in InvokeMethod() local 714 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in InvokeMethod() 717 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod() 729 if (declaring_class->IsStringClass() && m->IsConstructor()) { in InvokeMethod() 735 if (!VerifyObjectIsClass(receiver, declaring_class)) { in InvokeMethod() 756 declaring_class, in InvokeMethod() 807 ObjPtr<mirror::Class> declaring_class = constructor->GetDeclaringClass(); in InvokeConstructor() local 808 CHECK(declaring_class->IsInitializing()); in InvokeConstructor() 811 CHECK(!declaring_class->IsStringClass()); in InvokeConstructor() 815 CHECK(VerifyObjectIsClass(receiver, declaring_class)); in InvokeConstructor() [all …]
|
D | art_field-inl.h | 45 ObjPtr<mirror::Class> declaring_class(GetDeclaringClass()); in CanBeChangedBy() 47 return !IsFinal() || (declaring_class == referring_class); in CanBeChangedBy() 76 uint8_t* declaring_class = in VisitArrayRoots() local 79 if (declaring_class < start_boundary) { in VisitArrayRoots() 80 declaring_class += RoundUp(start_boundary - declaring_class, kFieldSize); in VisitArrayRoots() 82 while (declaring_class < end_boundary) { in VisitArrayRoots() 84 reinterpret_cast<mirror::CompressedReference<mirror::Object>*>(declaring_class)); in VisitArrayRoots() 85 declaring_class += kFieldSize; in VisitArrayRoots()
|
D | reflection.h | 122 ObjPtr<mirror::Class> declaring_class, 130 ObjPtr<mirror::Class> declaring_class,
|
D | art_method-inl.h | 650 uint8_t* declaring_class = 653 if (declaring_class < start_boundary) { 654 size_t remainder = (start_boundary - declaring_class) % kMethodSize; 655 declaring_class = start_boundary; 657 declaring_class += kMethodSize - remainder; 660 while (declaring_class < end_boundary) { 662 reinterpret_cast<mirror::CompressedReference<mirror::Object>*>(declaring_class)); 663 declaring_class += kMethodSize;
|
D | stack.cc | 689 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in ValidateFrame() local 692 CHECK(declaring_class != nullptr); in ValidateFrame() 693 CHECK_EQ(declaring_class->GetClass(), declaring_class->GetClass()->GetClass()) in ValidateFrame() 694 << declaring_class; in ValidateFrame() 696 CHECK(declaring_class == nullptr); in ValidateFrame()
|
D | method_handles.cc | 454 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() local 455 if (receiver == nullptr || receiver->GetClass() != declaring_class) { in RefineTargetMethod() 458 if (!VerifyObjectIsClass(receiver, declaring_class)) { in RefineTargetMethod() 478 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod() local 479 if (referrer_class == declaring_class) { in RefineTargetMethod() 482 if (declaring_class->IsInterface()) { in RefineTargetMethod()
|
/art/test/918-fields/ |
D | fields.cc | 87 jclass declaring_class; in Java_art_Test918_getFieldDeclaringClass() local 88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); in Java_art_Test918_getFieldDeclaringClass() 97 return declaring_class; in Java_art_Test918_getFieldDeclaringClass()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 80 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in artFindNativeMethodRunnable() local 81 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in artFindNativeMethodRunnable() 83 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in artFindNativeMethodRunnable()
|
/art/test/910-methods/ |
D | methods.cc | 80 jclass declaring_class; in Java_art_Test910_getMethodDeclaringClass() local 81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); in Java_art_Test910_getMethodDeclaringClass() 86 return declaring_class; in Java_art_Test910_getMethodDeclaringClass()
|
/art/runtime/oat/ |
D | aot_class_linker.cc | 223 ObjPtr<mirror::Class> declaring_class = m.GetDeclaringClass(); in CanReferenceInBootImageExtensionOrAppImage() local 224 CHECK(heap->ObjectIsInBootImageSpace(declaring_class) || in CanReferenceInBootImageExtensionOrAppImage() 225 can_reference_dex_cache(declaring_class->GetDexCache())); in CanReferenceInBootImageExtensionOrAppImage()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 507 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in SetClassAsTypeInfo() local 508 DCHECK(declaring_class != nullptr); in SetClassAsTypeInfo() 509 DCHECK(declaring_class->IsStringClass()) in SetClassAsTypeInfo() 510 << "Expected String class: " << declaring_class->PrettyDescriptor(); in SetClassAsTypeInfo()
|
/art/imgdiag/ |
D | imgdiag.cc | 1006 ObjPtr<mirror::Class> declaring_class = in DumpDirtyEntries() local 1010 DumpOneArtMethod(art_method, declaring_class, remote_declaring_class); in DumpDirtyEntries() 1019 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in DumpFalseDirtyEntries() local 1020 DumpOneArtMethod(method, declaring_class, nullptr); in DumpFalseDirtyEntries() 1107 ObjPtr<mirror::Class> declaring_class, in DumpOneArtMethod() argument 1120 if (declaring_class != nullptr) { in DumpOneArtMethod() 1121 os_ << " class_status (local): " << declaring_class->GetStatus(); in DumpOneArtMethod()
|