Searched refs:cmpxchg_weak_loop (Results 1 – 4 of 4) sorted by relevance
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 82 assert(cmpxchg_weak_loop(obj, x, false) == true); in main() 91 assert(cmpxchg_weak_loop(obj, x, false, in main() 137 assert(cmpxchg_weak_loop(obj, x, false) == true); in main() 146 assert(cmpxchg_weak_loop(obj, x, false, in main() 192 assert(cmpxchg_weak_loop(obj, x, false) == true); in main() 201 assert(cmpxchg_weak_loop(obj, x, false, in main()
|
D | address.pass.cpp | 102 assert(cmpxchg_weak_loop(obj, x, T(2)) == true); in do_test()
|
D | integral.pass.cpp | 118 assert(cmpxchg_weak_loop(obj, x, T(2)) == true); in do_test()
|
/external/libcxx/test/support/ |
D | cmpxchg_loop.h | 4 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { in cmpxchg_weak_loop() function 15 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, in cmpxchg_weak_loop() function
|