/art/runtime/ |
D | class_linker-inl.h | 70 ArtField* referrer) { in ResolveString() argument 76 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString() 78 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString() 84 ArtMethod* referrer) { in ResolveString() argument 90 referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedString(string_idx); in ResolveString() 92 resolved = DoResolveString(string_idx, referrer->GetDexCache()); in ResolveString() 118 ObjPtr<mirror::Class> referrer) { in ResolveType() argument 121 HandleWrapperObjPtr<mirror::Class> referrer_wrapper = hs.NewHandleWrapper(&referrer); in ResolveType() 128 referrer->GetDexCache<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetResolvedType(type_idx); in ResolveType() 130 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 | 250 ArtField* referrer) 253 ArtMethod* referrer) 271 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ObjPtr<mirror::Class> referrer) 274 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtField* referrer) 277 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtMethod* referrer) 294 ObjPtr<mirror::Class> referrer) 296 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtField* referrer) 298 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtMethod* referrer) 346 ArtMethod* referrer, 352 ArtMethod* GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) [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 | 2388 extern "C" ArtMethod* artLookupResolvedMethod(uint32_t method_index, ArtMethod* referrer) in artLookupResolvedMethod() argument 2391 DCHECK(!referrer->IsProxyMethod()); in artLookupResolvedMethod() 2393 method_index, referrer->GetDexCache(), referrer->GetClassLoader()); in artLookupResolvedMethod()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 249 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc() local 250 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() 251 ThrowIllegalAccessErrorClass(referrer, klass); in CheckArrayAlloc() 314 ArtMethod* referrer, in FindFieldFromCode() argument 330 ArtMethod* method = referrer->GetInterfaceMethodIfProxy(kRuntimePointerSize); in FindFieldFromCode() 342 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 352 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, referrer); in FindFieldFromCode() 355 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFromCode() 358 referrer->GetDexCache(), in FindFieldFromCode() 363 if (UNLIKELY(is_set && !resolved_field->CanBeChangedBy(referrer))) { in FindFieldFromCode() [all …]
|
D | entrypoint_utils.h | 132 ArtMethod* referrer, 141 ArtMethod* referrer, 148 ArtMethod* referrer, 157 ArtMethod* referrer) 161 ArtMethod* referrer, 168 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, 173 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, dex::ProtoIndex proto_idx)
|
D | entrypoint_utils.cc | 262 ObjPtr<mirror::MethodHandle> ResolveMethodHandleFromCode(ArtMethod* referrer, in ResolveMethodHandleFromCode() argument 266 return class_linker->ResolveMethodHandle(Thread::Current(), method_handle_idx, referrer); in ResolveMethodHandleFromCode() 269 ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, in ResolveMethodTypeFromCode() argument 273 referrer->GetDexCache()->GetResolvedMethodType(proto_idx); in ResolveMethodTypeFromCode() 276 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethodTypeFromCode() 277 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() 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 | 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 | 636 ArtMethod* referrer, in GetArgumentForBootstrapMethod() argument 654 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in GetArgumentForBootstrapMethod() 655 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in GetArgumentForBootstrapMethod() 670 ObjPtr<mirror::MethodHandle> o = cl->ResolveMethodHandle(self, index, referrer); in GetArgumentForBootstrapMethod() 681 ObjPtr<mirror::String> o = cl->ResolveString(index, referrer); in GetArgumentForBootstrapMethod() 692 ObjPtr<mirror::Class> o = cl->ResolveType(index, referrer); in GetArgumentForBootstrapMethod() 718 ArtMethod* referrer, in PackArgumentForBootstrapMethod() argument 725 if (!GetArgumentForBootstrapMethod(self, referrer, type, &encoded_value, &decoded_value)) { in PackArgumentForBootstrapMethod() 761 ArtMethod* referrer, in PackCollectorArrayForBootstrapMethod() argument 783 referrer, \ in PackCollectorArrayForBootstrapMethod() [all …]
|
D | interpreter_common.h | 410 ArtMethod* referrer) in ResolveMethodHandle() argument 413 return class_linker->ResolveMethodHandle(self, method_handle_index, referrer); in ResolveMethodHandle() 418 ArtMethod* referrer) in ResolveMethodType() argument 421 return class_linker->ResolveMethodType(self, method_type_index, referrer); in ResolveMethodType()
|
/art/compiler/optimizing/ |
D | inliner.h | 161 ArtMethod* referrer, 165 ArtMethod* referrer,
|
D | inliner.cc | 1712 ArtMethod* referrer, in CreateInstanceFieldGet() argument 1717 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet() 1727 *referrer->GetDexFile(), in CreateInstanceFieldGet() 1733 Handle<mirror::DexCache> dex_cache = handles_->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet() 1745 ArtMethod* referrer, in CreateInstanceFieldSet() argument 1752 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet() 1756 DCHECK(referrer->IsConstructor()); in CreateInstanceFieldSet() 1768 *referrer->GetDexFile(), in CreateInstanceFieldSet()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 725 ArtMethod* referrer = shadow_frame->GetMethod(); in MterpFieldAccessSlow() local 728 field_idx, referrer, self, sizeof(PrimType)); in MterpFieldAccessSlow() 783 ArtMethod* referrer = shadow_frame->GetMethod(); in MterpFieldAccessFast() local 784 if (LIKELY(!referrer->IsObsolete())) { in MterpFieldAccessFast() 787 ObjPtr<mirror::Class> klass = referrer->GetDeclaringClass<kWithoutReadBarrier>(); in MterpFieldAccessFast() 798 field_idx, referrer, self, sizeof(PrimType)))); in MterpFieldAccessFast()
|
/art/openjdkjvmti/ |
D | ti_heap.cc | 1290 art::mirror::Object* referrer) in ReportReferenceMaybeEnqueue() argument 1293 jint result = ReportReference(kind, reference_info, referree, referrer); in ReportReferenceMaybeEnqueue() 1296 MaybeEnqueue(referrer); in ReportReferenceMaybeEnqueue() 1306 art::mirror::Object* referrer, in ReportReference() argument 1326 referrer == nullptr ? 0 : tag_table_->GetTagOrZero(referrer->GetClass()); in ReportReference() 1332 if (referrer == nullptr) { in ReportReference() 1335 if (referrer == referree) { in ReportReference() 1338 referrer_tag = saved_referrer_tag = tag_table_->GetTagOrZero(referrer); in ReportReference() 1362 tag_table_->Set(referrer, referrer_tag); in ReportReference()
|