Lines Matching refs:field_value
229 ObjectLog::FieldValue field_value; in Log32BitsValue() local
230 field_value.value = value; in Log32BitsValue()
231 field_value.is_volatile = is_volatile; in Log32BitsValue()
232 field_value.kind = ObjectLog::k32Bits; in Log32BitsValue()
233 field_values_.insert(std::make_pair(offset.Uint32Value(), field_value)); in Log32BitsValue()
240 ObjectLog::FieldValue field_value; in Log64BitsValue() local
241 field_value.value = value; in Log64BitsValue()
242 field_value.is_volatile = is_volatile; in Log64BitsValue()
243 field_value.kind = ObjectLog::k64Bits; in Log64BitsValue()
244 field_values_.insert(std::make_pair(offset.Uint32Value(), field_value)); in Log64BitsValue()
251 ObjectLog::FieldValue field_value; in LogReferenceValue() local
252 field_value.value = reinterpret_cast<uintptr_t>(obj); in LogReferenceValue()
253 field_value.is_volatile = is_volatile; in LogReferenceValue()
254 field_value.kind = ObjectLog::kReference; in LogReferenceValue()
255 field_values_.insert(std::make_pair(offset.Uint32Value(), field_value)); in LogReferenceValue()
273 FieldValue& field_value = it.second; in Undo() local
274 UndoFieldWrite(obj, field_offset, field_value); in Undo()
279 const FieldValue& field_value) { in UndoFieldWrite() argument
283 switch (field_value.kind) { in UndoFieldWrite()
285 if (UNLIKELY(field_value.is_volatile)) { in UndoFieldWrite()
287 static_cast<uint32_t>(field_value.value)); in UndoFieldWrite()
290 static_cast<uint32_t>(field_value.value)); in UndoFieldWrite()
294 if (UNLIKELY(field_value.is_volatile)) { in UndoFieldWrite()
295 obj->SetField64Volatile<false, kCheckTransaction>(field_offset, field_value.value); in UndoFieldWrite()
297 obj->SetField64<false, kCheckTransaction>(field_offset, field_value.value); in UndoFieldWrite()
301 if (UNLIKELY(field_value.is_volatile)) { in UndoFieldWrite()
303 … reinterpret_cast<mirror::Object*>(field_value.value)); in UndoFieldWrite()
306 … reinterpret_cast<mirror::Object*>(field_value.value)); in UndoFieldWrite()
310 LOG(FATAL) << "Unknown value kind " << field_value.kind; in UndoFieldWrite()
317 FieldValue& field_value = it.second; in VisitRoots() local
318 if (field_value.kind == ObjectLog::kReference) { in VisitRoots()
320 reinterpret_cast<mirror::Object*>(static_cast<uintptr_t>(field_value.value)); in VisitRoots()
323 field_value.value = reinterpret_cast<uintptr_t>(obj); in VisitRoots()