Searched refs:old_word (Results 1 – 3 of 3) sorted by relevance
38 uintptr_t old_word; in AtomicTestAndSetBit() local40 old_word = atomic_entry->load(std::memory_order_relaxed); in AtomicTestAndSetBit()42 if ((old_word & word_mask) != 0) { in AtomicTestAndSetBit()46 } while (!atomic_entry->CompareAndSetWeakSequentiallyConsistent(old_word, old_word | word_mask)); in AtomicTestAndSetBit()138 uintptr_t old_word = *address; in ModifyBit() local140 *address = old_word | word_mask; in ModifyBit()142 *address = old_word & ~word_mask; in ModifyBit()145 return (old_word & word_mask) != 0; in ModifyBit()
42 uintptr_t old_word; in AtomicTestAndSet() local44 old_word = atomic_entry->load(std::memory_order_relaxed); in AtomicTestAndSet()46 if ((old_word & mask) != 0) { in AtomicTestAndSet()50 } while (!atomic_entry->CompareAndSetWeakRelaxed(old_word, old_word | mask)); in AtomicTestAndSet()196 uintptr_t old_word = atomic_entry->load(std::memory_order_relaxed); in Modify() local203 if ((old_word & mask) == 0) { in Modify()204 atomic_entry->store(old_word | mask, std::memory_order_relaxed); in Modify()207 atomic_entry->store(old_word & ~mask, std::memory_order_relaxed); in Modify()210 return (old_word & mask) != 0; in Modify()
48 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()50 return word_atomic->CompareAndSetWeakRelaxed(old_word, new_word); in byte_cas()