Searched refs:fetch_add (Results 1 - 25 of 48) sorted by relevance

12

/external/skia/src/core/
H A DSkTaskGroup.cpp14 fPending.fetch_add(+1, std::memory_order_relaxed);
17 fPending.fetch_add(-1, std::memory_order_release);
23 fPending.fetch_add(+N, std::memory_order_relaxed);
27 fPending.fetch_add(-1, std::memory_order_release);
H A DSkRWBuffer.cpp85 SkAssertResult(fRefCnt.fetch_add(+1, std::memory_order_relaxed));
90 int32_t oldRefCnt = fRefCnt.fetch_add(-1, std::memory_order_acq_rel);
H A DSkSharedMutex.cpp266 int32_t oldQueueCounts = fQueueCounts.fetch_add(1 << kWaitingExlusiveOffset,
/external/skqp/src/core/
H A DSkTaskGroup.cpp14 fPending.fetch_add(+1, std::memory_order_relaxed);
17 fPending.fetch_add(-1, std::memory_order_release);
23 fPending.fetch_add(+N, std::memory_order_relaxed);
27 fPending.fetch_add(-1, std::memory_order_release);
H A DSkRWBuffer.cpp85 SkAssertResult(fRefCnt.fetch_add(+1, std::memory_order_relaxed));
90 int32_t oldRefCnt = fRefCnt.fetch_add(-1, std::memory_order_acq_rel);
/external/llvm/include/llvm/ADT/
H A DStatistic.h70 Value.fetch_add(1, std::memory_order_relaxed);
76 return Value.fetch_add(1, std::memory_order_relaxed);
92 Value.fetch_add(V, std::memory_order_relaxed);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DStatistic.h71 Value.fetch_add(1, std::memory_order_relaxed);
77 return Value.fetch_add(1, std::memory_order_relaxed);
93 Value.fetch_add(V, std::memory_order_relaxed);
/external/skia/include/private/
H A DSkWeakRefCnt.h121 (void)fWeakCnt.fetch_add(+1, std::memory_order_relaxed);
132 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) {
H A DSkSemaphore.h61 int prev = fCount.fetch_add(n, std::memory_order_release);
H A DSkAtomics.h75 T fetch_add(const T& val, sk_memory_order mo = default_memory_order) { function in class:SkAtomic
/external/skqp/include/private/
H A DSkWeakRefCnt.h121 (void)fWeakCnt.fetch_add(+1, std::memory_order_relaxed);
132 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) {
H A DSkSemaphore.h61 int prev = fCount.fetch_add(n, std::memory_order_release);
/external/libchrome/base/
H A Datomicops_internals_portable.h86 ->fetch_add(increment, std::memory_order_relaxed);
91 return increment + ((AtomicLocation32)ptr)->fetch_add(increment);
169 ->fetch_add(increment, std::memory_order_relaxed);
174 return increment + ((AtomicLocation64)ptr)->fetch_add(increment);
/external/protobuf/src/google/protobuf/stubs/
H A Datomicops_internals_pnacl.h86 ->fetch_add(increment, std::memory_order_relaxed);
91 return increment + ((AtomicLocation32)ptr)->fetch_add(increment);
169 ->fetch_add(increment, std::memory_order_relaxed);
174 return increment + ((AtomicLocation64)ptr)->fetch_add(increment);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dpartition_assignment.cc72 if (log_count.fetch_add(1) < 8) {
/external/tensorflow/tensorflow/core/lib/core/
H A Drefcount.h83 ref_.fetch_add(1, std::memory_order_relaxed);
/external/swiftshader/src/Common/
H A DThread.hpp308 inline void operator++() { ai.fetch_add(1, std::memory_order_acq_rel); }
310 inline int operator++(int) { return ai.fetch_add(1, std::memory_order_acq_rel) + 1; }
312 inline void operator+=(int i) { ai.fetch_add(i, std::memory_order_acq_rel); }
/external/skia/include/core/
H A DSkRefCnt.h74 (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed);
84 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) {
220 void ref() const { (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed); }
222 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) {
/external/skqp/include/core/
H A DSkRefCnt.h74 (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed);
84 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) {
220 void ref() const { (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed); }
222 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) {
/external/kernel-headers/original/uapi/rdma/
H A Dvmw_pvrdma-abi.h252 struct pvrdma_ex_fetch_add fetch_add; member in union:pvrdma_sq_wqe_hdr::__anon10215::__anon10218::__anon10219
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cc83 OSATOMIC_INTERCEPTORS_ARITHMETIC(OSAtomicAdd, fetch_add,
85 OSATOMIC_INTERCEPTORS_ARITHMETIC(OSAtomicIncrement, fetch_add,
/external/skia/src/pdf/
H A DSkPDFBitmap.cpp420 gJpegImageObjects.fetch_add(1);
443 gRegularImageObjects.fetch_add(1);
/external/skqp/src/pdf/
H A DSkPDFBitmap.cpp420 gJpegImageObjects.fetch_add(1);
443 gRegularImageObjects.fetch_add(1);
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DEventCount.h68 w->epoch = state_.fetch_add(kWaiterInc, std::memory_order_relaxed);
/external/icu/icu4c/source/common/
H A Dumutex.h71 return var->fetch_add(1) + 1;

Completed in 945 milliseconds

12