/art/runtime/entrypoints/portable/ |
D | portable_field_entrypoints.cc | 25 mirror::ArtMethod* referrer, in art_portable_set32_static_from_code() argument 29 referrer, in art_portable_set32_static_from_code() 37 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set32_static_from_code() 48 mirror::ArtMethod* referrer, in art_portable_set64_static_from_code() argument 51 …mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t… in art_portable_set64_static_from_code() 57 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set64_static_from_code() 68 mirror::ArtMethod* referrer, in art_portable_set_obj_static_from_code() argument 71 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, in art_portable_set_obj_static_from_code() 78 field = FindFieldFromCode<StaticObjectWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set_obj_static_from_code() 89 mirror::ArtMethod* referrer) in art_portable_get32_static_from_code() argument [all …]
|
D | portable_alloc_entrypoints.cc | 27 mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code() argument 30 return AllocObjectFromCode<false, true>(type_idx, referrer, thread, kPortableAllocatorType); in art_portable_alloc_object_from_code() 34 … mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code_with_access_check() argument 37 return AllocObjectFromCode<true, true>(type_idx, referrer, thread, kPortableAllocatorType); in art_portable_alloc_object_from_code_with_access_check() 41 mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code() argument 45 return AllocArrayFromCode<false, true>(type_idx, referrer, length, self, in art_portable_alloc_array_from_code() 50 … mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code_with_access_check() argument 54 return AllocArrayFromCode<true, true>(type_idx, referrer, length, self, in art_portable_alloc_array_from_code_with_access_check() 59 mirror::ArtMethod* referrer, in art_portable_check_and_alloc_array_from_code() argument 63 return CheckAndAllocArrayFromCodeInstrumented(type_idx, referrer, length, thread, false, in art_portable_check_and_alloc_array_from_code() [all …]
|
D | portable_dexcache_entrypoints.cc | 25 … mirror::ArtMethod* referrer, in art_portable_initialize_static_storage_from_code() argument 28 return ResolveVerifyAndClinit(type_idx, referrer, thread, true, false); in art_portable_initialize_static_storage_from_code() 32 mirror::ArtMethod* referrer, in art_portable_initialize_type_from_code() argument 35 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, false); in art_portable_initialize_type_from_code() 39 … mirror::ArtMethod* referrer, in art_portable_initialize_type_and_verify_access_from_code() argument 44 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, true); in art_portable_initialize_type_and_verify_access_from_code() 47 extern "C" mirror::Object* art_portable_resolve_string_from_code(mirror::ArtMethod* referrer, in art_portable_resolve_string_from_code() argument 50 return ResolveStringFromCode(referrer, string_idx); in art_portable_resolve_string_from_code()
|
D | portable_invoke_entrypoints.cc | 76 … mirror::ArtMethod* referrer, in art_portable_find_static_method_from_code_with_access_check() argument 79 return FindMethodHelper<kStatic, true>(method_idx, this_object, referrer, thread); in art_portable_find_static_method_from_code_with_access_check() 84 … mirror::ArtMethod* referrer, in art_portable_find_direct_method_from_code_with_access_check() argument 87 return FindMethodHelper<kDirect, true>(method_idx, this_object, referrer, thread); in art_portable_find_direct_method_from_code_with_access_check() 92 … mirror::ArtMethod* referrer, in art_portable_find_virtual_method_from_code_with_access_check() argument 95 return FindMethodHelper<kVirtual, true>(method_idx, this_object, referrer, thread); in art_portable_find_virtual_method_from_code_with_access_check() 100 … mirror::ArtMethod* referrer, in art_portable_find_super_method_from_code_with_access_check() argument 103 return FindMethodHelper<kSuper, true>(method_idx, this_object, referrer, thread); in art_portable_find_super_method_from_code_with_access_check() 108 … mirror::ArtMethod* referrer, in art_portable_find_interface_method_from_code_with_access_check() argument 111 return FindMethodHelper<kInterface, true>(method_idx, this_object, referrer, thread); in art_portable_find_interface_method_from_code_with_access_check() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 29 mirror::ArtMethod* referrer, in artGet32StaticFromCode() argument 32 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, in artGet32StaticFromCode() 38 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int32_t)); in artGet32StaticFromCode() 46 mirror::ArtMethod* referrer, in artGet64StaticFromCode() argument 49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, in artGet64StaticFromCode() 55 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int64_t)); in artGet64StaticFromCode() 63 mirror::ArtMethod* referrer, in artGetObjStaticFromCode() argument 67 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, in artGetObjStaticFromCode() 73 field = FindFieldFromCode<StaticObjectRead, true>(field_idx, referrer, self, in artGetObjStaticFromCode() 82 mirror::ArtMethod* referrer, Thread* self, in artGet32InstanceFromCode() argument [all …]
|
D | quick_dexcache_entrypoints.cc | 29 mirror::ArtMethod* referrer, in artInitializeStaticStorageFromCode() argument 37 return ResolveVerifyAndClinit(type_idx, referrer, self, true, false); in artInitializeStaticStorageFromCode() 41 mirror::ArtMethod* referrer, in artInitializeTypeFromCode() argument 47 return ResolveVerifyAndClinit(type_idx, referrer, self, false, false); in artInitializeTypeFromCode() 51 mirror::ArtMethod* referrer, in artInitializeTypeAndVerifyAccessFromCode() argument 57 return ResolveVerifyAndClinit(type_idx, referrer, self, false, true); in artInitializeTypeAndVerifyAccessFromCode() 60 extern "C" mirror::String* artResolveStringFromCode(mirror::ArtMethod* referrer, in artResolveStringFromCode() argument 66 return ResolveStringFromCode(referrer, string_idx); in artResolveStringFromCode()
|
/art/runtime/ |
D | common_throws.cc | 35 static void AddReferrerLocation(std::ostream& os, mirror::Class* referrer) in AddReferrerLocation() argument 37 if (referrer != NULL) { in AddReferrerLocation() 38 std::string location(referrer->GetLocation()); in AddReferrerLocation() 40 os << " (declaration of '" << PrettyDescriptor(referrer) in AddReferrerLocation() 47 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowException() argument 57 AddReferrerLocation(msg, referrer); in ThrowException() 69 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowWrappedException() argument 79 AddReferrerLocation(msg, referrer); in ThrowWrappedException() 142 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) { in ThrowClassFormatError() argument 145 ThrowException(NULL, "Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError() [all …]
|
D | common_throws.h | 68 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) 74 void ThrowIllegalAccessErrorClass(mirror::Class* referrer, mirror::Class* accessed) 77 void ThrowIllegalAccessErrorClassForMethodDispatch(mirror::Class* referrer, mirror::Class* accessed, 82 void ThrowIllegalAccessErrorMethod(mirror::Class* referrer, mirror::ArtMethod* accessed) 85 void ThrowIllegalAccessErrorField(mirror::Class* referrer, mirror::ArtField* accessed) 88 void ThrowIllegalAccessErrorFinalField(mirror::ArtMethod* referrer, mirror::ArtField* accessed) 91 void ThrowIllegalAccessError(mirror::Class* referrer, const char* fmt, ...) 108 mirror::ArtMethod* method, mirror::ArtMethod* referrer) 113 mirror::ArtMethod* referrer) 117 mirror::ArtMethod* referrer) [all …]
|
D | class_linker-inl.h | 60 mirror::ArtMethod* referrer) { in ResolveString() argument 61 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveString() 76 mirror::ArtMethod* referrer) { in ResolveType() argument 77 mirror::Class* resolved_type = referrer->GetDexCacheResolvedType(type_idx); in ResolveType() 79 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() 91 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, mirror::ArtField* referrer) { in ResolveType() argument 92 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() 108 mirror::ArtMethod* referrer, in GetResolvedMethod() argument 110 mirror::ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod(method_idx); in GetResolvedMethod() 118 mirror::ArtMethod** referrer, in ResolveMethod() argument [all …]
|
D | class_linker.h | 139 mirror::String* ResolveString(uint32_t string_idx, mirror::ArtMethod* referrer) 151 mirror::Class* ResolveType(const DexFile& dex_file, uint16_t type_idx, mirror::Class* referrer) 157 mirror::Class* ResolveType(uint16_t type_idx, mirror::ArtMethod* referrer) 160 mirror::Class* ResolveType(uint16_t type_idx, mirror::ArtField* referrer) 181 Handle<mirror::ArtMethod> referrer, 185 mirror::ArtMethod* GetResolvedMethod(uint32_t method_idx, mirror::ArtMethod* referrer, 188 mirror::ArtMethod* ResolveMethod(Thread* self, uint32_t method_idx, mirror::ArtMethod** referrer, 194 mirror::ArtField* ResolveField(uint32_t field_idx, mirror::ArtMethod* referrer, 220 const char* MethodShorty(uint32_t method_idx, mirror::ArtMethod* referrer, uint32_t* length)
|
D | class_linker.cc | 5632 mirror::Class* referrer) { in ResolveType() argument 5634 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType() 5635 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referrer->GetClassLoader())); in ResolveType() 5675 Handle<mirror::ArtMethod> referrer, in ResolveMethod() argument 5735 ThrowIncompatibleClassChangeError(type, resolved->GetInvokeType(), resolved, referrer.Get()); in ResolveMethod() 5756 if (resolved != nullptr && referrer.Get() != nullptr) { in ResolveMethod() 5758 mirror::Class* referring_class = referrer->GetDeclaringClass(); in ResolveMethod() 5777 ThrowIncompatibleClassChangeError(type, kVirtual, resolved, referrer.Get()); in ResolveMethod() 5781 ThrowIncompatibleClassChangeError(type, kInterface, resolved, referrer.Get()); in ResolveMethod() 5789 ThrowIncompatibleClassChangeError(type, kDirect, resolved, referrer.Get()); in ResolveMethod() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 62 mirror::Class* referrer = method->GetDeclaringClass(); in CheckObjectAlloc() local 63 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckObjectAlloc() 64 ThrowIllegalAccessErrorClass(referrer, klass); in CheckObjectAlloc() 196 mirror::Class* referrer = method->GetDeclaringClass(); in CheckArrayAlloc() local 197 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() 198 ThrowIllegalAccessErrorClass(referrer, klass); in CheckArrayAlloc() 245 mirror::Class* referrer = method->GetDeclaringClass(); in AllocArrayFromCodeResolved() local 246 if (UNLIKELY(!referrer->CanAccess(klass))) { in AllocArrayFromCodeResolved() 247 ThrowIllegalAccessErrorClass(referrer, klass); in AllocArrayFromCodeResolved() 258 static inline mirror::ArtField* FindFieldFromCode(uint32_t field_idx, mirror::ArtMethod* referrer, in FindFieldFromCode() argument [all …]
|
D | entrypoint_utils.cc | 37 mirror::ArtMethod* referrer, in CheckFilledNewArrayAlloc() argument 46 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx); in CheckFilledNewArrayAlloc() 48 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, referrer); in CheckFilledNewArrayAlloc() 60 DCHECK(throw_location.GetMethod() == referrer); in CheckFilledNewArrayAlloc() 69 mirror::Class* referrer_klass = referrer->GetDeclaringClass(); in CheckFilledNewArrayAlloc() 80 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* referrer, in CheckAndAllocArrayFromCode() argument 84 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, in CheckAndAllocArrayFromCode() 99 mirror::ArtMethod* referrer, in CheckAndAllocArrayFromCodeInstrumented() argument 104 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, in CheckAndAllocArrayFromCodeInstrumented()
|
D | entrypoint_utils.h | 135 static inline mirror::ArtField* FindFieldFromCode(uint32_t field_idx, mirror::ArtMethod* referrer, 142 mirror::ArtMethod** referrer, Thread* self) 147 mirror::ArtMethod* referrer, 154 mirror::ArtMethod* referrer, 159 mirror::ArtMethod* referrer, 166 static inline mirror::String* ResolveStringFromCode(mirror::ArtMethod* referrer,
|
/art/runtime/arch/ |
D | stub_test.cc | 72 mirror::ArtMethod* referrer) { in Invoke3WithReferrer() argument 88 : "a"(arg0), "c"(arg1), "d"(arg2), "D"(code), [referrer]"r"(referrer) in Invoke3WithReferrer() 127 [referrer] "r"(referrer) in Invoke3WithReferrer() 255 [referrer] "r"(referrer), [fpr_result] "m" (fpr_result) in Invoke3WithReferrer() 275 : "D"(arg0), "S"(arg1), "d"(arg2), "a"(code), [referrer] "m"(referrer) in Invoke3WithReferrer() 295 Thread* self, mirror::ArtMethod* referrer, size_t hidden) { in Invoke3WithReferrerAndHidden() argument 312 : "a"(arg0), "c"(arg1), "d"(arg2), "D"(code), [referrer]"m"(referrer), [hidden]"r"(hidden) in Invoke3WithReferrerAndHidden() 353 [referrer] "r"(referrer), [hidden] "r"(hidden) in Invoke3WithReferrerAndHidden() 480 [referrer] "r"(referrer), [hidden] "r"(hidden), [fpr_result] "m" (fpr_result) in Invoke3WithReferrerAndHidden() 502 : "D"(arg0), "S"(arg1), "d"(arg2), "a"(code), [referrer] "m"(referrer), [hidden] "m"(hidden) in Invoke3WithReferrerAndHidden() [all …]
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 565 @ artInitializeStaticStorageFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 580 @ artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 596 @ artInitializeTypeAndVerifyAccessFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 609 ldr r1, [sp, #32] @ pass referrer 612 bl artGet32StaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 627 ldr r1, [sp, #32] @ pass referrer 630 bl artGet64StaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 645 ldr r1, [sp, #32] @ pass referrer 648 bl artGetObjStaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 663 ldr r2, [sp, #32] @ pass referrer [all …]
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 708 # artInitializeStaticStorageFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 722 # artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 737 # artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 750 lw $a1, 64($sp) # pass referrer's Method* 766 … jal artGet64StaticFromCode # (uint32_t field_idx, const Method* referrer, Thread*, $sp) 778 lw $a1, 64($sp) # pass referrer's Method* 794 jal artGet32InstanceFromCode # (field_idx, Object*, referrer, Thread*, $sp) 806 lw $a2, 64($sp) # pass referrer's Method* 822 jal artGetObjInstanceFromCode # (field_idx, Object*, referrer, Thread*, $sp) 834 lw $a2, 64($sp) # pass referrer's Method* [all …]
|
/art/compiler/llvm/ |
D | intrinsic_func_list.def | 195 // Method* referrer, 211 // Method* referrer, 267 // Method* referrer, 276 // Method* referrer, 328 // Method* referrer, 338 // Method* referrer, 348 // Method* referrer, 358 // Method* referrer, 472 // void art_portable_fill_array_data(Method* referrer, 494 // Method* referrer, [all …]
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2967 RegType& referrer = GetDeclaringClass(); in ResolveClassAndCheckAccess() local 2975 << "' in " << referrer; in ResolveClassAndCheckAccess() 2985 !referrer.IsUnresolvedTypes() && !referrer.CanAccess(result)) { in ResolveClassAndCheckAccess() 2987 << referrer << "' -> '" << result << "'"; in ResolveClassAndCheckAccess() 3055 RegType& referrer = GetDeclaringClass(); in ResolveMethodAndCheckAccess() local 3099 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess() 3101 << " from " << referrer << ")"; in ResolveMethodAndCheckAccess()
|