Home
last modified time | relevance | path

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

/third_party/boost/libs/atomic/test/
Datomicity_ref.cpp193 boost::atomic_ref<value_type> shared_value_ref(shared_value); in test_arithmetic() local
197 value_type tmp = shared_value_ref.fetch_add(increment, boost::memory_order_relaxed); in test_arithmetic()
204 value_type tmp = shared_value_ref.fetch_sub(increment, boost::memory_order_relaxed); in test_arithmetic()
220 boost::atomic_ref<value_type> shared_value_ref(shared_value); in test_bitops() local
225 value_type tmp = shared_value_ref.fetch_or(mod << shift, boost::memory_order_relaxed); in test_bitops()
232 … value_type tmp = shared_value_ref.fetch_and(~(1u << (shift + k)), boost::memory_order_relaxed); in test_bitops()
240 value_type tmp = shared_value_ref.fetch_xor(mod << shift, boost::memory_order_relaxed); in test_bitops()
246 value_type tmp = shared_value_ref.fetch_and(~mask, boost::memory_order_relaxed); in test_bitops()