/art/runtime/ |
D | class_linker-inl.h | 70 ArtField* referrer) { in ResolveString() argument 73 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveString() 82 ArtMethod* referrer) { in ResolveString() argument 85 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveString() 114 ObjPtr<mirror::Class> referrer) { in ResolveType() argument 117 HandleWrapperObjPtr<mirror::Class> referrer_wrapper = hs.NewHandleWrapper(&referrer); in ResolveType() 121 ObjPtr<mirror::Class> resolved_type = referrer->GetDexCache()->GetResolvedType(type_idx); in ResolveType() 123 resolved_type = DoResolveType(type_idx, referrer); in ResolveType() 129 ArtField* referrer) { in ResolveType() argument 132 ObjPtr<mirror::Class> resolved_type = referrer->GetDexCache()->GetResolvedType(type_idx); in ResolveType() [all …]
|
D | common_throws.cc | 46 static void AddReferrerLocation(std::ostream& os, ObjPtr<mirror::Class> referrer) in AddReferrerLocation() argument 48 if (referrer != nullptr) { in AddReferrerLocation() 49 std::string location(referrer->GetLocation()); in AddReferrerLocation() 51 os << " (declaration of '" << referrer->PrettyDescriptor() in AddReferrerLocation() 63 ObjPtr<mirror::Class> referrer, in ThrowException() argument 75 AddReferrerLocation(msg, referrer); in ThrowException() 81 ObjPtr<mirror::Class> referrer, in ThrowWrappedException() argument 93 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 | 90 EXPORT void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) 95 EXPORT void ThrowIllegalAccessErrorClass(ObjPtr<mirror::Class> referrer, 99 void ThrowIllegalAccessErrorClassForMethodDispatch(ObjPtr<mirror::Class> referrer, 105 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed) 108 EXPORT void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed) 111 EXPORT void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) 114 void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) 143 ArtMethod* referrer) 148 ArtMethod* referrer) 153 ArtMethod* referrer) [all …]
|
D | class_linker.h | 268 ArtField* referrer) 271 ArtMethod* referrer) 289 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ObjPtr<mirror::Class> referrer) 292 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtField* referrer) 295 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtMethod* referrer) 312 ObjPtr<mirror::Class> referrer) 314 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtField* referrer) 316 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtMethod* referrer) 369 ArtMethod* referrer, 375 ArtMethod* ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type) [all …]
|
D | class_linker.cc | 9936 ObjPtr<mirror::Class> referrer) { in DoLookupResolvedType() argument 9937 return DoLookupResolvedType(type_idx, referrer->GetDexCache(), referrer->GetClassLoader()); in DoLookupResolvedType() 9973 ObjPtr<mirror::Class> ClassLinker::DoResolveType(dex::TypeIndex type_idx, RefType referrer) { in DoResolveType() argument 9975 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in DoResolveType() 9976 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in DoResolveType() 9982 ArtField* referrer); 9984 ArtMethod* referrer); 9986 ObjPtr<mirror::Class> referrer); 10295 ArtMethod* referrer) { in ResolveMethodType() argument 10297 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodType() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 33 ArtMethod* referrer, in FindFieldFast() argument 39 ArtField* resolved_field = referrer->GetDexCache()->GetResolvedField(field_idx); in FindFieldFast() 58 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFast() 61 (is_set && !resolved_field->CanBeChangedBy(referrer)))) { in FindFieldFast() 76 ArtMethod* referrer, in FindInstanceField() argument 84 ArtField* field = FindFieldFromCode<type>(field_idx, referrer, self, should_resolve_type); in FindInstanceField() 86 ThrowNullPointerExceptionForFieldAccess(field, referrer, (type & FindFieldFlags::ReadBit) != 0); in FindInstanceField() 112 ArtMethod* referrer, \ 117 field_idx, referrer, Static ## PrimitiveOrObject ## Read); \ 122 field_idx, referrer, self); \ [all …]
|
/art/test/507-referrer/ |
D | Android.bp | 3 // Build rules for ART run-test `507-referrer`. 16 name: "art-run-test-507-referrer", 21 ":art-run-test-507-referrer-expected-stdout", 22 ":art-run-test-507-referrer-expected-stderr", 28 name: "art-run-test-507-referrer-expected-stdout", 29 out: ["art-run-test-507-referrer-expected-stdout.txt"], 36 name: "art-run-test-507-referrer-expected-stderr", 37 out: ["art-run-test-507-referrer-expected-stderr.txt"],
|
/art/test/508-referrer-method/ |
D | Android.bp | 3 // Build rules for ART run-test `508-referrer-method`. 16 name: "art-run-test-508-referrer-method", 21 ":art-run-test-508-referrer-method-expected-stdout", 22 ":art-run-test-508-referrer-method-expected-stderr", 28 name: "art-run-test-508-referrer-method-expected-stdout", 29 out: ["art-run-test-508-referrer-method-expected-stdout.txt"], 36 name: "art-run-test-508-referrer-method-expected-stderr", 37 out: ["art-run-test-508-referrer-method-expected-stderr.txt"],
|
/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() 348 PUSH(%[referrer]) // Push referrer & 16B alignment padding in Invoke3WithReferrerAndHidden() 349 PUSH(%[referrer]) in Invoke3WithReferrerAndHidden() [all …]
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 558 public String referrer; field in Test913.Verifier.Node 563 referrer = r; in Node() 567 return referrer.startsWith("root@"); in isRoot() 576 public void add(String referrer, String referree) { in add() argument 577 if (!nodes.containsKey(referrer)) { in add() 578 nodes.put(referrer, new Node(referrer)); in add() 581 nodes.get(referrer).referrees.add(referree); in add() 598 String referrer = getReferrer(l); in process() local 600 if (isRoot(referrer)) { in process() 613 currentHead = referrer; in process() [all …]
|
/art/test/913-heaps/ |
D | heaps.cc | 280 Elem(const std::string& referrer, const std::string& referree, jlong size, jint length) in Java_art_Test913_followReferences() argument 281 : referrer_(referrer), referree_(referree), size_(size), length_(length) {} in Java_art_Test913_followReferences() 305 JNILocalElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 310 : Elem(referrer, referree, size, length) { in Java_art_Test913_followReferences() 346 StackLocalElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 351 : Elem(referrer, referree, size, length) { in Java_art_Test913_followReferences() 395 StringElement(const std::string& referrer, in Java_art_Test913_followReferences() argument 400 : Elem(referrer, referree, size, length), string_(string) {} in Java_art_Test913_followReferences() 411 static std::unique_ptr<Elem> CreateElem(const std::string& referrer, in Java_art_Test913_followReferences() argument 419 return std::unique_ptr<Elem>(new StringElement(referrer, in Java_art_Test913_followReferences() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 133 ArtMethod* referrer, 139 ArtMethod* referrer, 147 ArtMethod* referrer, 156 ArtMethod* referrer, 163 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, 168 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
D | entrypoint_utils-inl.h | 314 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc() local 315 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() 316 ThrowIllegalAccessErrorClass(referrer, klass); in CheckArrayAlloc() 434 ArtMethod* referrer, 441 self, class_linker, field_idx, referrer, is_static, is_set, should_resolve_type ? 1u : 0u); 469 ArtMethod* referrer, \ 608 ArtMethod* referrer, in FindSuperMethodToCall() argument 617 dex::TypeIndex type_idx = referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindSuperMethodToCall() 618 ObjPtr<mirror::Class> referenced_class = linker->ResolveType(type_idx, referrer); in FindSuperMethodToCall() 625 if (!referenced_class->IsAssignableFrom(referrer->GetDeclaringClass())) { in FindSuperMethodToCall() [all …]
|
D | entrypoint_utils.cc | 292 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, in ResolveMethodHandleFromCode() argument 296 return class_linker->ResolveMethodHandle(Thread::Current(), method_handle_idx, referrer); in ResolveMethodHandleFromCode() 299 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, in ResolveMethodTypeFromCode() argument 303 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode() 306 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode() 307 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in ResolveMethodTypeFromCode()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 645 ArtMethod* referrer, in GetArgumentForBootstrapMethod() argument 663 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in GetArgumentForBootstrapMethod() 664 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in GetArgumentForBootstrapMethod() 679 ObjPtr<mirror::MethodHandle> o = cl->ResolveMethodHandle(self, index, referrer); in GetArgumentForBootstrapMethod() 690 ObjPtr<mirror::String> o = cl->ResolveString(index, referrer); in GetArgumentForBootstrapMethod() 701 ObjPtr<mirror::Class> o = cl->ResolveType(index, referrer); in GetArgumentForBootstrapMethod() 729 ArtMethod* referrer, in PackArgumentForBootstrapMethod() argument 736 if (!GetArgumentForBootstrapMethod(self, referrer, type, &encoded_value, &decoded_value)) { in PackArgumentForBootstrapMethod() 774 ArtMethod* referrer, in PackCollectorArrayForBootstrapMethod() argument 796 referrer, \ in PackCollectorArrayForBootstrapMethod() [all …]
|
D | interpreter_common.h | 189 ArtMethod* referrer) in ResolveMethodHandle() argument 192 return class_linker->ResolveMethodHandle(self, method_handle_index, referrer); in ResolveMethodHandle() 197 ArtMethod* referrer) in ResolveMethodType() argument 200 return class_linker->ResolveMethodType(self, method_type_index, referrer); in ResolveMethodType()
|
/art/compiler/optimizing/ |
D | inliner.h | 170 ArtMethod* referrer, 174 ArtMethod* referrer,
|
D | inliner.cc | 1818 ArtMethod* referrer, in CreateInstanceFieldGet() argument 1823 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet() 1833 *referrer->GetDexFile(), in CreateInstanceFieldGet() 1840 graph_->GetHandleCache()->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet() 1850 ArtMethod* referrer, in CreateInstanceFieldSet() argument 1857 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet() 1861 DCHECK(referrer->IsConstructor()); in CreateInstanceFieldSet() 1873 *referrer->GetDexFile(), in CreateInstanceFieldSet()
|
D | instruction_builder.cc | 902 ArtMethod* referrer, in ResolveMethod() argument 918 referrer, in ResolveMethod() 930 if (referrer == nullptr) { in ResolveMethod() 964 if (referrer == nullptr) { in ResolveMethod() 970 method_idx, resolved_method, referrer, soa.Self()); in ResolveMethod() 1387 ArtMethod* referrer = graph_->GetArtMethod(); in BuildInvokePolymorphic() local 1389 referrer->GetDexFile()->GetProtoId(proto_idx).return_type_idx_; in BuildInvokePolymorphic()
|
/art/openjdkjvmti/ |
D | ti_heap.cc | 1295 art::mirror::Object* referrer) in ReportReferenceMaybeEnqueue() argument 1298 jint result = ReportReference(kind, reference_info, referree, referrer); in ReportReferenceMaybeEnqueue() 1301 MaybeEnqueue(referrer); in ReportReferenceMaybeEnqueue() 1311 art::mirror::Object* referrer, in ReportReference() argument 1331 referrer == nullptr ? 0 : tag_table_->GetTagOrZero(referrer->GetClass()); in ReportReference() 1337 if (referrer == nullptr) { in ReportReference() 1340 if (referrer == referree) { in ReportReference() 1343 referrer_tag = saved_referrer_tag = tag_table_->GetTagOrZero(referrer); in ReportReference() 1367 tag_table_->Set(referrer, referrer_tag); in ReportReference()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3633 const RegType& referrer = GetDeclaringClass(); in ResolveClass() local 3634 if ((IsSdkVersionSetAndAtLeast(api_level_, SdkVersion::kP) || !referrer.IsUnresolvedTypes()) && in ResolveClass() 3635 !referrer.CanAccess(*result)) { in ResolveClass() 3639 << "(possibly) illegal class access: '" << referrer << "' -> '" << *result << "'"; in ResolveClass() 3642 << "(possibly) illegal class access: '" << referrer << "' -> '" << *result << "'"; in ResolveClass() 3749 const RegType& referrer = GetDeclaringClass(); in ResolveMethodAndCheckAccess() local 3836 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess() 3839 << " from " << referrer << ")"; in ResolveMethodAndCheckAccess()
|
/art/ |
D | TEST_MAPPING | 797 "name": "art-run-test-507-referrer" 803 "name": "art-run-test-508-referrer-method" 2225 "name": "art-run-test-507-referrer[com.google.android.art.apex]" 2231 "name": "art-run-test-508-referrer-method[com.google.android.art.apex]" 3671 "name": "art-run-test-507-referrer" 3677 "name": "art-run-test-508-referrer-method" 5107 "name": "art-run-test-507-referrer" 5113 "name": "art-run-test-508-referrer-method"
|
/art/tools/fuzzer/ |
D | Android.bp | 749 "host_508-referrer-method_classes.dex",
|