/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Thread.hpp | 307 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/ |
D | LLVMReactor.hpp | 132 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/ |
D | FifoController.h | 43 mReadCounter.fetch_add(n, std::memory_order_acq_rel); in incrementReadCounter() 52 mWriteCounter.fetch_add(n, std::memory_order_acq_rel); in incrementWriteCounter()
|
D | FifoControllerIndirect.h | 45 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/ |
D | code-range.h | 107 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()
|
D | progress-bar.h | 43 std::memory_order_acq_rel); in TrySetNewValue()
|
D | memory-allocator.h | 338 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/ |
D | atomic_hook.h | 156 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/ |
D | buffer.c | 119 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()
|
D | slicethread.c | 57 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/ |
D | hb-atomic.hh | 87 …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/ |
D | once.cc | 33 std::memory_order_acq_rel)) { in CallOnceImpl()
|
D | atomicops.h | 176 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/ |
D | blocking_counter.cc | 39 int count = count_.fetch_sub(1, std::memory_order_acq_rel) - 1; in DecrementCount()
|
/third_party/gn/src/base/ |
D | atomic_ref_count.h | 37 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement()
|
/third_party/cef/include/base/ |
D | cef_atomic_ref_count.h | 79 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement()
|
/third_party/skia/include/private/ |
D | SkWeakRefCnt.h | 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
|
/third_party/skia/src/gpu/ |
D | GrGpuResource.h | 49 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()
|
D | GrManagedResource.h | 127 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref()
|
/third_party/skia/include/core/ |
D | SkRefCnt.h | 74 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/ |
D | SpirvShaderMemory.cpp | 436 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/ |
D | cancelable-task.h | 133 std::memory_order_acq_rel,
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-code-manager.h | 334 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/ |
D | cord_internal.h | 107 (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/ |
D | IntrusiveRefCntPtr.h | 97 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
|