Home
last modified time | relevance | path

Searched refs:xch (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_lfstack.h40 u64 xch = (u64)(uptr)p | cnt; in Push() local
42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
56 u64 xch = (u64)(uptr)nxt | cnt; in Pop() local
57 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_atomic.cc120 template<typename T> T func_cas(volatile T *v, T cmp, T xch) { in func_cas() argument
121 return __sync_val_compare_and_swap(v, cmp, xch); in func_cas()
179 a128 func_cas(volatile a128 *v, a128 cmp, a128 xch) { in func_cas() argument
183 *v = xch; in func_cas()