/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 | 36 void AssignFields(Handle<Class> declaring_class, 56 void SetFields(ObjPtr<Class> declaring_class,
|
D | stack_trace_element.h | 45 Handle<String> declaring_class, 59 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() 200 if ((declaring_class == lookup_class || declaring_class->IsInSamePackage(lookup_class)) && in GetReflectionCallerAccessContext() 210 if (declaring_class->IsInSamePackage(proxy_class) && declaring_class != proxy_class) { in GetReflectionCallerAccessContext() 487 ObjPtr<mirror::Class> declaring_class = member->GetDeclaringClass(); in GetDexFlags() local 488 DCHECK(!declaring_class.IsNull()) << "Attempting to access a runtime method"; in GetDexFlags() 496 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags() 501 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags() 504 DCHECK(declaring_class->IsProxyClass()) in GetDexFlags() [all …]
|
D | art_method.cc | 74 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod() local 75 DCHECK(declaring_class->IsInterface()); in GetCanonicalMethod() 76 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod() 131 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass<kReadBarrierOption>(); in GetObsoleteDexCache() local 133 declaring_class->GetExtData<kDefaultVerifyFlags, kReadBarrierOption>(); in GetObsoleteDexCache() 156 CHECK(declaring_class->IsObsoleteObject()) in GetObsoleteDexCache() 158 << declaring_class->PrettyClass() << " Searched " << len << " caches."; in GetObsoleteDexCache() 161 &(*declaring_class->GetMethods(pointer_size).begin()), in GetObsoleteDexCache() 162 &(*declaring_class->GetMethods(pointer_size).end()))) in GetObsoleteDexCache() 165 return declaring_class->template GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetObsoleteDexCache() [all …]
|
D | reflection.cc | 712 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in InvokeMethod() local 713 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in InvokeMethod() 716 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod() 728 if (declaring_class->IsStringClass() && m->IsConstructor()) { in InvokeMethod() 734 if (!VerifyObjectIsClass(receiver, declaring_class)) { in InvokeMethod() 755 declaring_class, in InvokeMethod() 806 ObjPtr<mirror::Class> declaring_class = constructor->GetDeclaringClass(); in InvokeConstructor() local 807 CHECK(declaring_class->IsInitializing()); in InvokeConstructor() 810 CHECK(!declaring_class->IsStringClass()); in InvokeConstructor() 814 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 | aot_class_linker.cc | 193 ObjPtr<mirror::Class> declaring_class = m.GetDeclaringClass(); in CanReferenceInBootImageExtension() local 194 CHECK(heap->ObjectIsInBootImageSpace(declaring_class) || in CanReferenceInBootImageExtension() 195 !heap->ObjectIsInBootImageSpace(declaring_class->GetDexCache())); in CanReferenceInBootImageExtension()
|
D | sdk_checker.cc | 96 std::string declaring_class; in ShouldDenyAccess() local 99 dex_file->FindTypeId(art_field->GetDeclaringClass()->GetDescriptor(&declaring_class)); in ShouldDenyAccess()
|
D | reflection.h | 123 ObjPtr<mirror::Class> declaring_class, 131 ObjPtr<mirror::Class> declaring_class,
|
D | art_method-inl.h | 639 uint8_t* declaring_class = 642 if (declaring_class < start_boundary) { 643 size_t remainder = (start_boundary - declaring_class) % kMethodSize; 644 declaring_class = start_boundary; 646 declaring_class += kMethodSize - remainder; 649 while (declaring_class < end_boundary) { 651 reinterpret_cast<mirror::CompressedReference<mirror::Object>*>(declaring_class)); 652 declaring_class += kMethodSize;
|
D | stack.cc | 688 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in ValidateFrame() local 691 CHECK(declaring_class != nullptr); in ValidateFrame() 692 CHECK_EQ(declaring_class->GetClass(), declaring_class->GetClass()->GetClass()) in ValidateFrame() 693 << declaring_class; in ValidateFrame() 695 CHECK(declaring_class == nullptr); in ValidateFrame()
|
D | method_handles.cc | 455 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() local 456 if (receiver == nullptr || receiver->GetClass() != declaring_class) { in RefineTargetMethod() 459 if (!VerifyObjectIsClass(receiver, declaring_class)) { in RefineTargetMethod() 479 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod() local 480 if (referrer_class == declaring_class) { in RefineTargetMethod() 483 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 | 79 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in artFindNativeMethodRunnable() local 80 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in artFindNativeMethodRunnable() 82 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/compiler/optimizing/ |
D | reference_type_propagation.cc | 513 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in SetClassAsTypeInfo() local 514 DCHECK(declaring_class != nullptr); in SetClassAsTypeInfo() 515 DCHECK(declaring_class->IsStringClass()) in SetClassAsTypeInfo() 516 << "Expected String class: " << declaring_class->PrettyDescriptor(); in SetClassAsTypeInfo()
|