Home
last modified time | relevance | path

Searched refs:memory_order_acquire (Results 1 – 25 of 213) sorted by relevance

123456789

/third_party/boost/boost/atomic/detail/
Dops_msvc_arm.hpp89 …< unsigned int >(memory_order_consume) | static_cast< unsigned int >(memory_order_acquire))) != 0u) in fence_after_load()
165 case memory_order_acquire: in fetch_add()
188 case memory_order_acquire: in exchange()
214 case memory_order_acquire: in compare_exchange_strong()
239 case memory_order_acquire: in fetch_and()
262 case memory_order_acquire: in fetch_or()
285 case memory_order_acquire: in fetch_xor()
330 case memory_order_acquire: in fetch_add()
353 case memory_order_acquire: in exchange()
379 case memory_order_acquire: in compare_exchange_strong()
[all …]
Dcore_arch_ops_msvc_arm.hpp105 …< unsigned int >(memory_order_consume) | static_cast< unsigned int >(memory_order_acquire))) != 0u) in fence_after_load()
182 case memory_order_acquire: in fetch_add()
205 case memory_order_acquire: in exchange()
231 case memory_order_acquire: in compare_exchange_strong()
256 case memory_order_acquire: in fetch_and()
279 case memory_order_acquire: in fetch_or()
302 case memory_order_acquire: in fetch_xor()
347 case memory_order_acquire: in fetch_add()
370 case memory_order_acquire: in exchange()
396 case memory_order_acquire: in compare_exchange_strong()
[all …]
/third_party/musl/porting/linux/user/src/hook/
Dmusl_preinit_common.h46 volatile bool g_flag = atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire); in __get_global_hook_flag()
57 volatile bool memleak_flag = atomic_load_explicit(&__memleak_hook_flag, memory_order_acquire); in __get_memleak_hook_flag()
69 …impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __get_hook_flag()
90 …impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __set_hook_flag()
110 …atchType *)atomic_load_explicit(&__musl_libc_globals.current_dispatch_table, memory_order_acquire); in get_current_dispatch_table()
/third_party/boost/boost/fiber/detail/
Dspinlock_ttas_futex.hpp83 … } else if ( ! value_.compare_exchange_strong( expected, 1, std::memory_order_acquire) ) { in lock()
104 expected = value_.exchange( 2, std::memory_order_acquire); in lock()
108 expected = value_.exchange( 2, std::memory_order_acquire); in lock()
114 return value_.compare_exchange_strong( expected, 1, std::memory_order_acquire); in try_lock()
118 if ( 1 != value_.fetch_sub( 1, std::memory_order_acquire) ) { in unlock()
Dspinlock_ttas_adaptive_futex.hpp89 … } else if ( ! value_.compare_exchange_strong( expected, 1, std::memory_order_acquire) ) { in lock()
111 expected = value_.exchange( 2, std::memory_order_acquire); in lock()
115 expected = value_.exchange( 2, std::memory_order_acquire); in lock()
123 return value_.compare_exchange_strong( expected, 1, std::memory_order_acquire); in try_lock()
127 if ( 1 != value_.fetch_sub( 1, std::memory_order_acquire) ) { in unlock()
/third_party/boost/boost/log/sinks/
Dasync_frontend.hpp333 if (BOOST_UNLIKELY(m_FlushRequested.load(boost::memory_order_acquire))) in consume()
337 while (m_FlushRequested.load(boost::memory_order_acquire)) in consume()
348 if (!m_FlushRequested.load(boost::memory_order_acquire)) in try_consume()
374 if (!m_StopRequested.load(boost::memory_order_acquire)) in run()
409 while (m_StopRequested.load(boost::memory_order_acquire)) in stop()
450 …while (!m_StopRequested.load(boost::memory_order_acquire) && m_FlushRequested.load(boost::memory_o… in flush()
478 while (!m_StopRequested.load(boost::memory_order_acquire)) in do_feed_records()
482 if (BOOST_LIKELY(!m_FlushRequested.load(boost::memory_order_acquire))) in do_feed_records()
493 if (BOOST_UNLIKELY(m_FlushRequested.load(boost::memory_order_acquire))) in do_feed_records()
/third_party/boost/boost/lockfree/detail/
Datomic.hpp66 using boost::memory_order_acquire;
72 using std::memory_order_acquire;
80 using detail::memory_order_acquire;
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Datomic_hook.h148 FnPtr DoLoad() const { return hook_.load(std::memory_order_acquire); } in DoLoad()
156 expected, fn, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
170 const intptr_t value = hook_.load(std::memory_order_acquire); in DoLoad()
182 expected, value, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
/third_party/abseil-cpp/absl/base/internal/
Datomic_hook.h148 FnPtr DoLoad() const { return hook_.load(std::memory_order_acquire); } in DoLoad()
156 expected, fn, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
170 const intptr_t value = hook_.load(std::memory_order_acquire); in DoLoad()
182 expected, value, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
/third_party/flutter/engine/flutter/fml/memory/
Dref_counted_internal.h30 return ref_count_.load(std::memory_order_acquire) == 1u; in HasOneRef()
45 FML_DCHECK(ref_count_.load(std::memory_order_acquire) != 0u); in Release()
59 std::atomic_thread_fence(std::memory_order_acquire); in Release()
/third_party/boost/libs/thread/src/pthread/
Donce_atomic.cpp39 if (f.load(memory_order_acquire) != initialized) in enter_once_region()
42 if (f.load(memory_order_acquire) != initialized) in enter_once_region()
47 … if (f.compare_exchange_strong(expected, in_progress, memory_order_acq_rel, memory_order_acquire)) in enter_once_region()
/third_party/grpc/include/grpcpp/impl/codegen/
Dserver_callback.h278 stream_.load(std::memory_order_acquire); in StartSendInitialMetadata()
296 stream_.load(std::memory_order_acquire); in StartRead()
325 stream_.load(std::memory_order_acquire); in StartWrite()
354 stream_.load(std::memory_order_acquire); in StartWriteAndFinish()
389 stream_.load(std::memory_order_acquire); in Finish()
492 reader_.load(std::memory_order_acquire); in StartSendInitialMetadata()
505 reader_.load(std::memory_order_acquire); in StartRead()
518 reader_.load(std::memory_order_acquire); in Finish()
579 writer_.load(std::memory_order_acquire); in StartSendInitialMetadata()
595 writer_.load(std::memory_order_acquire); in StartWrite()
[all …]
Dserver_callback_impl.h278 stream_.load(std::memory_order_acquire); in StartSendInitialMetadata()
296 stream_.load(std::memory_order_acquire); in StartRead()
325 stream_.load(std::memory_order_acquire); in StartWrite()
354 stream_.load(std::memory_order_acquire); in StartWriteAndFinish()
389 stream_.load(std::memory_order_acquire); in Finish()
496 reader_.load(std::memory_order_acquire); in StartSendInitialMetadata()
509 reader_.load(std::memory_order_acquire); in StartRead()
522 reader_.load(std::memory_order_acquire); in Finish()
584 writer_.load(std::memory_order_acquire); in StartSendInitialMetadata()
600 writer_.load(std::memory_order_acquire); in StartWrite()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info.cc266 CordzInfo* head = global_list_.head.load(std::memory_order_acquire); in Head()
275 CordzInfo* next = ci_next_.load(std::memory_order_acquire); in Next()
359 CordzInfo* const head = list_->head.load(std::memory_order_acquire); in Track()
372 CordzInfo* const head = list_->head.load(std::memory_order_acquire); in Untrack()
373 CordzInfo* const next = ci_next_.load(std::memory_order_acquire); in Untrack()
374 CordzInfo* const prev = ci_prev_.load(std::memory_order_acquire); in Untrack()
377 ABSL_ASSERT(next->ci_prev_.load(std::memory_order_acquire) == this); in Untrack()
382 ABSL_ASSERT(prev->ci_next_.load(std::memory_order_acquire) == this); in Untrack()
/third_party/boost/boost/lockfree/
Dqueue.hpp333 tagged_node_handle tail = tail_.load(memory_order_acquire); in do_push()
335 tagged_node_handle next = tail_node->next.load(memory_order_acquire); in do_push()
338 tagged_node_handle tail2 = tail_.load(memory_order_acquire); in do_push()
414 tagged_node_handle head = head_.load(memory_order_acquire); in pop()
417 tagged_node_handle tail = tail_.load(memory_order_acquire); in pop()
418 tagged_node_handle next = head_ptr->next.load(memory_order_acquire); in pop()
421 tagged_node_handle head2 = head_.load(memory_order_acquire); in pop()
/third_party/boost/libs/fiber/performance/thread/
Dbuffered_channel.hpp67 …< std::intptr_t >( slots_[idx & (capacity_ - 1)].cycle.load( std::memory_order_acquire) ) - static… in is_full_()
72 …< std::intptr_t >( slots_[idx & (capacity_ - 1)].cycle.load( std::memory_order_acquire) ) - static… in is_empty_()
81 std::size_t cycle{ s->cycle.load( std::memory_order_acquire) }; in try_push_()
102 std::size_t cycle = s->cycle.load( std::memory_order_acquire); in try_value_pop_()
161 return closed_.load( std::memory_order_acquire); in is_closed()
/third_party/boost/boost/sort/common/
Dspinlock.hpp58 while (af.test_and_set (std::memory_order_acquire)) in lock()
72 return not af.test_and_set (std::memory_order_acquire); in try_lock()
/third_party/boost/libs/smart_ptr/test/
Dsp_atomic_test.cpp63 boost::shared_ptr<X> p2 = boost::atomic_load_explicit( &px, boost::memory_order_acquire ); in main()
77 …= boost::atomic_compare_exchange_explicit( &px, &cmp, px4, boost::memory_order_acquire, boost::mem… in main()
82 …pare_exchange_explicit( &px, &cmp, px4, boost::memory_order_release, boost::memory_order_acquire ); in main()
/third_party/gn/src/base/
Datomic_ref_count.h46 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne()
52 return ref_count_.load(std::memory_order_acquire) == 0; in IsZero()
/third_party/cef/include/base/
Dcef_atomic_ref_count.h88 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne()
94 return ref_count_.load(std::memory_order_acquire) == 0; in IsZero()
/third_party/benchmark/test/
Dbenchmark_setup_teardown_test.cc50 concurrent::setup_call.fetch_add(1, std::memory_order_acquire); in DoSetup2()
55 concurrent::teardown_call.fetch_add(1, std::memory_order_acquire); in DoTeardown2()
62 concurrent::func_call.fetch_add(1, std::memory_order_acquire); in BM_concurrent()
/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h50 int32_t refcount = count_.load(std::memory_order_acquire); in Decrement()
63 inline int32_t Get() const { return count_.load(std::memory_order_acquire); } in Get()
73 inline bool IsOne() { return count_.load(std::memory_order_acquire) == 1; } in IsOne()
/third_party/flutter/skia/include/private/
DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
/third_party/skia/include/private/
DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
/third_party/boost/boost/
Dmemory_order.hpp59 BOOST_INLINE_VARIABLE BOOST_CONSTEXPR_OR_CONST memory_order memory_order_acquire = memory_order::ac… variable
72 memory_order_acquire = 2,

123456789