Home
last modified time | relevance | path

Searched defs:old_val (Results 1 – 25 of 84) sorted by relevance

1234

/external/sdv/vsomeip/third_party/boost/atomic/include/boost/atomic/detail/
Dcore_ops_cas_based.hpp39 storage_type old_val; in fetch_add() local
47 storage_type old_val; in fetch_sub() local
55 storage_type old_val; in fetch_and() local
63 storage_type old_val; in fetch_or() local
71 storage_type old_val; in fetch_xor() local
Dextra_ops_generic.hpp44 storage_type old_val; in fetch_negate() local
52 storage_type old_val, new_val; in negate() local
171 storage_type old_val = base_type::fetch_or(storage, mask, order); in bit_test_and_set() local
178 storage_type old_val = base_type::fetch_and(storage, ~mask, order); in bit_test_and_reset() local
185 storage_type old_val = base_type::fetch_xor(storage, mask, order); in bit_test_and_complement() local
201 storage_type old_val; in fetch_negate() local
209 storage_type old_val, new_val; in negate() local
221 storage_type old_val, new_val; in add() local
233 storage_type old_val, new_val; in sub() local
245 storage_type old_val, new_val; in bitwise_and() local
[all …]
Dcore_operations_emulated.hpp89 storage_type old_val = s; in fetch_add() local
99 storage_type old_val = s; in fetch_sub() local
109 storage_type old_val = s; in exchange() local
120 storage_type old_val = s; in compare_exchange_strong() local
137 storage_type old_val = s; in compare_exchange_weak() local
151 storage_type old_val = s; in fetch_and() local
161 storage_type old_val = s; in fetch_or() local
171 storage_type old_val = s; in fetch_xor() local
Dextra_fp_ops_emulated.hpp48 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in fetch_negate() local
59 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in negate() local
70 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in add() local
81 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in sub() local
Dextra_fp_ops_generic.hpp60 value_type old_val, new_val; in fetch_negate() local
75 value_type old_val, new_val; in negate() local
137 value_type old_val, new_val; in add() local
152 value_type old_val, new_val; in sub() local
Dextending_cas_based_arithmetic.hpp41 storage_type old_val; in fetch_add() local
54 storage_type old_val; in fetch_sub() local
Dextra_ops_emulated.hpp47 storage_type old_val = s; in fetch_negate() local
122 storage_type old_val = s; in fetch_complement() local
225 storage_type old_val = base_type::fetch_or(storage, mask, order); in bit_test_and_set() local
233 storage_type old_val = base_type::fetch_and(storage, ~mask, order); in bit_test_and_reset() local
241 storage_type old_val = base_type::fetch_xor(storage, mask, order); in bit_test_and_complement() local
Dfp_ops_generic.hpp45 value_type old_val, new_val; in fetch_add() local
60 value_type old_val, new_val; in fetch_sub() local
Dfp_ops_emulated.hpp48 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in fetch_add() local
59 value_type old_val = atomics::detail::bitwise_fp_cast< value_type >(s); in fetch_sub() local
/external/cronet/stable/third_party/libc++/src/test/std/atomics/atomics.ref/
Dcompare_exchange_weak.pass.cpp82 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
91 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
121 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
134 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
150 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
163 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dfetch_add.pass.cpp81 auto fetch_add = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 …auto fetch_add_no_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { x.fetch_add(new_va… in operator ()()
91 auto fetch_add_with_order = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dfetch_sub.pass.cpp81 auto fetch_sub = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 …auto fetch_sub_no_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { x.fetch_sub(old_va… in operator ()()
91 auto fetch_sub_with_order = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dcompare_exchange_strong.pass.cpp82 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
120 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
132 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
147 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
159 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
/external/cronet/tot/third_party/libc++/src/test/std/atomics/atomics.types.generic/atomics.types.float/
Dcompare_exchange_weak.pass.cpp85 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
94 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
124 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
137 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
153 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
166 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
Dcompare_exchange_strong.pass.cpp76 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
84 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
113 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
125 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
140 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
152 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
/external/cronet/tot/third_party/libc++/src/test/std/atomics/atomics.ref/
Dcompare_exchange_weak.pass.cpp82 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
91 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
121 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
134 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
150 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
163 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dfetch_sub.pass.cpp81 auto fetch_sub = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 …auto fetch_sub_no_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { x.fetch_sub(old_va… in operator ()()
91 auto fetch_sub_with_order = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dfetch_add.pass.cpp81 auto fetch_add = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 …auto fetch_add_no_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { x.fetch_add(new_va… in operator ()()
91 auto fetch_add_with_order = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
Dcompare_exchange_strong.pass.cpp82 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
90 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
120 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
132 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
147 auto store = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
159 auto store_one_arg = [](std::atomic_ref<T> const& x, T old_val, T new_val) { in operator ()()
/external/cronet/stable/third_party/libc++/src/test/std/atomics/atomics.types.generic/atomics.types.float/
Dcompare_exchange_weak.pass.cpp85 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
94 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
124 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
137 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
153 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
166 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
Dcompare_exchange_strong.pass.cpp76 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
84 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
113 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
125 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
140 auto store = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
152 auto store_one_arg = [](MaybeVolatile<std::atomic<T>>& x, T old_val, T new_val) { in test_impl()
/external/coreboot/src/vendorcode/cavium/include/bdk/libbdk-hal/
Dbdk-atomic.h196 static inline int bdk_atomic_compare_and_store32_nosync(uint32_t *ptr, uint32_t old_val, uint32_t n… in bdk_atomic_compare_and_store32_nosync()
224 static inline int bdk_atomic_compare_and_store32(uint32_t *ptr, uint32_t old_val, uint32_t new_val) in bdk_atomic_compare_and_store32()
252 static inline int bdk_atomic_compare_and_store64_nosync(uint64_t *ptr, uint64_t old_val, uint64_t n… in bdk_atomic_compare_and_store64_nosync()
280 static inline int bdk_atomic_compare_and_store64(uint64_t *ptr, uint64_t old_val, uint64_t new_val) in bdk_atomic_compare_and_store64()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cc98 Type old_val = 42; in CheckAtomicCompareExchange() local
108 Type old_val = 42; in CheckAtomicCompareExchange() local
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi_signal_restart.c94 unsigned int old_val; in waiterfn() local
120 unsigned int old_val; in main() local
Dfutex_requeue_pi.c111 futex_t old_val; in waiterfn() local
149 futex_t old_val; in broadcast_wakerfn() local
195 unsigned int old_val; in signal_wakerfn() local

1234