Home
last modified time | relevance | path

Searched refs:MemberOffset (Results 1 – 25 of 96) sorted by relevance

1234

/art/runtime/mirror/
Dexecutable.h56 static MemberOffset ArtMethodOffset() { in ArtMethodOffset()
57 return MemberOffset(OFFSETOF_MEMBER(Executable, art_method_)); in ArtMethodOffset()
59 static MemberOffset DeclaringClassOffset() { in DeclaringClassOffset()
60 return MemberOffset(OFFSETOF_MEMBER(Executable, declaring_class_)); in DeclaringClassOffset()
62 static MemberOffset DeclaringClassOfOverriddenMethodOffset() { in DeclaringClassOfOverriddenMethodOffset()
63 return MemberOffset(OFFSETOF_MEMBER(Executable, declaring_class_of_overridden_method_)); in DeclaringClassOfOverriddenMethodOffset()
65 static MemberOffset AccessFlagsOffset() { in AccessFlagsOffset()
66 return MemberOffset(OFFSETOF_MEMBER(Executable, access_flags_)); in AccessFlagsOffset()
68 static MemberOffset DexMethodIndexOffset() { in DexMethodIndexOffset()
69 return MemberOffset(OFFSETOF_MEMBER(Executable, dex_method_index_)); in DexMethodIndexOffset()
Dmethod_type.h72 static MemberOffset FormOffset() { in FormOffset()
73 return MemberOffset(OFFSETOF_MEMBER(MethodType, form_)); in FormOffset()
76 static MemberOffset MethodDescriptorOffset() { in MethodDescriptorOffset()
77 return MemberOffset(OFFSETOF_MEMBER(MethodType, method_descriptor_)); in MethodDescriptorOffset()
80 static MemberOffset PTypesOffset() { in PTypesOffset()
81 return MemberOffset(OFFSETOF_MEMBER(MethodType, p_types_)); in PTypesOffset()
84 static MemberOffset RTypeOffset() { in RTypeOffset()
85 return MemberOffset(OFFSETOF_MEMBER(MethodType, r_type_)); in RTypeOffset()
88 static MemberOffset WrapAltOffset() { in WrapAltOffset()
89 return MemberOffset(OFFSETOF_MEMBER(MethodType, wrap_alt_)); in WrapAltOffset()
Dmethod_handle_impl.h98 static MemberOffset CachedSpreadInvokerOffset() { in CachedSpreadInvokerOffset()
99 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, cached_spread_invoker_)); in CachedSpreadInvokerOffset()
101 static MemberOffset NominalTypeOffset() { in NominalTypeOffset()
102 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, nominal_type_)); in NominalTypeOffset()
104 static MemberOffset MethodTypeOffset() { in MethodTypeOffset()
105 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, method_type_)); in MethodTypeOffset()
107 static MemberOffset ArtFieldOrMethodOffset() { in ArtFieldOrMethodOffset()
108 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, art_field_or_method_)); in ArtFieldOrMethodOffset()
110 static MemberOffset HandleKindOffset() { in HandleKindOffset()
111 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, handle_kind_)); in HandleKindOffset()
[all …]
Dobject.h65 MemberOffset(OFFSETOF_MEMBER(type, field))
87 static MemberOffset ClassOffset() { in ClassOffset()
142 static MemberOffset MonitorOffset() { in MonitorOffset()
285 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset)
290 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset)
297 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset,
305 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
311 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset,
318 bool CasFieldWeakSequentiallyConsistentObject(MemberOffset field_offset,
325 bool CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier(MemberOffset field_offset,
[all …]
Demulated_stack_frame.h88 static MemberOffset CallsiteTypeOffset() { in CallsiteTypeOffset()
89 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, callsite_type_)); in CallsiteTypeOffset()
92 static MemberOffset TypeOffset() { in TypeOffset()
93 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, type_)); in TypeOffset()
96 static MemberOffset ReferencesOffset() { in ReferencesOffset()
97 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, references_)); in ReferencesOffset()
100 static MemberOffset StackFrameOffset() { in StackFrameOffset()
101 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, stack_frame_)); in StackFrameOffset()
Dmethod_handles_lookup.h49 static MemberOffset AllowedModesOffset() { in AllowedModesOffset()
50 return MemberOffset(OFFSETOF_MEMBER(MethodHandlesLookup, allowed_modes_)); in AllowedModesOffset()
53 static MemberOffset LookupClassOffset() { in LookupClassOffset()
54 return MemberOffset(OFFSETOF_MEMBER(MethodHandlesLookup, lookup_class_)); in LookupClassOffset()
Dobject-inl.h397 inline uint8_t Object::GetFieldBoolean(MemberOffset field_offset) { in GetFieldBoolean()
405 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte()
413 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile()
418 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile()
424 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) in SetFieldBoolean()
442 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) in SetFieldByte()
459 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile()
465 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile()
471 inline uint16_t Object::GetFieldChar(MemberOffset field_offset) { in GetFieldChar()
479 inline int16_t Object::GetFieldShort(MemberOffset field_offset) { in GetFieldShort()
[all …]
Dreference.h55 static MemberOffset PendingNextOffset() { in PendingNextOffset()
58 static MemberOffset QueueOffset() { in QueueOffset()
61 static MemberOffset QueueNextOffset() { in QueueNextOffset()
64 static MemberOffset ReferentOffset() { in ReferentOffset()
134 static MemberOffset ZombieOffset() { in ZombieOffset()
Ddex_cache.h215 static MemberOffset StringsOffset() { in StringsOffset()
219 static MemberOffset ResolvedTypesOffset() { in ResolvedTypesOffset()
223 static MemberOffset ResolvedFieldsOffset() { in ResolvedFieldsOffset()
227 static MemberOffset ResolvedMethodsOffset() { in ResolvedMethodsOffset()
231 static MemberOffset ResolvedMethodTypesOffset() { in ResolvedMethodTypesOffset()
235 static MemberOffset ResolvedCallSitesOffset() { in ResolvedCallSitesOffset()
239 static MemberOffset NumStringsOffset() { in NumStringsOffset()
243 static MemberOffset NumResolvedTypesOffset() { in NumResolvedTypesOffset()
247 static MemberOffset NumResolvedFieldsOffset() { in NumResolvedFieldsOffset()
251 static MemberOffset NumResolvedMethodsOffset() { in NumResolvedMethodsOffset()
[all …]
Dcall_site.h49 static inline MemberOffset TargetOffset() { in TargetOffset()
50 return MemberOffset(OFFSETOF_MEMBER(CallSite, target_)); in TargetOffset()
Dclass.h157 static MemberOffset StatusOffset() { in StatusOffset()
241 static MemberOffset AccessFlagsOffset() { in AccessFlagsOffset()
398 static MemberOffset PrimitiveTypeOffset() { in PrimitiveTypeOffset()
491 static MemberOffset ComponentTypeOffset() { in ComponentTypeOffset()
602 static MemberOffset ObjectSizeOffset() { in ObjectSizeOffset()
605 static MemberOffset ObjectSizeAllocFastPathOffset() { in ObjectSizeAllocFastPathOffset()
686 static MemberOffset SuperClassOffset() { in SuperClassOffset()
687 return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); in SuperClassOffset()
696 static MemberOffset DexCacheOffset() { in DexCacheOffset()
697 return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); in DexCacheOffset()
[all …]
Dclass-inl.h307 return GetField32(MemberOffset(EmbeddedVTableLengthOffset())); in GetEmbeddedVTableLength()
311 SetField32<false>(MemberOffset(EmbeddedVTableLengthOffset()), len); in SetEmbeddedVTableLength()
315 return GetFieldPtrWithSize<ImTable*>(MemberOffset(ImtPtrOffset(pointer_size)), pointer_size); in GetImt()
319 return SetFieldPtrWithSize<false>(MemberOffset(ImtPtrOffset(pointer_size)), imt, pointer_size); in SetImt()
322 inline MemberOffset Class::EmbeddedVTableEntryOffset(uint32_t i, PointerSize pointer_size) { in EmbeddedVTableEntryOffset()
323 return MemberOffset( in EmbeddedVTableEntryOffset()
597 inline MemberOffset Class::GetFirstReferenceInstanceFieldOffset() { in GetFirstReferenceInstanceFieldOffset()
600 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags, kReadBarrierOption>(), in GetFirstReferenceInstanceFieldOffset()
606 inline MemberOffset Class::GetFirstReferenceStaticFieldOffset(PointerSize pointer_size) { in GetFirstReferenceStaticFieldOffset()
614 return MemberOffset(base); in GetFirstReferenceStaticFieldOffset()
[all …]
Daccessible_object.h34 static MemberOffset FlagOffset() { in FlagOffset()
/art/runtime/
Dtransaction.h60 MemberOffset field_offset,
65 MemberOffset field_offset,
70 MemberOffset field_offset,
75 MemberOffset field_offset,
80 MemberOffset field_offset,
85 MemberOffset field_offset,
90 MemberOffset field_offset,
131 void LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile);
132 void LogByteValue(MemberOffset offset, int8_t value, bool is_volatile);
133 void LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile);
[all …]
Dtransaction.cc104 MemberOffset field_offset, in RecordWriteFieldBoolean()
114 MemberOffset field_offset, in RecordWriteFieldByte()
124 MemberOffset field_offset, in RecordWriteFieldChar()
135 MemberOffset field_offset, in RecordWriteFieldShort()
146 MemberOffset field_offset, in RecordWriteField32()
156 MemberOffset field_offset, in RecordWriteField64()
166 MemberOffset field_offset, in RecordWriteFieldReference()
344 void Transaction::ObjectLog::LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) { in LogBooleanValue()
348 void Transaction::ObjectLog::LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) { in LogByteValue()
352 void Transaction::ObjectLog::LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) { in LogCharValue()
[all …]
Dart_method.h90 static MemberOffset DeclaringClassOffset() { in DeclaringClassOffset()
91 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset()
320 static MemberOffset DexMethodIndexOffset() { in DexMethodIndexOffset()
324 static MemberOffset MethodIndexOffset() { in MethodIndexOffset()
417 static MemberOffset DexCacheResolvedMethodsOffset(PointerSize pointer_size) { in DexCacheResolvedMethodsOffset()
418 return MemberOffset(PtrSizedFieldsOffset(pointer_size) + OFFSETOF_MEMBER( in DexCacheResolvedMethodsOffset()
423 static MemberOffset DataOffset(PointerSize pointer_size) { in DataOffset()
424 return MemberOffset(PtrSizedFieldsOffset(pointer_size) + OFFSETOF_MEMBER( in DataOffset()
428 static MemberOffset EntryPointFromJniOffset(PointerSize pointer_size) { in EntryPointFromJniOffset()
432 static MemberOffset EntryPointFromQuickCompiledCodeOffset(PointerSize pointer_size) { in EntryPointFromQuickCompiledCodeOffset()
[all …]
Dread_barrier.h50 mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr)
77 AssertToSpaceInvariant(nullptr, MemberOffset(0), ref); in AssertToSpaceInvariant()
80 static void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset,
Doffsets.h65 class MemberOffset : public Offset {
67 explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset() function
Dart_field.h88 MemberOffset GetOffset() REQUIRES_SHARED(Locks::mutator_lock_) { in GetOffset()
92 return MemberOffset(offset_); in GetOffset()
95 static MemberOffset OffsetOffset() { in OffsetOffset()
96 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset()
99 MemberOffset GetOffsetDuringLinking() REQUIRES_SHARED(Locks::mutator_lock_);
101 void SetOffset(MemberOffset num_bytes) REQUIRES_SHARED(Locks::mutator_lock_);
Druntime.h487 void RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, uint8_t value,
489 void RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, int8_t value,
491 void RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, uint16_t value,
493 void RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, int16_t value,
495 void RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value,
497 void RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value,
500 MemberOffset field_offset,
/art/compiler/optimizing/
Dgvn_test.cc49 MemberOffset(42), in TEST_F()
58 MemberOffset(42), in TEST_F()
68 MemberOffset(43), in TEST_F()
80 MemberOffset(42), in TEST_F()
89 MemberOffset(42), in TEST_F()
132 MemberOffset(42), in TEST_F()
155 MemberOffset(42), in TEST_F()
165 MemberOffset(42), in TEST_F()
175 MemberOffset(42), in TEST_F()
215 MemberOffset(42), in TEST_F()
[all …]
Dlicm_test.cc128 MemberOffset(10), in TEST_F()
136 parameter_, int_constant_, nullptr, Primitive::kPrimInt, MemberOffset(20), in TEST_F()
155 MemberOffset(10), in TEST_F()
166 MemberOffset(10), in TEST_F()
/art/runtime/native/
Dsun_misc_Unsafe.cc38 bool success = obj->CasFieldStrongSequentiallyConsistent32<false>(MemberOffset(offset), in Unsafe_compareAndSwapInt()
49 bool success = obj->CasFieldStrongSequentiallyConsistent64<false>(MemberOffset(offset), in Unsafe_compareAndSwapLong()
70 MemberOffset(offset), in Unsafe_compareAndSwapObject()
73 bool success = obj->CasFieldStrongSequentiallyConsistentObject<false>(MemberOffset(offset), in Unsafe_compareAndSwapObject()
82 return obj->GetField32(MemberOffset(offset)); in Unsafe_getInt()
88 return obj->GetField32Volatile(MemberOffset(offset)); in Unsafe_getIntVolatile()
95 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putInt()
103 obj->SetField32Volatile<false>(MemberOffset(offset), newValue); in Unsafe_putIntVolatile()
112 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putOrderedInt()
118 return obj->GetField64(MemberOffset(offset)); in Unsafe_getLong()
[all …]
/art/runtime/gc/collector/
Dconcurrent_copying.h101 void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, mirror::Object* ref)
112 MemberOffset offset = MemberOffset(0))
141 MemberOffset offset)
146 void Process(mirror::Object* obj, MemberOffset offset)
226 void LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset)
236 MemberOffset offset = MemberOffset(0))
/art/runtime/gc/
Dverification.h48 MemberOffset offset,

1234