Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 5 of 5) sorted by relevance

/art/runtime/mirror/
Dobject-inl.h460 int32_t old_value, int32_t new_value) { in CasFieldWeakSequentiallyConsistent32() argument
465 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakSequentiallyConsistent32()
473 return atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent32()
478 int32_t old_value, int32_t new_value) { in CasFieldWeakRelaxed32() argument
483 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelaxed32()
491 return atomic_addr->CompareExchangeWeakRelaxed(old_value, new_value); in CasFieldWeakRelaxed32()
496 int32_t old_value, int32_t new_value) { in CasFieldStrongSequentiallyConsistent32() argument
501 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldStrongSequentiallyConsistent32()
509 return atomic_addr->CompareExchangeStrongSequentiallyConsistent(old_value, new_value); in CasFieldStrongSequentiallyConsistent32()
562 int64_t old_value, int64_t new_value) { in CasFieldWeakSequentiallyConsistent64() argument
[all …]
Dobject.h236 bool CasFieldWeakSequentiallyConsistentObject(MemberOffset field_offset, Object* old_value,
242 bool CasFieldStrongSequentiallyConsistentObject(MemberOffset field_offset, Object* old_value,
270 int32_t old_value, int32_t new_value)
275 bool CasFieldWeakRelaxed32(MemberOffset field_offset, int32_t old_value,
281 bool CasFieldStrongSequentiallyConsistent32(MemberOffset field_offset, int32_t old_value,
305 bool CasFieldWeakSequentiallyConsistent64(MemberOffset field_offset, int64_t old_value,
311 bool CasFieldStrongSequentiallyConsistent64(MemberOffset field_offset, int64_t old_value,
/art/runtime/
Datomic.cc57 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()
Datomic.h141 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);
/art/runtime/gc/accounting/
Dcard_table-inl.h30 static inline bool byte_cas(byte old_value, byte new_value, byte* address) { in byte_cas() argument
33 return byte_atomic->CompareExchangeWeakRelaxed(old_value, new_value); in byte_cas()
45 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()