Home
last modified time | relevance | path

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

12345

/third_party/elfutils/lib/
Ddynamicsizehash_concurrent.c52 memory_order_acquire); in lookup()
69 memory_order_acquire); in lookup()
88 memory_order_acquire); in insert_helper()
97 memory_order_acquire, in insert_helper()
98 memory_order_acquire); in insert_helper()
111 memory_order_acquire); in insert_helper()
130 memory_order_acquire); in insert_helper()
139 memory_order_acquire, in insert_helper()
140 memory_order_acquire); in insert_helper()
153 memory_order_acquire); in insert_helper()
[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()
Dmusl_preinit.c456 …le = (volatile void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in install_ohos_malloc_hook()
533 …olatile void* )atomic_load_explicit(&ohos_malloc_ever_shared_library_handle, memory_order_acquire); in __install_malloc_hook()
539 …le = (volatile void* )atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_malloc_hook()
550 …cDispatchType* )atomic_load_explicit(&__musl_libc_globals.so_dispatch_table, memory_order_acquire); in __install_malloc_hook()
565 if (!atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire)) { in __uninstal_malloc_hook()
585 …= (volatile void* )atomic_load_explicit(&memleak_ever_shared_library_handle, memory_order_acquire); in __install_memleak_tracker_hook()
591 …le = (volatile void* )atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_memleak_tracker_hook()
607 …atomic_load_explicit(&__musl_libc_globals.memleak_tracker_so_dispatch_table, memory_order_acquire); in __install_memleak_tracker_hook()
/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()
Dspinlock_wait.cc44 uint32_t v = w->load(std::memory_order_acquire); in SpinLockWait()
52 std::memory_order_acquire, in SpinLockWait()
/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()
Dcordz_handle.cc32 CordzHandle* dq_tail = queue_->dq_tail.load(std::memory_order_acquire); in CordzHandle()
82 CordzHandle* dq_tail = queue->dq_tail.load(std::memory_order_acquire); in Delete()
97 CordzHandle* dq_tail = global_queue_.dq_tail.load(std::memory_order_acquire); in DiagnosticsGetDeleteQueue()
/third_party/node/deps/v8/src/base/
Datomicops.h150 std::memory_order_acquire, std::memory_order_acquire); in Acquire_CompareAndSwap()
176 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap()
242 std::memory_order_acquire); in Acquire_Load()
247 std::memory_order_acquire); in Acquire_Load()
293 std::memory_order_acquire, std::memory_order_acquire); in Acquire_CompareAndSwap()
310 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap()
336 std::memory_order_acquire); in Acquire_Load()
Donce.cc20 if (once->load(std::memory_order_acquire) == ONCE_STATE_DONE) { in CallOnceImpl()
41 while (once->load(std::memory_order_acquire) == in CallOnceImpl()
Donce.h90 if (once->load(std::memory_order_acquire) != ONCE_STATE_DONE) { in CallOnce()
100 if (once->load(std::memory_order_acquire) != ONCE_STATE_DONE) { in CallOnce()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.cc753 if (synch_check_invariants.load(std::memory_order_acquire) && in EnableInvariantDebugging()
1072 std::memory_order_acquire, in TryRemove()
1124 while (s->state.load(std::memory_order_acquire) == PerThreadSynch::kQueued) { in Block()
1243 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockEnter()
1253 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockEnter()
1263 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockLeave()
1325 if (synch_deadlock_detection.load(std::memory_order_acquire) == in DeadlockCheck()
1397 if (synch_deadlock_detection.load(std::memory_order_acquire) == in DeadlockCheck()
1413 if (kDebugMode && synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyDeadlockCheck()
1422 if (kDebugMode && synch_deadlock_detection.load(std::memory_order_acquire) != in ForgetDeadlockInfo()
[all …]
/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/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/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()
DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator()
44 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
/third_party/node/deps/v8/src/heap/
Dprogress-bar.h31 return value_.load(std::memory_order_acquire) != kDisabledSentinel; in IsEnabled()
36 return value_.load(std::memory_order_acquire); in Value()
/third_party/skia/third_party/externals/angle2/src/common/
DSpinlock.h48 !mLock.exchange(true, std::memory_order_acquire); in try_lock()
53 while (mLock.exchange(true, std::memory_order_acquire)) in lock()
/third_party/skia/third_party/externals/oboe/src/fifo/
DFifoController.h37 return mReadCounter.load(std::memory_order_acquire); in getReadCounter()
46 return mWriteCounter.load(std::memory_order_acquire); in getWriteCounter()
DFifoControllerIndirect.h39 return mReadCounterAddress->load(std::memory_order_acquire); in getReadCounter()
48 return mWriteCounterAddress->load(std::memory_order_acquire); in getWriteCounter()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh84 #define _hb_memory_r_barrier() std::atomic_thread_fence(std::memory_order_acquire)
91 …t_impl_get(AI) (reinterpret_cast<std::atomic<int> const *> (AI)->load (std::memory_order_acquire))
95 …mic_ptr_impl_get(P) (reinterpret_cast<std::atomic<void*> *> (P)->load (std::memory_order_acquire))
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.cc239 int64_t one_word_val = OneWordValue().load(std::memory_order_acquire); in StoreValue()
296 OneWordValue().load(std::memory_order_acquire)); in CurrentValue()
357 *this, OneWordValue().load(std::memory_order_acquire), modified, in SaveState()
452 OneWordValue().load(std::memory_order_acquire); in Read()
473 return OneWordValue().load(std::memory_order_acquire); in ReadOneWord()
481 OneWordValue().load(std::memory_order_acquire)) in ReadOneBool()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DManagedStatic.h86 void *Tmp = Ptr.load(std::memory_order_acquire);
96 void *Tmp = Ptr.load(std::memory_order_acquire);
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc90 uint64_t local_pid_and_fds = pid_and_fds.load(std::memory_order_acquire); in AddressIsReadable()
108 local_pid_and_fds = pid_and_fds.load(std::memory_order_acquire); in AddressIsReadable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DManagedStatic.h87 void *Tmp = Ptr.load(std::memory_order_acquire);
97 void *Tmp = Ptr.load(std::memory_order_acquire);

12345