Home
last modified time | relevance | path

Searched refs:OFFSET_OF_OBJECT_MEMBER (Results 1 – 25 of 27) sorted by relevance

12

/art/runtime/mirror/
Dclass_ext.cc47 auto obsolete_dex_cache_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_); in SetObsoleteArrays()
48 auto obsolete_methods_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_); in SetObsoleteArrays()
56 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_), marker); in SetIdsArraysForClassExtExtData()
57 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_), marker); in SetIdsArraysForClassExtExtData()
58 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_), marker); in SetIdsArraysForClassExtExtData()
114 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_class_), klass); in SetObsoleteClass()
123 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
125 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
131 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_), bytes); in SetOriginalDexFile()
136 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_), in SetPreRedefineClassDefIndex()
[all …]
Dthrowable.cc43 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), new_detail_message); in SetDetailMessage()
45 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), in SetDetailMessage()
54 GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in SetCause()
57 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
59 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
66 SetFieldObjectVolatile<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_), state); in SetStackState()
68 SetFieldObjectVolatile<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_), state); in SetStackState()
154 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump()
163 return GetFieldObjectVolatile<Object>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_)); in GetStackState()
167 return GetFieldObjectVolatile<Object>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_)); in GetStackTrace()
[all …]
Dstack_trace_element-inl.h28 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, declaring_class_)); in GetDeclaringClass()
32 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, method_name_)); in GetMethodName()
36 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, file_name_)); in GetFileName()
Dstack_trace_element.cc52 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, declaring_class_), in Init()
54 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, method_name_), in Init()
56 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, file_name_), in Init()
58 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_), in Init()
Demulated_stack_frame-inl.h30 return GetFieldObject<MethodType>(OFFSET_OF_OBJECT_MEMBER(EmulatedStackFrame, type_)); in GetType()
39 OFFSET_OF_OBJECT_MEMBER(EmulatedStackFrame, references_)); in GetReferences()
44 OFFSET_OF_OBJECT_MEMBER(EmulatedStackFrame, stack_frame_)); in GetStackFrame()
Dfield.h43 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_)); in GetArtFieldIndex()
48 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_), idx); in SetArtFieldIndex()
55 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags()
75 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset()
109 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); in SetAccessFlags()
114 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); in SetOffset()
Dreference.h53 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); in PendingNextOffset()
56 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); in QueueOffset()
59 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); in QueueNextOffset()
62 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); in ReferentOffset()
121 return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); in ZombieOffset()
Dclass_loader.h48 GetField64<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_))); in GetClassTable()
52 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), in SetClassTable()
58 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); in GetAllocator()
62 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), in SetAllocator()
Dclass_ext-inl.h81 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)), count); in EnsureJMethodIDsArrayPresent()
86 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)), count); in EnsureStaticJFieldIDsArrayPresent()
91 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)), count); in EnsureInstanceJFieldIDsArrayPresent()
97 OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)); in GetInstanceJFieldIDs()
113 OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)); in GetStaticJFieldIDs()
129 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_class_)); in GetObsoleteClass()
135 OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)); in GetJMethodIDs()
150 return GetFieldObject<ClassExt>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_)); in GetVerifyError()
155 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches()
162 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods()
[all …]
Dmethod_handle_impl-inl.h29 return GetFieldObject<mirror::MethodType>(OFFSET_OF_OBJECT_MEMBER(MethodHandle, method_type_)); in GetMethodType()
33 return GetFieldObject<mirror::MethodType>(OFFSET_OF_OBJECT_MEMBER(MethodHandle, nominal_type_)); in GetNominalType()
Dmethod_type-inl.h28 return GetFieldObject<ObjectArray<Class>>(OFFSET_OF_OBJECT_MEMBER(MethodType, p_types_)); in GetPTypes()
36 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(MethodType, r_type_)); in GetRType()
Dclass-inl.h70 OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in GetSuperClass()
77 GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in SetSuperClass()
82 OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); in SetSuperClass()
93 OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); in GetClassLoader()
99 OFFSET_OF_OBJECT_MEMBER(Class, ext_data_)); in GetExtData()
105 OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); in GetDexCache()
115 GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); in GetCopiedMethodsStartOffset()
129 GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); in GetVirtualMethodsStartOffset()
202 static_cast<uintptr_t>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); in GetMethodsPtr()
263 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(Class, methods_), in SetMethodsPtrUnchecked()
[all …]
Dfield-inl.h33 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_)); in GetDeclaringClass()
41 return GetFieldObject<mirror::Class>(OFFSET_OF_OBJECT_MEMBER(Field, type_)); in GetType()
104 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_), c); in SetDeclaringClass()
109 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, type_), type); in SetType()
Ddex_cache.h217 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
221 return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); in PreResolvedStringsOffset()
225 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset()
229 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset()
233 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset()
237 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset()
241 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset()
245 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); in NumStringsOffset()
249 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); in NumPreResolvedStringsOffset()
253 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); in NumResolvedTypesOffset()
[all …]
Dmethod_handle_impl.h65 const int32_t handle_kind = GetField32(OFFSET_OF_OBJECT_MEMBER(MethodHandle, handle_kind_)); in GetHandleKind()
77 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetField()
82 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetMethod()
Dstring.h58 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
62 return OFFSET_OF_OBJECT_MEMBER(String, value_); in ValueOffset()
96 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount()
102 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
252 DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); in SetHashCode()
253 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); in SetHashCode()
Dclass.h119 return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); in StatusOffset()
221 return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); in AccessFlagsOffset()
226 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); in GetClassFlags()
275 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetFinalizable()
332 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetVerificationAttempted()
343 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetObsoleteObject()
404 uint32_t access_flags = GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in IsProxyClass()
409 return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); in PrimitiveTypeOffset()
422 OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); in SetPrimitiveType()
491 return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); in ComponentTypeOffset()
[all …]
Daccessible_object.h31 return OFFSET_OF_OBJECT_MEMBER(AccessibleObject, flag_); in FlagOffset()
Dclass_loader-inl.h29 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, parent_)); in GetParent()
Dstack_trace_element.h39 return GetField32(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_)); in GetLineNumber()
Dstring-inl.h71 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); in GetHashCode()
Darray.h65 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); in GetLength()
72 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); in SetLength()
76 return OFFSET_OF_OBJECT_MEMBER(Array, length_); in LengthOffset()
Dclass_ext.h108 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex()
115 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile()
Ddex_cache.cc281 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation()
285 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_), class_loader); in SetClassLoader()
Dobject.h67 #define OFFSET_OF_OBJECT_MEMBER(type, field) \ macro
91 return OFFSET_OF_OBJECT_MEMBER(Object, klass_); in ClassOffset()
144 return OFFSET_OF_OBJECT_MEMBER(Object, monitor_); in MonitorOffset()

12