/art/runtime/mirror/ |
D | class_ext.cc | 47 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, erroneous_state_error_), err); in SetErroneousStateError() 125 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, erroneous_state_error_), err); in SetErroneousStateError() 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 …]
|
D | stack_frame_info.cc | 52 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, declaring_class_), in SetFields() 54 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, method_type_), in SetFields() 56 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, method_name_), in SetFields() 58 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, file_name_), in SetFields() 60 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, line_number_), in SetFields() 62 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, bci_), in SetFields()
|
D | throwable.cc | 43 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 …]
|
D | method_handle_impl-inl.h | 29 const int32_t handle_kind = GetField32(OFFSET_OF_OBJECT_MEMBER(MethodHandle, handle_kind_)); in GetHandleKind() 36 return GetFieldObject<mirror::MethodType>(OFFSET_OF_OBJECT_MEMBER(MethodHandle, method_type_)); in GetMethodType() 42 OFFSET_OF_OBJECT_MEMBER(MethodHandle, as_type_cache_)); in GetAsTypeCache() 47 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetField() 52 GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); in GetTargetMethod()
|
D | field.h | 46 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_)); in GetArtFieldIndex() 52 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags() 72 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset() 98 return OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_); in DeclaringClassOffset() 102 return OFFSET_OF_OBJECT_MEMBER(Field, type_); in TypeOffset() 106 return OFFSET_OF_OBJECT_MEMBER(Field, access_flags_); in AccessFlagsOffset() 110 return OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_); in ArtFieldIndexOffset() 114 return OFFSET_OF_OBJECT_MEMBER(Field, offset_); in OffsetOffset()
|
D | stack_trace_element-inl.h | 28 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()
|
D | stack_trace_element.cc | 52 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()
|
D | emulated_stack_frame-inl.h | 30 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()
|
D | reference.h | 55 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); in PendingNextOffset() 58 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); in QueueOffset() 61 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); in QueueNextOffset() 64 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); in ReferentOffset() 125 return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); in ZombieOffset()
|
D | class_loader.h | 52 GetField64<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_))); in GetClassTable() 56 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), in SetClassTable() 62 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); in GetAllocator() 66 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), in SetAllocator()
|
D | class-inl.h | 70 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 …]
|
D | class_ext-inl.h | 80 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)), count); in EnsureJMethodIDsArrayPresent() 85 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)), count); in EnsureStaticJFieldIDsArrayPresent() 90 MemberOffset(OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)), count); in EnsureInstanceJFieldIDsArrayPresent() 96 OFFSET_OF_OBJECT_MEMBER(ClassExt, instance_jfield_ids_)); in GetInstanceJFieldIDs() 112 OFFSET_OF_OBJECT_MEMBER(ClassExt, static_jfield_ids_)); in GetStaticJFieldIDs() 128 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_class_)); in GetObsoleteClass() 134 OFFSET_OF_OBJECT_MEMBER(ClassExt, jmethod_ids_)); in GetJMethodIDs() 148 return GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(ClassExt, erroneous_state_error_)); in GetErroneousStateError() 154 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_dex_caches_)); in GetObsoleteDexCaches() 161 OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_methods_)); in GetObsoleteMethods() [all …]
|
D | field-inl.h | 32 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_)); in GetDeclaringClass() 40 return GetFieldObject<mirror::Class>(OFFSET_OF_OBJECT_MEMBER(Field, type_)); in GetType()
|
D | class.h | 121 return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); in StatusOffset() 228 return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); in AccessFlagsOffset() 233 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); in GetClassFlags() 291 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetFinalizable() 354 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in SetObsoleteObject() 415 uint32_t access_flags = GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); in IsProxyClass() 420 return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); in PrimitiveTypeOffset() 433 OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); in SetPrimitiveType() 502 return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); in ComponentTypeOffset() 558 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); in SizeOf() [all …]
|
D | string.h | 62 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset() 66 return OFFSET_OF_OBJECT_MEMBER(String, value_); in ValueOffset() 100 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount() 106 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount() 110 return GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); in GetStoredHashCode() 306 OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); in SetHashCode()
|
D | accessible_object.h | 34 return OFFSET_OF_OBJECT_MEMBER(AccessibleObject, flag_); in FlagOffset()
|
D | class_loader-inl.h | 29 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, parent_)); in GetParent()
|
D | dex_cache.cc | 156 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); in SetLocation() 160 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_), class_loader); in SetClassLoader() 164 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(DexCache, class_loader_)); in GetClassLoader()
|
D | method_type-inl.h | 73 return GetFieldObject<ObjectArray<Class>>(OFFSET_OF_OBJECT_MEMBER(MethodType, p_types_)); in GetPTypes() 81 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(MethodType, r_type_)); in GetRType()
|
D | stack_trace_element.h | 42 return GetField32(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_)); in GetLineNumber()
|
D | array.h | 68 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); in GetLength() 75 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); in SetLength() 79 return OFFSET_OF_OBJECT_MEMBER(Array, length_); in LengthOffset()
|
D | class_ext.h | 115 GetField32(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_class_def_index_))); in GetPreRedefineClassDefIndex() 122 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassExt, pre_redefine_dex_file_ptr_)))); in GetPreRedefineDexFile()
|
D | dex_cache.h | 364 return GetFieldPtr<const DexFile*>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); in GetDexFile() 368 SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); in SetDexFile() 409 return OFFSET_OF_OBJECT_MEMBER(DexCache, name); \ 433 return OFFSET_OF_OBJECT_MEMBER(DexCache, name); \
|
D | object.h | 68 #define OFFSET_OF_OBJECT_MEMBER(type, field) \ macro 94 return OFFSET_OF_OBJECT_MEMBER(Object, klass_); in ClassOffset() 153 return OFFSET_OF_OBJECT_MEMBER(Object, monitor_); in MonitorOffset()
|
D | dex_cache-inl.h | 351 OFFSET_OF_OBJECT_MEMBER(DexCache, location_)); in GetLocation()
|