Searched refs:xch (Results 1 - 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_lfstack.h | 40 u64 xch = (u64)(uptr)p | cnt; local 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 56 u64 xch = (u64)(uptr)nxt | cnt; local 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interface_atomic.cc | 120 template<typename T> T func_cas(volatile T *v, T cmp, T xch) { argument 121 return __sync_val_compare_and_swap(v, cmp, xch); 179 a128 func_cas(volatile a128 *v, a128 cmp, a128 xch) { argument 183 *v = xch;
|
Completed in 115 milliseconds