Home
last modified time | relevance | path

Searched refs:memory_order_acq_rel (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/Common/
DThread.hpp307 inline void operator--() { ai.fetch_sub(1, std::memory_order_acq_rel); } in operator --()
308 inline void operator++() { ai.fetch_add(1, std::memory_order_acq_rel); } in operator ++()
309 inline int operator--(int) { return ai.fetch_sub(1, std::memory_order_acq_rel) - 1; } in operator --()
310 inline int operator++(int) { return ai.fetch_add(1, std::memory_order_acq_rel) + 1; } in operator ++()
311 inline void operator-=(int i) { ai.fetch_sub(i, std::memory_order_acq_rel); } in operator -=()
312 inline void operator+=(int i) { ai.fetch_add(i, std::memory_order_acq_rel); } in operator +=()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.hpp132 case llvm::AtomicOrdering::AcquireRelease: return std::memory_order_acq_rel; in atomicOrdering()
136 return std::memory_order_acq_rel; in atomicOrdering()
153 case std::memory_order_acq_rel: return llvm::AtomicOrdering::AcquireRelease; in atomicOrdering()
/third_party/skia/third_party/externals/oboe/src/fifo/
DFifoController.h43 mReadCounter.fetch_add(n, std::memory_order_acq_rel); in incrementReadCounter()
52 mWriteCounter.fetch_add(n, std::memory_order_acq_rel); in incrementWriteCounter()
DFifoControllerIndirect.h45 mReadCounterAddress->fetch_add(n, std::memory_order_acq_rel); in incrementReadCounter()
54 mWriteCounterAddress->fetch_add(n, std::memory_order_acq_rel); in incrementWriteCounter()
/third_party/node/deps/v8/src/heap/
Dcode-range.h107 return unwindinfo_use_count_.fetch_add(1, std::memory_order_acq_rel); in AtomicIncrementUnwindInfoUseCount()
111 return unwindinfo_use_count_.fetch_sub(1, std::memory_order_acq_rel); in AtomicDecrementUnwindInfoUseCount()
Dprogress-bar.h43 std::memory_order_acq_rel); in TrySetNewValue()
Dmemory-allocator.h338 ptr, low, std::memory_order_acq_rel)) { in UpdateAllocatedSpaceLimits()
342 ptr, high, std::memory_order_acq_rel)) { in UpdateAllocatedSpaceLimits()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Datomic_hook.h156 expected, fn, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
182 expected, value, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
/third_party/ffmpeg/libavutil/
Dbuffer.c119 if (atomic_fetch_sub_explicit(&b->refcount, 1, memory_order_acq_rel) == 1) { in buffer_replace()
321 if (atomic_fetch_sub_explicit(&pool->refcount, 1, memory_order_acq_rel) == 1) in av_buffer_pool_uninit()
338 if (atomic_fetch_sub_explicit(&pool->refcount, 1, memory_order_acq_rel) == 1) in pool_release_buffer()
Dslicethread.c57 unsigned first_job = atomic_fetch_add_explicit(&ctx->first_job, 1, memory_order_acq_rel); in run_jobs()
62 …} while ((current_job = atomic_fetch_add_explicit(&ctx->current_job, 1, memory_order_acq_rel)) < n… in run_jobs()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh87 …add(AI, V) (reinterpret_cast<std::atomic<int> *> (AI)->fetch_add ((V), std::memory_order_acq_rel))
100 …td::atomic<const void*> *> (P)->compare_exchange_weak (O, N, std::memory_order_acq_rel, std::memor… in _hb_atomic_ptr_impl_cmplexch()
/third_party/node/deps/v8/src/base/
Donce.cc33 std::memory_order_acq_rel)) { in CallOnceImpl()
Datomicops.h176 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap()
310 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dblocking_counter.cc39 int count = count_.fetch_sub(1, std::memory_order_acq_rel) - 1; in DecrementCount()
/third_party/gn/src/base/
Datomic_ref_count.h37 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement()
/third_party/cef/include/base/
Dcef_atomic_ref_count.h79 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement()
/third_party/skia/include/private/
DSkWeakRefCnt.h127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
/third_party/skia/src/gpu/
DGrGpuResource.h49 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
61 if (1 == fCommandBufferUsageCnt.fetch_add(-1, std::memory_order_acq_rel)) { in removeCommandBufferUsage()
DGrManagedResource.h127 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref()
/third_party/skia/include/core/
DSkRefCnt.h74 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
177 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderMemory.cpp436 case spv::MemorySemanticsAcquireReleaseMask: return std::memory_order_acq_rel; in MemoryOrder()
437 …case spv::MemorySemanticsSequentiallyConsistentMask: return std::memory_order_acq_rel; // Vulkan … in MemoryOrder()
442 return std::memory_order_acq_rel; in MemoryOrder()
/third_party/node/deps/v8/src/tasks/
Dcancelable-task.h133 std::memory_order_acq_rel,
/third_party/node/deps/v8/src/wasm/
Dwasm-code-manager.h334 int old_val = ref_count_.fetch_add(1, std::memory_order_acq_rel); in IncRef()
348 std::memory_order_acq_rel)) { in DecRef()
357 int old_count = ref_count_.fetch_sub(1, std::memory_order_acq_rel); in DecRefOnLiveCode()
366 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) == 1; in DecRefOnDeadCode()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_internal.h107 (count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) & in Decrement()
114 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) & in DecrementExpectHighRefcount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h97 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()

12