Searched refs:atomic_addr (Results 1 – 2 of 2) sorted by relevance
/art/runtime/mirror/ |
D | object-readbarrier-inl.h | 56 AtomicInteger* atomic_addr = reinterpret_cast<AtomicInteger*>(raw_addr); in CasField32() local 58 return atomic_addr->CompareAndSet(old_value, new_value, mode, memory_order); in CasField32()
|
D | object-inl.h | 578 Atomic<int64_t>* atomic_addr = reinterpret_cast<Atomic<int64_t>*>(raw_addr); in CasFieldWeakSequentiallyConsistent64() local 579 return atomic_addr->CompareAndSetWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent64() 592 Atomic<int64_t>* atomic_addr = reinterpret_cast<Atomic<int64_t>*>(raw_addr); in CasFieldStrongSequentiallyConsistent64() local 593 return atomic_addr->CompareAndSetStrongSequentiallyConsistent(old_value, new_value); in CasFieldStrongSequentiallyConsistent64() 694 Atomic<uint32_t>* atomic_addr = reinterpret_cast<Atomic<uint32_t>*>(raw_addr); in CasFieldObjectWithoutWriteBarrier() local 695 return atomic_addr->CompareAndSet(old_ref, new_ref, mode, memory_order); in CasFieldObjectWithoutWriteBarrier() 725 Atomic<uint32_t>* atomic_addr = reinterpret_cast<Atomic<uint32_t>*>(raw_addr); in CompareAndExchangeFieldObject() local 726 bool success = atomic_addr->compare_exchange_strong(old_ref, new_ref, std::memory_order_seq_cst); in CompareAndExchangeFieldObject() 750 Atomic<uint32_t>* atomic_addr = reinterpret_cast<Atomic<uint32_t>*>(raw_addr); in ExchangeFieldObject() local 751 uint32_t old_ref = atomic_addr->exchange(new_ref, std::memory_order_seq_cst); in ExchangeFieldObject()
|