Lines Matching refs:object
65 inline uint32_t ArtField::Get32(Object* object) { in Get32() argument
66 DCHECK(object != nullptr) << PrettyField(this); in Get32()
67 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
69 return object->GetField32Volatile(GetOffset()); in Get32()
71 return object->GetField32(GetOffset()); in Get32()
75 inline void ArtField::Set32(Object* object, uint32_t new_value) { in Set32() argument
76 DCHECK(object != nullptr) << PrettyField(this); in Set32()
77 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
79 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
81 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
85 inline uint64_t ArtField::Get64(Object* object) { in Get64() argument
86 DCHECK(object != NULL) << PrettyField(this); in Get64()
87 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64()
89 return object->GetField64Volatile(GetOffset()); in Get64()
91 return object->GetField64(GetOffset()); in Get64()
95 inline void ArtField::Set64(Object* object, uint64_t new_value) { in Set64() argument
96 DCHECK(object != NULL) << PrettyField(this); in Set64()
97 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64()
99 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
101 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
105 inline Object* ArtField::GetObj(Object* object) { in GetObj() argument
106 DCHECK(object != NULL) << PrettyField(this); in GetObj()
107 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in GetObj()
109 return object->GetFieldObjectVolatile<Object>(GetOffset()); in GetObj()
111 return object->GetFieldObject<Object>(GetOffset()); in GetObj()
115 inline void ArtField::SetObj(Object* object, Object* new_value) { in SetObj() argument
116 DCHECK(object != NULL) << PrettyField(this); in SetObj()
117 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in SetObj()
119 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj()
121 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
125 inline bool ArtField::GetBoolean(Object* object) { in GetBoolean() argument
127 return Get32(object); in GetBoolean()
131 inline void ArtField::SetBoolean(Object* object, bool z) { in SetBoolean() argument
133 Set32<kTransactionActive>(object, z); in SetBoolean()
136 inline int8_t ArtField::GetByte(Object* object) { in GetByte() argument
138 return Get32(object); in GetByte()
142 inline void ArtField::SetByte(Object* object, int8_t b) { in SetByte() argument
144 Set32<kTransactionActive>(object, b); in SetByte()
147 inline uint16_t ArtField::GetChar(Object* object) { in GetChar() argument
149 return Get32(object); in GetChar()
153 inline void ArtField::SetChar(Object* object, uint16_t c) { in SetChar() argument
155 Set32<kTransactionActive>(object, c); in SetChar()
158 inline int16_t ArtField::GetShort(Object* object) { in GetShort() argument
160 return Get32(object); in GetShort()
164 inline void ArtField::SetShort(Object* object, int16_t s) { in SetShort() argument
166 Set32<kTransactionActive>(object, s); in SetShort()
169 inline int32_t ArtField::GetInt(Object* object) { in GetInt() argument
174 return Get32(object); in GetInt()
178 inline void ArtField::SetInt(Object* object, int32_t i) { in SetInt() argument
183 Set32<kTransactionActive>(object, i); in SetInt()
186 inline int64_t ArtField::GetLong(Object* object) { in GetLong() argument
191 return Get64(object); in GetLong()
195 inline void ArtField::SetLong(Object* object, int64_t j) { in SetLong() argument
200 Set64<kTransactionActive>(object, j); in SetLong()
203 inline float ArtField::GetFloat(Object* object) { in GetFloat() argument
206 bits.SetI(Get32(object)); in GetFloat()
211 inline void ArtField::SetFloat(Object* object, float f) { in SetFloat() argument
215 Set32<kTransactionActive>(object, bits.GetI()); in SetFloat()
218 inline double ArtField::GetDouble(Object* object) { in GetDouble() argument
221 bits.SetJ(Get64(object)); in GetDouble()
226 inline void ArtField::SetDouble(Object* object, double d) { in SetDouble() argument
230 Set64<kTransactionActive>(object, bits.GetJ()); in SetDouble()
233 inline Object* ArtField::GetObject(Object* object) { in GetObject() argument
235 return GetObj(object); in GetObject()
239 inline void ArtField::SetObject(Object* object, Object* l) { in SetObject() argument
241 SetObj<kTransactionActive>(object, l); in SetObject()