Home
last modified time | relevance | path

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

1234

/art/runtime/mirror/
Dmethod_handle_impl.h105 static MemberOffset CachedSpreadInvokerOffset() { in CachedSpreadInvokerOffset()
106 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, cached_spread_invoker_)); in CachedSpreadInvokerOffset()
108 static MemberOffset NominalTypeOffset() { in NominalTypeOffset()
109 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, nominal_type_)); in NominalTypeOffset()
111 static MemberOffset MethodTypeOffset() { in MethodTypeOffset()
112 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, method_type_)); in MethodTypeOffset()
114 static MemberOffset ArtFieldOrMethodOffset() { in ArtFieldOrMethodOffset()
115 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, art_field_or_method_)); in ArtFieldOrMethodOffset()
117 static MemberOffset HandleKindOffset() { in HandleKindOffset()
118 return MemberOffset(OFFSETOF_MEMBER(MethodHandle, handle_kind_)); in HandleKindOffset()
[all …]
Dexecutable.h55 static MemberOffset ArtMethodOffset() { in ArtMethodOffset()
56 return MemberOffset(OFFSETOF_MEMBER(Executable, art_method_)); in ArtMethodOffset()
83 static MemberOffset DeclaringClassOffset() { in DeclaringClassOffset()
84 return MemberOffset(OFFSETOF_MEMBER(Executable, declaring_class_)); in DeclaringClassOffset()
86 static MemberOffset DeclaringClassOfOverriddenMethodOffset() { in DeclaringClassOfOverriddenMethodOffset()
87 return MemberOffset(OFFSETOF_MEMBER(Executable, declaring_class_of_overridden_method_)); in DeclaringClassOfOverriddenMethodOffset()
89 static MemberOffset AccessFlagsOffset() { in AccessFlagsOffset()
90 return MemberOffset(OFFSETOF_MEMBER(Executable, access_flags_)); in AccessFlagsOffset()
92 static MemberOffset DexMethodIndexOffset() { in DexMethodIndexOffset()
93 return MemberOffset(OFFSETOF_MEMBER(Executable, dex_method_index_)); in DexMethodIndexOffset()
Dmethod_type.h73 static MemberOffset FormOffset() { in FormOffset()
74 return MemberOffset(OFFSETOF_MEMBER(MethodType, form_)); in FormOffset()
77 static MemberOffset MethodDescriptorOffset() { in MethodDescriptorOffset()
78 return MemberOffset(OFFSETOF_MEMBER(MethodType, method_descriptor_)); in MethodDescriptorOffset()
81 static MemberOffset PTypesOffset() { in PTypesOffset()
82 return MemberOffset(OFFSETOF_MEMBER(MethodType, p_types_)); in PTypesOffset()
85 static MemberOffset RTypeOffset() { in RTypeOffset()
86 return MemberOffset(OFFSETOF_MEMBER(MethodType, r_type_)); in RTypeOffset()
89 static MemberOffset WrapAltOffset() { in WrapAltOffset()
90 return MemberOffset(OFFSETOF_MEMBER(MethodType, wrap_alt_)); in WrapAltOffset()
Demulated_stack_frame.h69 static MemberOffset CallsiteTypeOffset() { in CallsiteTypeOffset()
70 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, callsite_type_)); in CallsiteTypeOffset()
73 static MemberOffset TypeOffset() { in TypeOffset()
74 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, type_)); in TypeOffset()
77 static MemberOffset ReferencesOffset() { in ReferencesOffset()
78 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, references_)); in ReferencesOffset()
81 static MemberOffset StackFrameOffset() { in StackFrameOffset()
82 return MemberOffset(OFFSETOF_MEMBER(EmulatedStackFrame, stack_frame_)); in StackFrameOffset()
Dobject.h68 MemberOffset(OFFSETOF_MEMBER(type, field))
90 static constexpr MemberOffset ClassOffset() { in ClassOffset()
143 static constexpr MemberOffset MonitorOffset() { in MonitorOffset()
278 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset)
284 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset)
291 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset,
299 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
305 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value)
311 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value)
317 ALWAYS_INLINE bool CasFieldObject(MemberOffset field_offset,
[all …]
Dvar_handle.h163 static MemberOffset VarTypeOffset() { in VarTypeOffset()
164 return MemberOffset(OFFSETOF_MEMBER(VarHandle, var_type_)); in VarTypeOffset()
167 static MemberOffset CoordinateType0Offset() { in CoordinateType0Offset()
168 return MemberOffset(OFFSETOF_MEMBER(VarHandle, coordinate_type0_)); in CoordinateType0Offset()
171 static MemberOffset CoordinateType1Offset() { in CoordinateType1Offset()
172 return MemberOffset(OFFSETOF_MEMBER(VarHandle, coordinate_type1_)); in CoordinateType1Offset()
175 static MemberOffset AccessModesBitMaskOffset() { in AccessModesBitMaskOffset()
176 return MemberOffset(OFFSETOF_MEMBER(VarHandle, access_modes_bit_mask_)); in AccessModesBitMaskOffset()
205 static MemberOffset ArtFieldOffset() { in ArtFieldOffset()
206 return MemberOffset(OFFSETOF_MEMBER(FieldVarHandle, art_field_)); in ArtFieldOffset()
[all …]
Dmethod_handles_lookup.h52 static MemberOffset AllowedModesOffset() { in AllowedModesOffset()
53 return MemberOffset(OFFSETOF_MEMBER(MethodHandlesLookup, allowed_modes_)); in AllowedModesOffset()
56 static MemberOffset LookupClassOffset() { in LookupClassOffset()
57 return MemberOffset(OFFSETOF_MEMBER(MethodHandlesLookup, lookup_class_)); in LookupClassOffset()
Dobject-inl.h374 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte()
380 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile()
385 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile()
393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean()
410 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) { in SetFieldByte()
423 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile()
429 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile()
435 inline uint16_t Object::GetFieldChar(MemberOffset field_offset) { in GetFieldChar()
441 inline int16_t Object::GetFieldShort(MemberOffset field_offset) { in GetFieldShort()
447 inline uint16_t Object::GetFieldCharVolatile(MemberOffset field_offset) { in GetFieldCharVolatile()
[all …]
Dreference.h52 static MemberOffset PendingNextOffset() { in PendingNextOffset()
55 static MemberOffset QueueOffset() { in QueueOffset()
58 static MemberOffset QueueNextOffset() { in QueueNextOffset()
61 static MemberOffset ReferentOffset() { in ReferentOffset()
120 static MemberOffset ZombieOffset() { in ZombieOffset()
Dcall_site.h35 static inline MemberOffset TargetOffset() { in TargetOffset()
36 return MemberOffset(OFFSETOF_MEMBER(CallSite, target_)); in TargetOffset()
Ddex_cache.h216 static constexpr MemberOffset StringsOffset() { in StringsOffset()
220 static constexpr MemberOffset PreResolvedStringsOffset() { in PreResolvedStringsOffset()
224 static constexpr MemberOffset ResolvedTypesOffset() { in ResolvedTypesOffset()
228 static constexpr MemberOffset ResolvedFieldsOffset() { in ResolvedFieldsOffset()
232 static constexpr MemberOffset ResolvedMethodsOffset() { in ResolvedMethodsOffset()
236 static constexpr MemberOffset ResolvedMethodTypesOffset() { in ResolvedMethodTypesOffset()
240 static constexpr MemberOffset ResolvedCallSitesOffset() { in ResolvedCallSitesOffset()
244 static constexpr MemberOffset NumStringsOffset() { in NumStringsOffset()
248 static constexpr MemberOffset NumPreResolvedStringsOffset() { in NumPreResolvedStringsOffset()
252 static constexpr MemberOffset NumResolvedTypesOffset() { in NumResolvedTypesOffset()
[all …]
Dclass.h118 static constexpr MemberOffset StatusOffset() { in StatusOffset()
119 return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); in StatusOffset()
220 static constexpr MemberOffset AccessFlagsOffset() { in AccessFlagsOffset()
408 static constexpr MemberOffset PrimitiveTypeOffset() { in PrimitiveTypeOffset()
490 static constexpr MemberOffset ComponentTypeOffset() { in ComponentTypeOffset()
580 static constexpr MemberOffset ObjectSizeOffset() { in ObjectSizeOffset()
583 static constexpr MemberOffset ObjectSizeAllocFastPathOffset() { in ObjectSizeAllocFastPathOffset()
670 static constexpr MemberOffset SuperClassOffset() { in SuperClassOffset()
671 return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); in SuperClassOffset()
680 static constexpr MemberOffset DexCacheOffset() { in DexCacheOffset()
[all …]
Daccessible_object.h30 static MemberOffset FlagOffset() { in FlagOffset()
/art/runtime/
Dtransaction.h75 MemberOffset field_offset,
80 MemberOffset field_offset,
85 MemberOffset field_offset,
90 MemberOffset field_offset,
95 MemberOffset field_offset,
100 MemberOffset field_offset,
105 MemberOffset field_offset,
158 void LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile);
159 void LogByteValue(MemberOffset offset, int8_t value, bool is_volatile);
160 void LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile);
[all …]
Dart_method.h109 static constexpr MemberOffset DeclaringClassOffset() { in DeclaringClassOffset()
110 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset()
124 static constexpr MemberOffset AccessFlagsOffset() { in AccessFlagsOffset()
125 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, access_flags_)); in AccessFlagsOffset()
410 static constexpr MemberOffset DexMethodIndexOffset() { in DexMethodIndexOffset()
411 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, dex_method_index_)); in DexMethodIndexOffset()
414 static constexpr MemberOffset MethodIndexOffset() { in MethodIndexOffset()
415 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, method_index_)); in MethodIndexOffset()
418 static constexpr MemberOffset ImtIndexOffset() { in ImtIndexOffset()
419 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, imt_index_)); in ImtIndexOffset()
[all …]
Dart_field.h92 MemberOffset GetOffset() REQUIRES_SHARED(Locks::mutator_lock_) { in GetOffset()
96 return MemberOffset(offset_); in GetOffset()
99 static constexpr MemberOffset OffsetOffset() { in OffsetOffset()
100 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset()
103 static constexpr MemberOffset DeclaringClassOffset() { in DeclaringClassOffset()
104 return MemberOffset(OFFSETOF_MEMBER(ArtField, declaring_class_)); in DeclaringClassOffset()
107 MemberOffset GetOffsetDuringLinking() REQUIRES_SHARED(Locks::mutator_lock_);
109 void SetOffset(MemberOffset num_bytes) REQUIRES_SHARED(Locks::mutator_lock_);
Dtransaction.cc169 MemberOffset field_offset, in RecordWriteFieldBoolean()
180 MemberOffset field_offset, in RecordWriteFieldByte()
191 MemberOffset field_offset, in RecordWriteFieldChar()
203 MemberOffset field_offset, in RecordWriteFieldShort()
215 MemberOffset field_offset, in RecordWriteField32()
226 MemberOffset field_offset, in RecordWriteField64()
237 MemberOffset field_offset, in RecordWriteFieldReference()
422 void Transaction::ObjectLog::LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) { in LogBooleanValue()
426 void Transaction::ObjectLog::LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) { in LogByteValue()
430 void Transaction::ObjectLog::LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) { in LogCharValue()
[all …]
Dread_barrier.h57 mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr)
84 AssertToSpaceInvariant(nullptr, MemberOffset(0), ref); in AssertToSpaceInvariant()
87 static void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset,
Doffsets.h68 class MemberOffset : public Offset {
70 constexpr explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset() function
/art/compiler/optimizing/
Dgvn_test.cc47 MemberOffset(42), in TEST_F()
56 MemberOffset(42), in TEST_F()
66 MemberOffset(43), in TEST_F()
78 MemberOffset(42), in TEST_F()
87 MemberOffset(42), in TEST_F()
127 MemberOffset(42), in TEST_F()
150 MemberOffset(42), in TEST_F()
160 MemberOffset(42), in TEST_F()
170 MemberOffset(42), in TEST_F()
207 MemberOffset(42), in TEST_F()
[all …]
Dlicm_test.cc125 MemberOffset(10), in TEST_F()
133 parameter_, int_constant_, nullptr, DataType::Type::kInt32, MemberOffset(20), in TEST_F()
152 MemberOffset(10), in TEST_F()
163 MemberOffset(10), in TEST_F()
Dintrinsic_objects.h28 class MemberOffset; variable
67 static MemberOffset GetIntegerValueOfArrayDataOffset(
/art/runtime/jit/
Dprofiling_info.h46 static constexpr MemberOffset ClassesOffset() { in ClassesOffset()
47 return MemberOffset(OFFSETOF_MEMBER(InlineCache, classes_)); in ClassesOffset()
129 static constexpr MemberOffset BaselineHotnessCountOffset() { in BaselineHotnessCountOffset()
130 return MemberOffset(OFFSETOF_MEMBER(ProfilingInfo, baseline_hotness_count_)); in BaselineHotnessCountOffset()
Djit.h219 static constexpr MemberOffset NativePcOffset() { in NativePcOffset()
220 return MemberOffset(OFFSETOF_MEMBER(OsrData, native_pc)); in NativePcOffset()
223 static constexpr MemberOffset FrameSizeOffset() { in FrameSizeOffset()
224 return MemberOffset(OFFSETOF_MEMBER(OsrData, frame_size)); in FrameSizeOffset()
227 static constexpr MemberOffset MemoryOffset() { in MemoryOffset()
228 return MemberOffset(OFFSETOF_MEMBER(OsrData, memory)); in MemoryOffset()
/art/runtime/native/
Dsun_misc_Unsafe.cc46 bool success = obj->CasField32<false>(MemberOffset(offset), in Unsafe_compareAndSwapInt()
59 bool success = obj->CasFieldStrongSequentiallyConsistent64<false>(MemberOffset(offset), in Unsafe_compareAndSwapLong()
82 MemberOffset(offset), in Unsafe_compareAndSwapObject()
85 bool success = obj->CasFieldObject<false>(MemberOffset(offset), in Unsafe_compareAndSwapObject()
96 return obj->GetField32(MemberOffset(offset)); in Unsafe_getInt()
102 return obj->GetField32Volatile(MemberOffset(offset)); in Unsafe_getIntVolatile()
109 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putInt()
117 obj->SetField32Volatile<false>(MemberOffset(offset), newValue); in Unsafe_putIntVolatile()
127 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putOrderedInt()
133 return obj->GetField64(MemberOffset(offset)); in Unsafe_getLong()
[all …]

1234