/art/runtime/mirror/ |
D | art_method-inl.h | 30 inline Class* ArtMethod::GetDeclaringClass() const { in GetDeclaringClass() 31 …Class* result = GetFieldObject<Class*>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, declaring_class_), false… in GetDeclaringClass() 37 inline void ArtMethod::SetDeclaringClass(Class *new_declaring_class) { in SetDeclaringClass() 38 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(ArtMethod, declaring_class_), new_declaring_class, false); in SetDeclaringClass() 41 inline uint32_t ArtMethod::GetAccessFlags() const { in GetAccessFlags() 43 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, access_flags_), false); in GetAccessFlags() 46 inline uint16_t ArtMethod::GetMethodIndex() const { in GetMethodIndex() 48 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_), false); in GetMethodIndex() 51 inline uint32_t ArtMethod::GetDexMethodIndex() const { in GetDexMethodIndex() 58 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_dex_index_), false); in GetDexMethodIndex() [all …]
|
D | art_method.h | 45 class MANAGED ArtMethod : public Object { 52 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset() 56 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, entry_point_from_compiled_code_)); in EntryPointFromCompiledCodeOffset() 62 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, access_flags_), new_access_flags, false); in SetAccessFlags() 142 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_), new_method_index, false); in SetMethodIndex() 146 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_); in MethodIndexOffset() 150 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, code_item_offset_), false); in GetCodeItemOffset() 154 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, code_item_offset_), new_code_off, false); in SetCodeItemOffset() 163 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_dex_index_), new_idx, false); in SetDexMethodIndex() 171 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_strings_); in DexCacheStringsOffset() [all …]
|
D | art_method.cc | 37 extern "C" void art_portable_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, char); 38 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, char); 41 Class* ArtMethod::java_lang_reflect_ArtMethod_ = NULL; 43 InvokeType ArtMethod::GetInvokeType() const { in GetInvokeType() 56 void ArtMethod::SetClass(Class* java_lang_reflect_ArtMethod) { in SetClass() 62 void ArtMethod::ResetClass() { in ResetClass() 67 void ArtMethod::SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings) { in SetDexCacheStrings() 68 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_strings_), in SetDexCacheStrings() 72 void ArtMethod::SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods) { in SetDexCacheResolvedMethods() 73 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_methods_), in SetDexCacheResolvedMethods() [all …]
|
D | class-inl.h | 57 inline ObjectArray<ArtMethod>* Class::GetDirectMethods() const { in GetDirectMethods() 59 return GetFieldObject<ObjectArray<ArtMethod>*>( in GetDirectMethods() 63 inline void Class::SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods) in SetDirectMethods() 65 DCHECK(NULL == GetFieldObject<ObjectArray<ArtMethod>*>( in SetDirectMethods() 72 inline ArtMethod* Class::GetDirectMethod(int32_t i) const in GetDirectMethod() 77 inline void Class::SetDirectMethod(uint32_t i, ArtMethod* f) // TODO: uint16_t in SetDirectMethod() 79 ObjectArray<ArtMethod>* direct_methods = in SetDirectMethod() 80 GetFieldObject<ObjectArray<ArtMethod>*>( in SetDirectMethod() 90 inline ObjectArray<ArtMethod>* Class::GetVirtualMethods() const { in GetVirtualMethods() 92 return GetFieldObject<ObjectArray<ArtMethod>*>( in GetVirtualMethods() [all …]
|
D | iftable.h | 35 ObjectArray<ArtMethod>* GetMethodArray(int32_t i) const in GetMethodArray() 37 ObjectArray<ArtMethod>* method_array = in GetMethodArray() 38 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray() 44 ObjectArray<ArtMethod>* method_array = in GetMethodArrayCount() 45 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount() 52 void SetMethodArray(int32_t i, ObjectArray<ArtMethod>* new_ma) in SetMethodArray()
|
D | class.h | 505 ObjectArray<ArtMethod>* GetDirectMethods() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 507 void SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods) 510 ArtMethod* GetDirectMethod(int32_t i) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 512 void SetDirectMethod(uint32_t i, ArtMethod* f) // TODO: uint16_t 518 ObjectArray<ArtMethod>* GetVirtualMethods() const 521 void SetVirtualMethods(ObjectArray<ArtMethod>* new_virtual_methods) 527 ArtMethod* GetVirtualMethod(uint32_t i) const 530 ArtMethod* GetVirtualMethodDuringLinking(uint32_t i) const 533 void SetVirtualMethod(uint32_t i, ArtMethod* f) // TODO: uint16_t 536 ObjectArray<ArtMethod>* GetVTable() const; [all …]
|
D | class.cc | 74 SirtRef<mirror::ArtMethod> old_throw_method(self, NULL); in SetStatus() 330 return this == ArtMethod::GetJavaLangReflectArtMethod(); in IsArtMethodClass() 337 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) const { in FindInterfaceMethod() 339 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod() 355 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const { in FindInterfaceMethod() 357 ArtMethod* method = FindDeclaredVirtualMethod(dex_cache, dex_method_idx); in FindInterfaceMethod() 374 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) c… in FindDeclaredDirectMethod() 377 ArtMethod* method = GetDirectMethod(i); in FindDeclaredDirectMethod() 386 ArtMethod* Class::FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx) cons… in FindDeclaredDirectMethod() 389 ArtMethod* method = GetDirectMethod(i); in FindDeclaredDirectMethod() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 26 extern "C" mirror::Object* artAllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, in artAllocObjectFromCode() 27 Thread* self, mirror::ArtMethod** sp) in artAllocObjectFromCode() 34 mirror::ArtMethod* method, in artAllocObjectFromCodeWithAccessCheck() 36 mirror::ArtMethod** sp) in artAllocObjectFromCodeWithAccessCheck() 42 extern "C" mirror::Array* artAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, in artAllocArrayFromCode() 44 mirror::ArtMethod** sp) in artAllocArrayFromCode() 51 mirror::ArtMethod* method, in artAllocArrayFromCodeWithAccessCheck() 54 mirror::ArtMethod** sp) in artAllocArrayFromCodeWithAccessCheck() 61 mirror::ArtMethod* method, in artCheckAndAllocArrayFromCode() 63 mirror::ArtMethod** sp) in artCheckAndAllocArrayFromCode() [all …]
|
D | quick_dexcache_entrypoints.cc | 29 const mirror::ArtMethod* referrer, in artInitializeStaticStorageFromCode() 31 mirror::ArtMethod** sp) in artInitializeStaticStorageFromCode() 41 const mirror::ArtMethod* referrer, in artInitializeTypeFromCode() 42 Thread* self, mirror::ArtMethod** sp) in artInitializeTypeFromCode() 50 … const mirror::ArtMethod* referrer, in artInitializeTypeAndVerifyAccessFromCode() 52 mirror::ArtMethod** sp) in artInitializeTypeAndVerifyAccessFromCode() 60 extern "C" mirror::String* artResolveStringFromCode(mirror::ArtMethod* referrer, in artResolveStringFromCode() 62 Thread* self, mirror::ArtMethod** sp) in artResolveStringFromCode()
|
D | quick_field_entrypoints.cc | 29 const mirror::ArtMethod* referrer, in artGet32StaticFromCode() 30 Thread* self, mirror::ArtMethod** sp) in artGet32StaticFromCode() 46 const mirror::ArtMethod* referrer, in artGet64StaticFromCode() 47 Thread* self, mirror::ArtMethod** sp) in artGet64StaticFromCode() 63 const mirror::ArtMethod* referrer, in artGetObjStaticFromCode() 64 Thread* self, mirror::ArtMethod** sp) in artGetObjStaticFromCode() 81 const mirror::ArtMethod* referrer, Thread* self, in artGet32InstanceFromCode() 82 mirror::ArtMethod** sp) in artGet32InstanceFromCode() 104 const mirror::ArtMethod* referrer, Thread* self, in artGet64InstanceFromCode() 105 mirror::ArtMethod** sp) in artGet64InstanceFromCode() [all …]
|
D | quick_invoke_entrypoints.cc | 29 extern "C" uint64_t artInvokeInterfaceTrampoline(mirror::ArtMethod* interface_method, in artInvokeInterfaceTrampoline() 31 mirror::ArtMethod* caller_method, in artInvokeInterfaceTrampoline() 32 Thread* self, mirror::ArtMethod** sp) in artInvokeInterfaceTrampoline() 34 mirror::ArtMethod* method; in artInvokeInterfaceTrampoline() 147 mirror::ArtMethod* caller_method, in artInvokeCommon() 148 Thread* self, mirror::ArtMethod** sp, bool access_check, in artInvokeCommon() 151 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, in artInvokeCommon() 182 mirror::ArtMethod* caller_method, in artInvokeInterfaceTrampolineWithAccessCheck() 184 mirror::ArtMethod** sp) in artInvokeInterfaceTrampolineWithAccessCheck() 192 mirror::ArtMethod* caller_method, in artInvokeDirectTrampolineWithAccessCheck() [all …]
|
D | quick_throw_entrypoints.cc | 27 extern "C" void artDeliverPendingExceptionFromCode(Thread* thread, mirror::ArtMethod** sp) in artDeliverPendingExceptionFromCode() 35 mirror::ArtMethod** sp) in artDeliverExceptionFromCode() 57 mirror::ArtMethod** sp) in artThrowNullPointerExceptionFromCode() 67 mirror::ArtMethod** sp) in artThrowDivZeroFromCode() 76 mirror::ArtMethod** sp) in artThrowArrayBoundsFromCode() 83 extern "C" void artThrowStackOverflowFromCode(Thread* self, mirror::ArtMethod** sp) in artThrowStackOverflowFromCode() 91 mirror::ArtMethod** sp) in artThrowNoSuchMethodFromCode()
|
D | quick_instrumentation_entrypoints.cc | 26 extern "C" const void* artInstrumentationMethodEntryFromCode(mirror::ArtMethod* method, in artInstrumentationMethodEntryFromCode() 29 mirror::ArtMethod** sp, in artInstrumentationMethodEntryFromCode() 42 extern "C" uint64_t artInstrumentationMethodExitFromCode(Thread* self, mirror::ArtMethod** sp, in artInstrumentationMethodExitFromCode() 50 mirror::ArtMethod* callee_save = Runtime::Current()->GetCalleeSaveMethod(Runtime::kRefsOnly); in artInstrumentationMethodExitFromCode()
|
/art/runtime/ |
D | trace.h | 35 class ArtMethod; variable 72 void CompareAndUpdateStackTrace(Thread* thread, std::vector<mirror::ArtMethod*>* stack_trace) 76 const mirror::ArtMethod* method, uint32_t dex_pc) 79 const mirror::ArtMethod* method, uint32_t dex_pc, 82 virtual void MethodUnwind(Thread* thread, const mirror::ArtMethod* method, uint32_t dex_pc) 85 const mirror::ArtMethod* method, uint32_t new_dex_pc) 88 mirror::ArtMethod* catch_method, uint32_t catch_dex_pc, 93 static std::vector<mirror::ArtMethod*>* AllocStackTrace(); 95 static void FreeStackTrace(std::vector<mirror::ArtMethod*>* stack_trace); 107 void LogMethodTraceEvent(Thread* thread, const mirror::ArtMethod* method, [all …]
|
D | instrumentation.h | 28 class ArtMethod; variable 50 const mirror::ArtMethod* method, 57 const mirror::ArtMethod* method, uint32_t dex_pc, 63 virtual void MethodUnwind(Thread* thread, const mirror::ArtMethod* method, 68 const mirror::ArtMethod* method, uint32_t new_dex_pc) 73 mirror::ArtMethod* catch_method, uint32_t catch_dex_pc, 114 void UpdateMethodsCode(mirror::ArtMethod* method, const void* code) const; 119 const void* GetQuickCodeFor(const mirror::ArtMethod* method) const 155 const mirror::ArtMethod* method, uint32_t dex_pc) const in MethodEnterEvent() 164 const mirror::ArtMethod* method, uint32_t dex_pc, in MethodExitEvent() [all …]
|
D | common_throws.h | 26 class ArtMethod; variable 35 void ThrowAbstractMethodError(const mirror::ArtMethod* method) 77 const mirror::ArtMethod* caller, 78 const mirror::ArtMethod* called, 82 void ThrowIllegalAccessErrorMethod(mirror::Class* referrer, mirror::ArtMethod* accessed) 88 void ThrowIllegalAccessErrorFinalField(const mirror::ArtMethod* referrer, 104 mirror::ArtMethod* method, 105 const mirror::ArtMethod* referrer) 108 void ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch(const mirror::ArtMethod* interface_… 110 const mirror::ArtMethod* referrer) [all …]
|
D | trace.cc | 93 mirror::ArtMethod* m = GetMethod(); in VisitFrame() 102 std::vector<mirror::ArtMethod*>* GetStackTrace() const { in GetStackTrace() 107 std::vector<mirror::ArtMethod*>* const method_trace_; 126 UniquePtr<std::vector<mirror::ArtMethod*> > Trace::temp_stack_trace_; 128 static mirror::ArtMethod* DecodeTraceMethodId(uint32_t tmid) { in DecodeTraceMethodId() 129 return reinterpret_cast<mirror::ArtMethod*>(tmid & ~kTraceMethodActionMask); in DecodeTraceMethodId() 136 static uint32_t EncodeTraceMethodAndAction(const mirror::ArtMethod* method, in EncodeTraceMethodAndAction() 143 std::vector<mirror::ArtMethod*>* Trace::AllocStackTrace() { in AllocStackTrace() 147 return new std::vector<mirror::ArtMethod*>(); in AllocStackTrace() 151 void Trace::FreeStackTrace(std::vector<mirror::ArtMethod*>* stack_trace) { in FreeStackTrace() [all …]
|
D | throw_location.h | 29 class ArtMethod; variable 39 ThrowLocation(mirror::Object* throw_this_object, mirror::ArtMethod* throw_method, in ThrowLocation() 49 mirror::ArtMethod* GetMethod() const { in GetMethod() 71 mirror::ArtMethod* method_;
|
D | stack.h | 31 class ArtMethod; variable 69 mirror::ArtMethod* method, uint32_t dex_pc) { in Create() 77 mirror::ArtMethod* method, uint32_t dex_pc, void* memory) { in Create() 198 mirror::ArtMethod* GetMethod() const { in GetMethod() 209 void SetMethod(mirror::ArtMethod* method) { in SetMethod() 251 ShadowFrame(uint32_t num_vregs, ShadowFrame* link, mirror::ArtMethod* method, in ShadowFrame() 288 mirror::ArtMethod* method_; 290 mirror::ArtMethod* const method_; 326 mirror::ArtMethod** GetTopQuickFrame() const { in GetTopQuickFrame() 330 void SetTopQuickFrame(mirror::ArtMethod** top) { in SetTopQuickFrame() [all …]
|
/art/runtime/entrypoints/portable/ |
D | portable_invoke_entrypoints.cc | 24 static mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, in FindMethodHelper() 26 mirror::ArtMethod* caller_method, in FindMethodHelper() 31 mirror::ArtMethod* method = FindMethodFast(method_idx, in FindMethodHelper() 58 … mirror::ArtMethod* referrer, in art_portable_find_static_method_from_code_with_access_check() 66 … mirror::ArtMethod* referrer, in art_portable_find_direct_method_from_code_with_access_check() 74 … mirror::ArtMethod* referrer, in art_portable_find_virtual_method_from_code_with_access_check() 82 … mirror::ArtMethod* referrer, in art_portable_find_super_method_from_code_with_access_check() 90 … mirror::ArtMethod* referrer, in art_portable_find_interface_method_from_code_with_access_check() 98 mirror::ArtMethod* referrer, in art_portable_find_interface_method_from_code()
|
D | portable_alloc_entrypoints.cc | 24 mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code() 31 … mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code_with_access_check() 38 mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code() 46 … mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code_with_access_check() 54 mirror::ArtMethod* referrer, in art_portable_check_and_alloc_array_from_code() 62 … mirror::ArtMethod* referrer, in art_portable_check_and_alloc_array_from_code_with_access_check()
|
D | portable_dexcache_entrypoints.cc | 25 … mirror::ArtMethod* referrer, in art_portable_initialize_static_storage_from_code() 32 mirror::ArtMethod* referrer, in art_portable_initialize_type_from_code() 39 … mirror::ArtMethod* referrer, 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()
|
D | portable_entrypoints.h | 25 class ArtMethod; variable 38 void (*pPortableResolutionTrampoline)(mirror::ArtMethod*); 39 void (*pPortableToInterpreterBridge)(mirror::ArtMethod*);
|
D | portable_field_entrypoints.cc | 25 mirror::ArtMethod* referrer, in art_portable_set32_static_from_code() 50 mirror::ArtMethod* referrer, in art_portable_set64_static_from_code() 72 mirror::ArtMethod* referrer, in art_portable_set_obj_static_from_code() 91 mirror::ArtMethod* referrer) in art_portable_get32_static_from_code() 106 mirror::ArtMethod* referrer) in art_portable_get64_static_from_code() 121 mirror::ArtMethod* referrer) in art_portable_get_obj_static_from_code() 137 mirror::ArtMethod* referrer, in art_portable_set32_instance_from_code() 155 mirror::ArtMethod* referrer, in art_portable_set64_instance_from_code() 173 mirror::ArtMethod* referrer, in art_portable_set_obj_instance_from_code() 193 mirror::ArtMethod* referrer, in art_portable_get32_instance_from_code() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 45 static inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, in AllocObjectFromCode() 83 static inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, in AllocArrayFromCode() 110 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, 128 extern mirror::ArtField* FindFieldFromCode(uint32_t field_idx, const mirror::ArtMethod* referrer, 135 const mirror::ArtMethod* referrer, in FindFieldFast() 189 static inline mirror::ArtMethod* FindMethodFast(uint32_t method_idx, in FindMethodFast() 191 const mirror::ArtMethod* referrer, in FindMethodFast() 198 mirror::ArtMethod* resolved_method = in FindMethodFast() 231 extern mirror::ArtMethod* FindMethodFromCode(uint32_t method_idx, mirror::Object* this_object, 232 mirror::ArtMethod* referrer, [all …]
|