/art/runtime/mirror/ |
D | object-readbarrier-inl.h | 41 int32_t old_value, int32_t new_value) { in CasFieldWeakRelaxed32() argument 46 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelaxed32() 54 return atomic_addr->CompareExchangeWeakRelaxed(old_value, new_value); in CasFieldWeakRelaxed32() 197 ObjPtr<Object> old_value, in CasFieldStrongRelaxedObjectWithoutWriteBarrier() argument 209 VerifyObject(old_value); in CasFieldStrongRelaxedObjectWithoutWriteBarrier() 212 Runtime::Current()->RecordWriteFieldReference(this, field_offset, old_value, true); in CasFieldStrongRelaxedObjectWithoutWriteBarrier() 214 HeapReference<Object> old_ref(HeapReference<Object>::FromObjPtr(old_value)); in CasFieldStrongRelaxedObjectWithoutWriteBarrier() 227 ObjPtr<Object> old_value, in CasFieldStrongReleaseObjectWithoutWriteBarrier() argument 239 VerifyObject(old_value); in CasFieldStrongReleaseObjectWithoutWriteBarrier() 242 Runtime::Current()->RecordWriteFieldReference(this, field_offset, old_value, true); in CasFieldStrongReleaseObjectWithoutWriteBarrier() [all …]
|
D | object-inl.h | 568 int32_t old_value, int32_t new_value) { in CasFieldWeakSequentiallyConsistent32() argument 573 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakSequentiallyConsistent32() 581 return atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent32() 586 int32_t old_value, int32_t new_value) { in CasFieldWeakAcquire32() argument 591 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakAcquire32() 599 return atomic_addr->CompareExchangeWeakAcquire(old_value, new_value); in CasFieldWeakAcquire32() 604 int32_t old_value, int32_t new_value) { in CasFieldWeakRelease32() argument 609 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelease32() 617 return atomic_addr->CompareExchangeWeakRelease(old_value, new_value); in CasFieldWeakRelease32() 622 int32_t old_value, int32_t new_value) { in CasFieldStrongSequentiallyConsistent32() argument [all …]
|
D | object.h | 319 ObjPtr<Object> old_value, 326 ObjPtr<Object> old_value, 333 ObjPtr<Object> old_value, 340 ObjPtr<Object> old_value, 347 ObjPtr<Object> old_value, 354 ObjPtr<Object> old_value, 362 ObjPtr<Object> old_value, 369 ObjPtr<Object> old_value, 476 int32_t old_value, int32_t new_value) 481 bool CasFieldWeakRelaxed32(MemberOffset field_offset, int32_t old_value, [all …]
|
/art/runtime/ |
D | atomic.cc | 57 bool QuasiAtomic::SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in SwapMutexCas64() argument 59 if (*addr == old_value) { in SwapMutexCas64()
|
D | atomic.h | 141 static bool Cas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in Cas64() argument 143 return __sync_bool_compare_and_swap(addr, old_value, new_value); in Cas64() 145 return SwapMutexCas64(old_value, new_value, addr); in Cas64() 178 static bool SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr);
|
D | leb128_test.cc | 259 uint32_t old_value = uleb128_tests[i].decoded; in TEST() local 262 if (new_value <= old_value) { in TEST() 264 uint8_t* old_end = EncodeUnsignedLeb128(encoded_data, old_value); in TEST()
|
D | leb128.h | 241 uint32_t old_value = DecodeUnsignedLeb128(&old_end); in UpdateUnsignedLeb128() local 242 DCHECK_LE(value, old_value); in UpdateUnsignedLeb128()
|
/art/runtime/openjdkjvmti/ |
D | ti_search.cc | 136 ScopedLocalRef<jobject> old_value(self->GetJniEnv(), in Update() local 141 DCHECK(old_value.get() != nullptr); in Update() 143 str_value = self->DecodeJObject(old_value.get())->AsString()->ToModifiedUtf8(); in Update() 144 self->GetJniEnv()->DeleteLocalRef(old_value.release()); in Update()
|
/art/runtime/gc/accounting/ |
D | card_table-inl.h | 31 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { in byte_cas() argument 34 return byte_atomic->CompareExchangeWeakRelaxed(old_value, new_value); in byte_cas() 46 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()
|
/art/runtime/base/ |
D | stl_util.h | 137 void ReplaceElement(Container& container, const T& old_value, const T& new_value) { in ReplaceElement() argument 138 auto it = std::find(container.begin(), container.end(), old_value); in ReplaceElement()
|