/art/runtime/mirror/ |
D | object-inl.h | 374 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte() argument 376 return GetFieldPrimitive<int8_t, kIsVolatile>(field_offset); in GetFieldByte() 380 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile() argument 381 return GetFieldBoolean<kVerifyFlags, true>(field_offset); in GetFieldBooleanVolatile() 385 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile() argument 386 return GetFieldByte<kVerifyFlags, true>(field_offset); in GetFieldByteVolatile() 393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean() argument 398 field_offset, in SetFieldBoolean() 399 GetFieldBoolean<kVerifyFlags, kIsVolatile>(field_offset), in SetFieldBoolean() 403 SetFieldPrimitive<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean() [all …]
|
D | object.h | 276 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset) 282 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset) 289 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset, 297 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) 303 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value) 309 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value) 315 ALWAYS_INLINE bool CasFieldObject(MemberOffset field_offset, 324 ALWAYS_INLINE bool CasFieldObjectWithoutWriteBarrier(MemberOffset field_offset, 334 ObjPtr<Object> CompareAndExchangeFieldObject(MemberOffset field_offset, 342 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) [all …]
|
D | var_handle.cc | 288 inline void ReadBarrierForVarHandleAccess(ObjPtr<Object> obj, MemberOffset field_offset) in ReadBarrierForVarHandleAccess() argument 294 uint8_t* raw_field_addr = reinterpret_cast<uint8_t*>(obj.Ptr()) + field_offset.SizeValue(); in ReadBarrierForVarHandleAccess() 301 MemberOffset(field_offset), in ReadBarrierForVarHandleAccess() 700 MemberOffset field_offset, in Get() argument 703 obj->GetPrimitiveFieldViaAccessor(field_offset, accessor); in Get() 708 MemberOffset field_offset, 715 MemberOffset field_offset, in Get() argument 719 obj->GetPrimitiveFieldViaAccessor(field_offset, &float_to_int_accessor); in Get() 724 MemberOffset field_offset, in Get() argument 728 obj->GetPrimitiveFieldViaAccessor(field_offset, &double_to_int_accessor); in Get() [all …]
|
D | object-readbarrier-inl.h | 41 inline bool Object::CasField32(MemberOffset field_offset, in CasField32() argument 50 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasField32() 55 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in CasField32()
|
D | object.cc | 234 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument 243 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl() 261 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl() 274 << " of type " << c->PrettyDescriptor() << " at offset " << field_offset; in CheckFieldAssignmentImpl()
|
D | class-inl.h | 874 MemberOffset field_offset = field->GetOffset(); in GetProxyInterfaces() local 875 return GetFieldObject<ObjectArray<Class>>(field_offset); in GetProxyInterfaces() 883 MemberOffset field_offset = field->GetOffset(); in GetProxyThrows() local 884 return GetFieldObject<ObjectArray<ObjectArray<Class>>>(field_offset); in GetProxyThrows()
|
/art/runtime/ |
D | transaction.cc | 146 MemberOffset field_offset, in RecordWriteFieldBoolean() argument 152 object_log.LogBooleanValue(field_offset, value, is_volatile); in RecordWriteFieldBoolean() 156 MemberOffset field_offset, in RecordWriteFieldByte() argument 162 object_log.LogByteValue(field_offset, value, is_volatile); in RecordWriteFieldByte() 166 MemberOffset field_offset, in RecordWriteFieldChar() argument 172 object_log.LogCharValue(field_offset, value, is_volatile); in RecordWriteFieldChar() 177 MemberOffset field_offset, in RecordWriteFieldShort() argument 183 object_log.LogShortValue(field_offset, value, is_volatile); in RecordWriteFieldShort() 188 MemberOffset field_offset, in RecordWriteField32() argument 194 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 | 365 uint32_t field_offset) REQUIRES_SHARED(Locks::mutator_lock_) { in FindFieldWithOffset() argument 368 if (field.GetOffset().Uint32Value() == field_offset) { in FindFieldWithOffset() 376 if (offset <= field_offset && field_offset < offset + field_size) { in FindFieldWithOffset() 386 uint32_t field_offset) { in FindInstanceFieldWithOffset() argument 388 ArtField* field = FindFieldWithOffset<kExactOffset>(klass->GetIFields(), field_offset); in FindInstanceFieldWithOffset() 394 FindInstanceFieldWithOffset<kExactOffset>(klass->GetSuperClass(), field_offset) : nullptr; in FindInstanceFieldWithOffset() 399 uint32_t field_offset) { in FindStaticFieldWithOffset() argument 401 return FindFieldWithOffset<kExactOffset>(klass->GetSFields(), field_offset); in FindStaticFieldWithOffset()
|
D | runtime.h | 510 void RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, uint8_t value, 512 void RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, int8_t value, 514 void RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, uint16_t value, 516 void RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, int16_t value, 518 void RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value, 520 void RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value, 523 MemberOffset field_offset,
|
D | art_field.h | 187 static ArtField* FindInstanceFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset) 194 static ArtField* FindStaticFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
|
D | runtime.cc | 2420 void Runtime::RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldBoolean() argument 2424 GetTransaction()->RecordWriteFieldBoolean(obj, field_offset, value, is_volatile); in RecordWriteFieldBoolean() 2427 void Runtime::RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldByte() argument 2431 GetTransaction()->RecordWriteFieldByte(obj, field_offset, value, is_volatile); in RecordWriteFieldByte() 2434 void Runtime::RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldChar() argument 2438 GetTransaction()->RecordWriteFieldChar(obj, field_offset, value, is_volatile); in RecordWriteFieldChar() 2441 void Runtime::RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldShort() argument 2445 GetTransaction()->RecordWriteFieldShort(obj, field_offset, value, is_volatile); in RecordWriteFieldShort() 2448 void Runtime::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, in RecordWriteField32() argument 2452 GetTransaction()->RecordWriteField32(obj, field_offset, value, is_volatile); in RecordWriteField32() [all …]
|
D | class_linker.cc | 366 MemberOffset* field_offset, in ShuffleForward() argument 373 DCHECK(field_offset != nullptr); in ShuffleForward() 382 if (!IsAligned<n>(field_offset->Uint32Value())) { in ShuffleForward() 383 MemberOffset old_offset = *field_offset; in ShuffleForward() 384 *field_offset = MemberOffset(RoundUp(field_offset->Uint32Value(), n)); in ShuffleForward() 385 AddFieldGap(old_offset.Uint32Value(), field_offset->Uint32Value(), gaps); in ShuffleForward() 398 DCHECK_ALIGNED(field_offset->Uint32Value(), n); in ShuffleForward() 399 field->SetOffset(*field_offset); in ShuffleForward() 400 *field_offset = MemberOffset(field_offset->Uint32Value() + n); in ShuffleForward() 8188 MemberOffset field_offset(0); in LinkFields() local [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 206 MemberOffset field_offset(inst->VRegC_22c()); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() local 212 field_offset.Uint32Value()); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 232 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetField32(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 235 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldBoolean(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 238 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldByte(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 241 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldChar(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 244 shadow_frame.SetVReg(vregA, static_cast<int32_t>(obj->GetFieldShort(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 247 shadow_frame.SetVRegLong(vregA, static_cast<int64_t>(obj->GetField64(field_offset))); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 250 shadow_frame.SetVRegReference(vregA, obj->GetFieldObject<mirror::Object>(field_offset)); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 389 MemberOffset field_offset(inst->VRegC_22c()); in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() local [all …]
|
/art/dex2oat/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()
|
/art/compiler/dex/ |
D | inline_method_analyser.h | 58 uint32_t field_offset : 31; member
|
D | inline_method_analyser.cc | 729 uint32_t field_offset = field->GetOffset().Uint32Value(); in ComputeSpecialAccessorInfo() local 732 result->field_offset = field_offset; in ComputeSpecialAccessorInfo()
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 173 MemberOffset* field_offset, bool* is_volatile)
|
D | compiler_driver.cc | 1172 MemberOffset field_offset, in operator ()() argument 1175 mirror::Object* ref = object->GetFieldObject<mirror::Object>(field_offset); in operator ()() 1358 bool is_put, MemberOffset* field_offset, in ComputeInstanceFieldInfo() argument 1366 *field_offset = MemberOffset(static_cast<size_t>(-1)); in ComputeInstanceFieldInfo() 1370 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
|
/art/openjdkjvmti/ |
D | ti_class.cc | 475 art::MemberOffset field_offset, in FixupHeap() argument 479 src->GetFieldObjectReferenceAddr(field_offset); in FixupHeap() 481 DCHECK_NE(field_offset.Uint32Value(), 0u); // This shouldn't be the class field of in FixupHeap()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 869 uint32_t field_offset) in artIGetObjectFromMterp() argument 875 return obj->GetFieldObject<mirror::Object>(MemberOffset(field_offset)); in artIGetObjectFromMterp()
|
/art/compiler/optimizing/ |
D | nodes.h | 5753 MemberOffset field_offset, in FieldInfo() argument 5760 field_offset_(field_offset), in FieldInfo() 5790 MemberOffset field_offset, in HInstanceFieldGet() argument 5801 field_offset, in HInstanceFieldGet() 5853 MemberOffset field_offset, in HInstanceFieldSet() argument 5863 field_offset, in HInstanceFieldSet() 6778 MemberOffset field_offset, in HStaticFieldGet() argument 6789 field_offset, in HStaticFieldGet() 6838 MemberOffset field_offset, in HStaticFieldSet() argument 6848 field_offset, in HStaticFieldSet()
|
D | inliner.cc | 1587 DCHECK_EQ(iget->GetFieldOffset().Uint32Value(), data.field_offset); in TryPatternSubstitution() 1602 DCHECK_EQ(iput->GetFieldOffset().Uint32Value(), data.field_offset); in TryPatternSubstitution()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1431 MemberOffset field_offset = klass->GetFirstReferenceStaticFieldOffset( in PruneAppImageClassInternal() local 1434 mirror::Object* ref = klass->GetFieldObject<mirror::Object>(field_offset); in PruneAppImageClassInternal() 1455 field_offset = MemberOffset(field_offset.Uint32Value() + in PruneAppImageClassInternal()
|
/art/runtime/gc/space/ |
D | image_space.cc | 509 MemberOffset field_offset, in operator ()() argument 513 PatchReferenceField(object, field_offset); in operator ()()
|