Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
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()
Dclass_ext.cc45 auto obsolete_dex_cache_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_); in SetObsoleteArrays()
46 auto obsolete_methods_off = OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_); in SetObsoleteArrays()
111 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
113 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
119 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_), bytes); in SetOriginalDexFile()
124 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_), in SetPreRedefineClassDefIndex()
130 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_), in SetPreRedefineDexFile()
Dfield.h42 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_)); in GetDexFieldIndex()
48 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags()
68 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset()
98 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); in SetAccessFlags()
103 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_), idx); in SetDexFieldIndex()
108 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); in SetOffset()
Dclass_ext-inl.h29 return GetFieldObject<ClassExt>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_)); in GetVerifyError()
34 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches()
41 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods()
45 return GetFieldObject<Object>(OFFSET_OF_OBJECT_MEMBER(ClassExt, original_dex_file_)); in GetOriginalDexFile()
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()
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-inl.h69 OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in GetSuperClass()
76 GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in SetSuperClass()
80 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); in SetSuperClass()
91 OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); in GetClassLoader()
97 OFFSET_OF_OBJECT_MEMBER(Class, ext_data_)); in GetExtData()
103 OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); in GetDexCache()
113 GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); in GetCopiedMethodsStartOffset()
127 GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); in GetVirtualMethodsStartOffset()
200 static_cast<uintptr_t>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); in GetMethodsPtr()
261 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()
99 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_), c); in SetDeclaringClass()
104 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, type_), type); in SetType()
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()
Ddex_cache.h215 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
219 return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); in PreResolvedStringsOffset()
223 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); in ResolvedTypesOffset()
227 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); in ResolvedFieldsOffset()
231 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); in ResolvedMethodsOffset()
235 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); in ResolvedMethodTypesOffset()
239 return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); in ResolvedCallSitesOffset()
243 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); in NumStringsOffset()
247 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); in NumPreResolvedStringsOffset()
251 return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); in NumResolvedTypesOffset()
[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_handle_impl.h64 const int32_t handle_kind = GetField32(OFFSET_OF_OBJECT_MEMBER(MethodHandle, handle_kind_)); in GetHandleKind()
76 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetField()
81 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetMethod()
Dstring.h54 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
58 return OFFSET_OF_OBJECT_MEMBER(String, value_); in ValueOffset()
92 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount()
98 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
247 DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); in SetHashCode()
248 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); in SetHashCode()
Dclass.h102 return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); in StatusOffset()
186 return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); in AccessFlagsOffset()
191 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); in GetClassFlags()
236 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetFinalizable()
293 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetVerificationAttempted()
354 uint32_t access_flags = GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in IsProxyClass()
359 return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); in PrimitiveTypeOffset()
371 SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); in SetPrimitiveType()
440 return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); in ComponentTypeOffset()
481 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); in SizeOf()
[all …]
Dclass_ext.h59 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex()
66 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile()
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()
Darray.h62 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); in GetLength()
69 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); in SetLength()
73 return OFFSET_OF_OBJECT_MEMBER(Array, length_); in LengthOffset()
Dstring-inl.h71 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); in GetHashCode()
Ddex_cache.cc236 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation()
Dobject.h66 #define OFFSET_OF_OBJECT_MEMBER(type, field) \ macro
90 return OFFSET_OF_OBJECT_MEMBER(Object, klass_); in ClassOffset()
142 return OFFSET_OF_OBJECT_MEMBER(Object, monitor_); in MonitorOffset()

12