Lines Matching refs:old
110 intptr_t old = *expected; in atomic_compare_exchange_strong() local
111 *expected = (intptr_t)atomic_cas_ptr(object, (void *)old, (void *)desired); in atomic_compare_exchange_strong()
112 return *expected == old; in atomic_compare_exchange_strong()
134 intptr_t old; in atomic_fetch_or() local
136 old = atomic_load(object); in atomic_fetch_or()
137 } while (!atomic_compare_exchange_strong(object, old, old | operand)); in atomic_fetch_or()
138 return old; in atomic_fetch_or()
143 intptr_t old; in atomic_fetch_xor() local
145 old = atomic_load(object); in atomic_fetch_xor()
146 } while (!atomic_compare_exchange_strong(object, old, old ^ operand)); in atomic_fetch_xor()
147 return old; in atomic_fetch_xor()
152 intptr_t old; in atomic_fetch_and() local
154 old = atomic_load(object); in atomic_fetch_and()
155 } while (!atomic_compare_exchange_strong(object, old, old & operand)); in atomic_fetch_and()
156 return old; in atomic_fetch_and()