Home
last modified time | relevance | path

Searched refs:c_cmpxchg_weak_loop (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/support/
Dcmpxchg_loop.h29 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { in c_cmpxchg_weak_loop() function
40 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, in c_cmpxchg_weak_loop() function
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_compare_exchange_weak.pass.cpp38 assert(c_cmpxchg_weak_loop(&a, &t, T(2)) == true); in test()
50 assert(c_cmpxchg_weak_loop(&a, &t, T(2)) == true); in test()
Datomic_compare_exchange_weak_explicit.pass.cpp41 assert(c_cmpxchg_weak_loop(&a, &t, T(2), in test()
55 assert(c_cmpxchg_weak_loop(&a, &t, T(2), in test()