Lines Matching refs:ArtMethod
48 class MANAGED ArtMethod FINAL : public Object {
53 static ArtMethod* FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa,
62 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset()
69 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, access_flags_), new_access_flags); in SetAccessFlags()
178 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_), new_method_index); in SetMethodIndex()
182 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_); in MethodIndexOffset()
186 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_code_item_offset_)); in GetCodeItemOffset()
191 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_code_item_offset_), new_code_off); in SetCodeItemOffset()
201 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_method_index_), new_idx); in SetDexMethodIndex()
205 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_methods_); in DexCacheResolvedMethodsOffset()
209 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_types_); in DexCacheResolvedTypesOffset()
212 ALWAYS_INLINE ArtMethod* GetDexCacheResolvedMethod(uint16_t method_idx)
214 ALWAYS_INLINE void SetDexCacheResolvedMethod(uint16_t method_idx, ArtMethod* new_method)
216 ALWAYS_INLINE void SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods)
219 bool HasSameDexCacheResolvedMethods(ArtMethod* other) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
220 bool HasSameDexCacheResolvedMethods(ObjectArray<ArtMethod>* other_cache)
228 bool HasSameDexCacheResolvedTypes(ArtMethod* other) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
233 ArtMethod* FindOverriddenMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
412 constexpr size_t handle_scope_offset = sizeof(StackReference<mirror::ArtMethod>); in GetHandleScopeOffsetInBytes()
459 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_); in GetMethodIndexOffset()
489 static uint32_t FindCatchBlock(Handle<ArtMethod> h_this, Handle<Class> exception_type,
543 ALWAYS_INLINE ArtMethod* GetInterfaceMethodIfProxy() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
546 size_t total = sizeof(ArtMethod) - sizeof(PtrSizedFields); in SizeWithoutPointerFields()
566 HeapReference<ObjectArray<ArtMethod>> dex_cache_resolved_methods_;
616 ALWAYS_INLINE ObjectArray<ArtMethod>* GetDexCacheResolvedMethods()
623 size_t offset = OFFSETOF_MEMBER(ArtMethod, ptr_sized_fields_); in PtrSizedFieldsOffset()
632 DISALLOW_IMPLICIT_CONSTRUCTORS(ArtMethod);