/art/runtime/ |
D | class_linker-inl.h | 67 ArtField* referrer) { in ResolveString() argument 73 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString() 75 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString() 81 ArtMethod* referrer) { in ResolveString() argument 87 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString() 89 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString() 115 ObjPtr<mirror::Class> referrer) { in ResolveType() argument 118 HandleWrapperObjPtr<mirror::Class> referrer_wrapper = hs.NewHandleWrapper(&referrer); in ResolveType() 125 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType() 127 resolved_type = DoResolveType(type_idx, referrer); in ResolveType() [all …]
|
D | common_throws.cc | 45 static void AddReferrerLocation(std::ostream& os, ObjPtr<mirror::Class> referrer) in AddReferrerLocation() argument 47 if (referrer != nullptr) { in AddReferrerLocation() 48 std::string location(referrer->GetLocation()); in AddReferrerLocation() 50 os << " (declaration of '" << referrer->PrettyDescriptor() in AddReferrerLocation() 62 ObjPtr<mirror::Class> referrer, in ThrowException() argument 74 AddReferrerLocation(msg, referrer); in ThrowException() 80 ObjPtr<mirror::Class> referrer, in ThrowWrappedException() argument 92 AddReferrerLocation(msg, referrer); in ThrowWrappedException() 182 void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowClassFormatError() argument 185 ThrowException("Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError() [all …]
|
D | common_throws.h | 86 void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) 92 void ThrowIllegalAccessErrorClass(ObjPtr<mirror::Class> referrer, ObjPtr<mirror::Class> accessed) 95 void ThrowIllegalAccessErrorClassForMethodDispatch(ObjPtr<mirror::Class> referrer, 101 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed) 104 void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed) 107 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) 110 void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) 134 ArtMethod* referrer) 140 ArtMethod* referrer) 145 ArtMethod* referrer) [all …]
|
D | class_linker.h | 226 ArtField* referrer) 229 ArtMethod* referrer) 247 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ObjPtr<mirror::Class> referrer) 250 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtField* referrer) 253 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtMethod* referrer) 270 ObjPtr<mirror::Class> referrer) 272 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtField* referrer) 274 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtMethod* referrer) 322 ArtMethod* referrer, 328 ArtMethod* GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) [all …]
|
D | class_linker.cc | 8427 ObjPtr<mirror::Class> referrer) { in DoLookupResolvedType() argument 8428 return DoLookupResolvedType(type_idx, referrer->GetDexCache(), referrer->GetClassLoader()); in DoLookupResolvedType() 8460 ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx, T referrer) { in DoResolveType() argument 8462 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in DoResolveType() 8463 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in DoResolveType() 8469 ArtField* referrer); 8471 ArtMethod* referrer); 8473 ObjPtr<mirror::Class> referrer); 8580 ArtMethod* referrer, in ResolveMethod() argument 8583 DCHECK(referrer == nullptr || !referrer->IsProxyMethod()); in ResolveMethod() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 36 ArtMethod* referrer, in FindInstanceField() argument 44 ArtField* field = FindFieldFromCode<type, kAccessCheck>(field_idx, referrer, self, size); in FindInstanceField() 72 ArtMethod* referrer, \ 77 field_idx, referrer, Static ## PrimitiveOrObject ## Read, \ 83 field_idx, referrer, self, sizeof(PrimitiveType)); \ 93 ArtMethod* referrer, \ 98 field_idx, referrer, Instance ## PrimitiveOrObject ## Read, \ 104 field_idx, referrer, self, sizeof(PrimitiveType), &obj); \ 114 ArtMethod* referrer, \ 119 field_idx, referrer, Static ## PrimitiveOrObject ## Write, \ [all …]
|
D | quick_trampoline_entrypoints.cc | 2620 extern "C" ArtMethod* artLookupResolvedMethod(uint32_t method_index, ArtMethod* referrer) in artLookupResolvedMethod() argument 2623 DCHECK(!referrer->IsProxyMethod()); in artLookupResolvedMethod() 2625 method_index, referrer->GetDexCache(), referrer->GetClassLoader()); in artLookupResolvedMethod()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 263 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc() local 264 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() 265 ThrowIllegalAccessErrorClass(referrer, klass); in CheckArrayAlloc() 322 ArtMethod* referrer, in FindFieldFromCode() argument 338 ArtMethod* method = referrer->GetInterfaceMethodIfProxy(kRuntimePointerSize); in FindFieldFromCode() 350 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 360 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode() 363 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFromCode() 366 referrer->GetDexCache(), in FindFieldFromCode() 372 ThrowIllegalAccessErrorFinalField(referrer, resolved_field); in FindFieldFromCode() [all …]
|
D | entrypoint_utils.h | 131 ArtMethod* referrer, 140 ArtMethod* referrer, 147 ArtMethod* referrer, 156 ArtMethod* referrer) 160 ArtMethod* referrer, 167 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, 172 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
D | entrypoint_utils.cc | 260 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, in ResolveMethodHandleFromCode() argument 264 return class_linker->ResolveMethodHandle(Thread::Current(), method_handle_idx, referrer); in ResolveMethodHandleFromCode() 267 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, in ResolveMethodTypeFromCode() argument 271 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode() 274 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode() 275 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in ResolveMethodTypeFromCode()
|
/art/runtime/arch/ |
D | stub_test.cc | 80 ArtMethod* referrer) { in Invoke3WithReferrer() argument 81 return Invoke3WithReferrerAndHidden(arg0, arg1, arg2, code, self, referrer, 0); in Invoke3WithReferrer() 86 Thread* self, ArtMethod* referrer, size_t hidden) { in Invoke3WithReferrerAndHidden() argument 110 PUSH(%[referrer]) // Align stack. in Invoke3WithReferrerAndHidden() 111 PUSH(%[referrer]) // Store referrer in Invoke3WithReferrerAndHidden() 139 [referrer]"r"(referrer), [hidden]"m"(hidden) in Invoke3WithReferrerAndHidden() 180 [referrer] "r"(referrer), [hidden] "r"(hidden) in Invoke3WithReferrerAndHidden() 311 [referrer] "r"(referrer), [hidden] "r"(hidden), [fpr_result] "m" (fpr_result) in Invoke3WithReferrerAndHidden() 389 [referrer] "r"(referrer), [hidden] "r"(hidden) in Invoke3WithReferrerAndHidden() 448 [referrer] "r"(referrer), [hidden] "r"(hidden) in Invoke3WithReferrerAndHidden() [all …]
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 557 public String referrer; field in Test913.Verifier.Node 562 referrer = r; in Node() 566 return referrer.startsWith("root@"); in isRoot() 575 public void add(String referrer, String referree) { in add() argument 576 if (!nodes.containsKey(referrer)) { in add() 577 nodes.put(referrer, new Node(referrer)); in add() 580 nodes.get(referrer).referrees.add(referree); in add() 597 String referrer = getReferrer(l); in process() local 599 if (isRoot(referrer)) { in process() 612 currentHead = referrer; in process() [all …]
|
/art/test/913-heaps/ |
D | heaps.cc | 273 Elem(const std::string& referrer, const std::string& referree, jlong size, jint length) in Java_art_Test913_followReferences() argument 274 : referrer_(referrer), referree_(referree), size_(size), length_(length) {} in Java_art_Test913_followReferences() 298 JNILocalElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 303 : Elem(referrer, referree, size, length) { in Java_art_Test913_followReferences() 339 StackLocalElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 344 : Elem(referrer, referree, size, length) { in Java_art_Test913_followReferences() 388 StringElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 393 : Elem(referrer, referree, size, length), string_(string) {} in Java_art_Test913_followReferences() 404 static std::unique_ptr<Elem> CreateElem(const std::string& referrer, in Java_art_Test913_followReferences() argument 412 return std::unique_ptr<Elem>(new StringElement(referrer, in Java_art_Test913_followReferences() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 957 ArtMethod* referrer, in GetArgumentForBootstrapMethod() argument 975 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in GetArgumentForBootstrapMethod() 976 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in GetArgumentForBootstrapMethod() 991 ObjPtr<mirror::MethodHandle> o = cl->ResolveMethodHandle(self, index, referrer); in GetArgumentForBootstrapMethod() 1002 ObjPtr<mirror::String> o = cl->ResolveString(index, referrer); in GetArgumentForBootstrapMethod() 1013 ObjPtr<mirror::Class> o = cl->ResolveType(index, referrer); in GetArgumentForBootstrapMethod() 1039 ArtMethod* referrer, in PackArgumentForBootstrapMethod() argument 1046 if (!GetArgumentForBootstrapMethod(self, referrer, type, &encoded_value, &decoded_value)) { in PackArgumentForBootstrapMethod() 1082 ArtMethod* referrer, in PackCollectorArrayForBootstrapMethod() argument 1104 referrer, \ in PackCollectorArrayForBootstrapMethod() [all …]
|
D | interpreter_common.h | 310 ArtMethod* referrer) in ResolveMethodHandle() argument 313 return class_linker->ResolveMethodHandle(self, method_handle_index, referrer); in ResolveMethodHandle() 318 ArtMethod* referrer) in ResolveMethodType() argument 321 return class_linker->ResolveMethodType(self, method_type_index, referrer); in ResolveMethodType()
|
/art/compiler/optimizing/ |
D | inliner.h | 113 ArtMethod* referrer, 117 ArtMethod* referrer,
|
D | inliner.cc | 1673 ArtMethod* referrer, in CreateInstanceFieldGet() argument 1678 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet() 1688 *referrer->GetDexFile(), in CreateInstanceFieldGet() 1694 Handle<mirror::DexCache> dex_cache = handles_->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet() 1706 ArtMethod* referrer, in CreateInstanceFieldSet() argument 1713 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet() 1717 DCHECK(referrer->IsConstructor()); in CreateInstanceFieldSet() 1729 *referrer->GetDexFile(), in CreateInstanceFieldSet()
|
/art/openjdkjvmti/ |
D | ti_heap.cc | 1264 art::mirror::Object* referrer) in ReportReferenceMaybeEnqueue() argument 1267 jint result = ReportReference(kind, reference_info, referree, referrer); in ReportReferenceMaybeEnqueue() 1270 MaybeEnqueue(referrer); in ReportReferenceMaybeEnqueue() 1280 art::mirror::Object* referrer, in ReportReference() argument 1300 referrer == nullptr ? 0 : tag_table_->GetTagOrZero(referrer->GetClass()); in ReportReference() 1306 if (referrer == nullptr) { in ReportReference() 1309 if (referrer == referree) { in ReportReference() 1312 referrer_tag = saved_referrer_tag = tag_table_->GetTagOrZero(referrer); in ReportReference() 1336 tag_table_->Set(referrer, referrer_tag); in ReportReference()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 727 ArtMethod* referrer = shadow_frame->GetMethod(); in MterpFieldAccessSlow() local 730 field_idx, referrer, self, sizeof(PrimType)); in MterpFieldAccessSlow() 785 ArtMethod* referrer = shadow_frame->GetMethod(); in MterpFieldAccessFast() local 786 if (LIKELY(!referrer->IsObsolete())) { in MterpFieldAccessFast() 789 ObjPtr<mirror::Class> klass = referrer->GetDeclaringClass<kWithoutReadBarrier>(); in MterpFieldAccessFast() 800 field_idx, referrer, self, sizeof(PrimType)))); in MterpFieldAccessFast()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3761 const RegType& referrer = GetDeclaringClass(); in ResolveClass() local 3762 if ((IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !referrer.IsUnresolvedTypes()) && in ResolveClass() 3763 !referrer.CanAccess(*result)) { in ResolveClass() 3765 << referrer << "' -> '" << *result << "'"; in ResolveClass() 3838 const RegType& referrer = GetDeclaringClass(); in ResolveMethodAndCheckAccess() local 3931 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess() 3934 << " from " << referrer << ")"; in ResolveMethodAndCheckAccess()
|
/art/runtime/arch/mips64/ |
D | quick_entrypoints_mips64.S | 1237 ld $a2, FRAME_SIZE_SAVE_REFS_ONLY($sp) # pass referrer's Method* 2044 ld $t1, FRAME_SIZE_SAVE_REFS_AND_ARGS($sp) # $t1 = referrer.
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 1288 lw $a2, 0($sp) # pass referrer's Method* 2146 lw $t8, FRAME_SIZE_SAVE_REFS_AND_ARGS($sp) # $t8 = referrer.
|