/art/runtime/mirror/ |
D | object-inl.h | 398 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte() argument 402 return GetField<int8_t, kIsVolatile>(field_offset); in GetFieldByte() 406 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile() argument 407 return GetFieldBoolean<kVerifyFlags, true>(field_offset); in GetFieldBooleanVolatile() 411 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile() argument 412 return GetFieldByte<kVerifyFlags, true>(field_offset); in GetFieldByteVolatile() 417 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) in SetFieldBoolean() argument 423 Runtime::Current()->RecordWriteFieldBoolean(this, field_offset, in SetFieldBoolean() 424 GetFieldBoolean<kVerifyFlags, kIsVolatile>(field_offset), in SetFieldBoolean() 430 SetField<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean() [all …]
|
D | object.h | 287 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset) 292 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset) 299 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset, 307 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) 313 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, 319 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value) 325 bool CasFieldWeakSequentiallyConsistentObject(MemberOffset field_offset, 332 bool CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier(MemberOffset field_offset, 339 bool CasFieldStrongSequentiallyConsistentObject(MemberOffset field_offset, 346 bool CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier(MemberOffset field_offset, [all …]
|
D | var_handle.cc | 294 inline void ReadBarrierForVarHandleAccess(ObjPtr<Object> obj, MemberOffset field_offset) in ReadBarrierForVarHandleAccess() argument 300 uint8_t* raw_field_addr = reinterpret_cast<uint8_t*>(obj.Ptr()) + field_offset.SizeValue(); in ReadBarrierForVarHandleAccess() 307 MemberOffset(field_offset), in ReadBarrierForVarHandleAccess() 706 MemberOffset field_offset, in Get() argument 709 obj->GetPrimitiveFieldViaAccessor(field_offset, accessor); in Get() 714 MemberOffset field_offset, 721 MemberOffset field_offset, in Get() argument 725 obj->GetPrimitiveFieldViaAccessor(field_offset, &float_to_int_accessor); in Get() 730 MemberOffset field_offset, in Get() argument 734 obj->GetPrimitiveFieldViaAccessor(field_offset, &double_to_int_accessor); in Get() [all …]
|
D | object-readbarrier-inl.h | 41 inline bool Object::CasFieldWeakRelaxed32(MemberOffset field_offset, in CasFieldWeakRelaxed32() argument 47 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelaxed32() 52 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in CasFieldWeakRelaxed32() 197 MemberOffset field_offset, in CasFieldStrongRelaxedObjectWithoutWriteBarrier() argument 213 Runtime::Current()->RecordWriteFieldReference(this, field_offset, old_value, true); in CasFieldStrongRelaxedObjectWithoutWriteBarrier() 217 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in CasFieldStrongRelaxedObjectWithoutWriteBarrier() 226 MemberOffset field_offset, in CasFieldStrongReleaseObjectWithoutWriteBarrier() argument 242 Runtime::Current()->RecordWriteFieldReference(this, field_offset, old_value, true); in CasFieldStrongReleaseObjectWithoutWriteBarrier() 246 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in CasFieldStrongReleaseObjectWithoutWriteBarrier()
|
D | object.cc | 231 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument 240 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl() 258 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl() 271 << " of type " << c->PrettyDescriptor() << " at offset " << field_offset; in CheckFieldAssignmentImpl()
|
D | class-inl.h | 906 MemberOffset field_offset = field->GetOffset(); in GetProxyInterfaces() local 907 return GetFieldObject<ObjectArray<Class>>(field_offset); in GetProxyInterfaces() 915 MemberOffset field_offset = field->GetOffset(); in GetProxyThrows() local 916 return GetFieldObject<ObjectArray<ObjectArray<Class>>>(field_offset); in GetProxyThrows()
|
/art/runtime/ |
D | transaction.cc | 145 MemberOffset field_offset, in RecordWriteFieldBoolean() argument 151 object_log.LogBooleanValue(field_offset, value, is_volatile); in RecordWriteFieldBoolean() 155 MemberOffset field_offset, in RecordWriteFieldByte() argument 161 object_log.LogByteValue(field_offset, value, is_volatile); in RecordWriteFieldByte() 165 MemberOffset field_offset, in RecordWriteFieldChar() argument 171 object_log.LogCharValue(field_offset, value, is_volatile); in RecordWriteFieldChar() 176 MemberOffset field_offset, in RecordWriteFieldShort() argument 182 object_log.LogShortValue(field_offset, value, is_volatile); in RecordWriteFieldShort() 187 MemberOffset field_offset, in RecordWriteField32() argument 193 object_log.Log32BitsValue(field_offset, value, is_volatile); in RecordWriteField32() [all …]
|
D | transaction.h | 70 MemberOffset field_offset, 75 MemberOffset field_offset, 80 MemberOffset field_offset, 85 MemberOffset field_offset, 90 MemberOffset field_offset, 95 MemberOffset field_offset, 100 MemberOffset field_offset, 192 MemberOffset field_offset,
|
D | art_field-inl.h | 366 uint32_t field_offset) REQUIRES_SHARED(Locks::mutator_lock_) { in FindFieldWithOffset() argument 369 if (field.GetOffset().Uint32Value() == field_offset) { in FindFieldWithOffset() 377 if (offset <= field_offset && field_offset < offset + field_size) { in FindFieldWithOffset() 387 uint32_t field_offset) { in FindInstanceFieldWithOffset() argument 389 ArtField* field = FindFieldWithOffset<kExactOffset>(klass->GetIFields(), field_offset); in FindInstanceFieldWithOffset() 395 FindInstanceFieldWithOffset<kExactOffset>(klass->GetSuperClass(), field_offset) : nullptr; in FindInstanceFieldWithOffset() 400 uint32_t field_offset) { in FindStaticFieldWithOffset() argument 402 return FindFieldWithOffset<kExactOffset>(klass->GetSFields(), field_offset); in FindStaticFieldWithOffset()
|
D | runtime.h | 484 void RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, uint8_t value, 486 void RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, int8_t value, 488 void RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, uint16_t value, 490 void RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, int16_t value, 492 void RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value, 494 void RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value, 497 MemberOffset field_offset,
|
D | runtime.cc | 2325 void Runtime::RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldBoolean() argument 2329 GetTransaction()->RecordWriteFieldBoolean(obj, field_offset, value, is_volatile); in RecordWriteFieldBoolean() 2332 void Runtime::RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldByte() argument 2336 GetTransaction()->RecordWriteFieldByte(obj, field_offset, value, is_volatile); in RecordWriteFieldByte() 2339 void Runtime::RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldChar() argument 2343 GetTransaction()->RecordWriteFieldChar(obj, field_offset, value, is_volatile); in RecordWriteFieldChar() 2346 void Runtime::RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldShort() argument 2350 GetTransaction()->RecordWriteFieldShort(obj, field_offset, value, is_volatile); in RecordWriteFieldShort() 2353 void Runtime::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, in RecordWriteField32() argument 2357 GetTransaction()->RecordWriteField32(obj, field_offset, value, is_volatile); in RecordWriteField32() [all …]
|
D | art_field.h | 191 static ArtField* FindInstanceFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset) 198 static ArtField* FindStaticFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
|
D | class_linker.cc | 330 MemberOffset* field_offset, in ShuffleForward() argument 337 DCHECK(field_offset != nullptr); in ShuffleForward() 346 if (!IsAligned<n>(field_offset->Uint32Value())) { in ShuffleForward() 347 MemberOffset old_offset = *field_offset; in ShuffleForward() 348 *field_offset = MemberOffset(RoundUp(field_offset->Uint32Value(), n)); in ShuffleForward() 349 AddFieldGap(old_offset.Uint32Value(), field_offset->Uint32Value(), gaps); in ShuffleForward() 362 DCHECK_ALIGNED(field_offset->Uint32Value(), n); in ShuffleForward() 363 field->SetOffset(*field_offset); in ShuffleForward() 364 *field_offset = MemberOffset(field_offset->Uint32Value() + n); in ShuffleForward() 7542 MemberOffset field_offset(0); in LinkFields() local [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 161 MemberOffset field_offset(inst->VRegC_22c()); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() local 167 field_offset.Uint32Value()); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 187 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetField32(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 190 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldBoolean(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 193 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldByte(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 196 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldChar(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 199 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldShort(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 202 shadow_frame.SetVRegLong(vregA, static_cast<int64_t>(obj->GetField64(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 205 shadow_frame.SetVRegReference(vregA, obj->GetFieldObject<mirror::Object>(field_offset)); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 344 MemberOffset field_offset(inst->VRegC_22c()); in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() local [all …]
|
/art/compiler/dex/ |
D | dex_to_dex_compiler.cc | 434 MemberOffset field_offset(0u); in CompileInstanceFieldAccess() local 437 &field_offset, &is_volatile); in CompileInstanceFieldAccess() 438 if (fast_path && !is_volatile && IsUint<16>(field_offset.Int32Value())) { in CompileInstanceFieldAccess() 442 << " by field offset " << field_offset.Int32Value() in CompileInstanceFieldAccess() 449 inst->SetVRegC_22c(static_cast<uint16_t>(field_offset.Int32Value())); in CompileInstanceFieldAccess()
|
D | inline_method_analyser.h | 58 uint32_t field_offset : 31; member
|
D | inline_method_analyser.cc | 728 uint32_t field_offset = field->GetOffset().Uint32Value(); in ComputeSpecialAccessorInfo() local 731 result->field_offset = field_offset; in ComputeSpecialAccessorInfo()
|
/art/openjdkjvmti/ |
D | ti_class.cc | 471 art::MemberOffset field_offset, in FixupHeap() argument 475 src->GetFieldObjectReferenceAddr(field_offset); in FixupHeap() 477 DCHECK_NE(field_offset.Uint32Value(), 0u); // This shouldn't be the class field of in FixupHeap()
|
/art/compiler/driver/ |
D | compiler_driver.h | 272 MemberOffset* field_offset, bool* is_volatile)
|
D | compiler_driver.cc | 1214 MemberOffset field_offset, in operator ()() argument 1217 mirror::Object* ref = object->GetFieldObject<mirror::Object>(field_offset); in operator ()() 1463 bool is_put, MemberOffset* field_offset, in ComputeInstanceFieldInfo() argument 1471 *field_offset = MemberOffset(static_cast<size_t>(-1)); in ComputeInstanceFieldInfo() 1475 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 958 uint32_t field_offset) in artIGetObjectFromMterp() argument 964 return obj->GetFieldObject<mirror::Object>(MemberOffset(field_offset)); in artIGetObjectFromMterp()
|
/art/compiler/optimizing/ |
D | nodes.h | 5530 MemberOffset field_offset, in FieldInfo() argument 5537 field_offset_(field_offset), in FieldInfo() 5567 MemberOffset field_offset, in HInstanceFieldGet() argument 5578 field_offset, in HInstanceFieldGet() 5630 MemberOffset field_offset, in HInstanceFieldSet() argument 5640 field_offset, in HInstanceFieldSet() 6446 MemberOffset field_offset, in HStaticFieldGet() argument 6457 field_offset, in HStaticFieldGet() 6506 MemberOffset field_offset, in HStaticFieldSet() argument 6516 field_offset, in HStaticFieldSet()
|
D | code_generator_arm64.h | 683 Location field_offset,
|
D | code_generator_arm_vixl.h | 653 Location field_offset,
|
/art/dex2oat/linker/ |
D | image_writer.cc | 872 MemberOffset field_offset = klass->GetFirstReferenceStaticFieldOffset( in PruneAppImageClassInternal() local 875 mirror::Object* ref = klass->GetFieldObject<mirror::Object>(field_offset); in PruneAppImageClassInternal() 896 field_offset = MemberOffset(field_offset.Uint32Value() + in PruneAppImageClassInternal()
|