/external/skqp/src/core/ |
D | SkTaskGroup.cpp | 14 fPending.fetch_add(+1, std::memory_order_relaxed); in add() 17 fPending.fetch_add(-1, std::memory_order_release); in add() 23 fPending.fetch_add(+N, std::memory_order_relaxed); in batch() 27 fPending.fetch_add(-1, std::memory_order_release); in batch()
|
/external/skia/src/core/ |
D | SkTaskGroup.cpp | 14 fPending.fetch_add(+1, std::memory_order_relaxed); in add() 17 fPending.fetch_add(-1, std::memory_order_release); in add() 23 fPending.fetch_add(+N, std::memory_order_relaxed); in batch() 27 fPending.fetch_add(-1, std::memory_order_release); in batch()
|
/external/rust/crates/crossbeam-deque/tests/ |
D | injector.rs | 96 v[n].fetch_add(1, SeqCst); in mpmc() 172 hits.fetch_add(1, SeqCst); in stress() 178 hits.fetch_add(1, SeqCst); in stress() 182 hits.fetch_add(1, SeqCst); in stress() 193 hits.fetch_add(1, SeqCst); in stress() 203 hits.fetch_add(1, SeqCst); in stress() 232 hits.fetch_add(1, SeqCst); in no_starvation() 238 hits.fetch_add(1, SeqCst); in no_starvation() 242 hits.fetch_add(1, SeqCst); in no_starvation()
|
D | fifo.rs | 161 hits.fetch_add(1, SeqCst); in stress() 167 hits.fetch_add(1, SeqCst); in stress() 171 hits.fetch_add(1, SeqCst); in stress() 182 hits.fetch_add(1, SeqCst); in stress() 192 hits.fetch_add(1, SeqCst); in stress() 221 hits.fetch_add(1, SeqCst); in no_starvation() 227 hits.fetch_add(1, SeqCst); in no_starvation() 231 hits.fetch_add(1, SeqCst); in no_starvation()
|
D | lifo.rs | 161 hits.fetch_add(1, SeqCst); in stress() 167 hits.fetch_add(1, SeqCst); in stress() 171 hits.fetch_add(1, SeqCst); in stress() 182 hits.fetch_add(1, SeqCst); in stress() 192 hits.fetch_add(1, SeqCst); in stress() 221 hits.fetch_add(1, SeqCst); in no_starvation() 227 hits.fetch_add(1, SeqCst); in no_starvation() 231 hits.fetch_add(1, SeqCst); in no_starvation()
|
/external/skqp/src/gpu/vk/ |
D | GrVkResource.h | 77 fKey = fKeyCounter.fetch_add(+1, std::memory_order_relaxed); in GrVkResource() 112 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref() 124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() 137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon()
|
/external/skia/src/gpu/ |
D | GrGpuResource.h | 37 (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref() 48 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref() 55 (void)fCommandBufferUsageCnt.fetch_add(+1, std::memory_order_relaxed); in addCommandBufferUsage() 60 if (1 == fCommandBufferUsageCnt.fetch_add(-1, std::memory_order_acq_rel)) { in removeCommandBufferUsage() 81 (void)fRefCnt.fetch_add(+1, std::memory_order_relaxed); in addInitialRef()
|
D | GrManagedResource.h | 81 fKey = fKeyCounter.fetch_add(+1, std::memory_order_relaxed); in GrManagedResource() 116 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref() 127 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref()
|
/external/rust/crates/tokio/tests/ |
D | rt_threaded.rs | 43 let num = cnt.fetch_add(1, Relaxed) + 1; in many_oneshot_futures() 183 self.0.fetch_add(1, Relaxed); in drop_threadpool_drops_futures() 193 a.fetch_add(1, Relaxed); in drop_threadpool_drops_futures() 196 b.fetch_add(1, Relaxed); in drop_threadpool_drops_futures() 232 after_inner.clone().fetch_add(1, Ordering::Relaxed); in start_stop_callbacks_called() 235 before_inner.clone().fetch_add(1, Ordering::Relaxed); in start_stop_callbacks_called() 284 let num = cnt.fetch_add(1, Relaxed) + 1; in blocking()
|
/external/rust/crates/once_cell/tests/ |
D | it.rs | 35 DROP_CNT.fetch_add(1, SeqCst); in once_cell_drop() 140 CALLED.fetch_add(1, SeqCst); in lazy_default() 257 DROP_CNT.fetch_add(1, SeqCst); in once_cell_drop() 382 called.fetch_add(1, SeqCst); in lazy_new() 406 called.fetch_add(1, SeqCst); in lazy_deref_mut() 428 CALLED.fetch_add(1, SeqCst); in lazy_default() 615 cnt.fetch_add(1, SeqCst); in once_non_zero_usize_smoke_test() 624 cnt.fetch_add(1, SeqCst); in once_non_zero_usize_smoke_test() 694 cnt.fetch_add(1, SeqCst); in once_bool_smoke_test() 703 cnt.fetch_add(1, SeqCst); in once_bool_smoke_test() [all …]
|
/external/rust/crates/async-task/tests/ |
D | cancel.rs | 33 $poll.fetch_add(1, Ordering::SeqCst); 41 $drop_f.fetch_add(1, Ordering::SeqCst); 51 $drop_t.fetch_add(1, Ordering::SeqCst); 78 $drop.fetch_add(1, Ordering::SeqCst); 86 $sched.fetch_add(1, Ordering::SeqCst);
|
D | ready.rs | 33 $poll.fetch_add(1, Ordering::SeqCst); 41 $drop_f.fetch_add(1, Ordering::SeqCst); 51 $drop_t.fetch_add(1, Ordering::SeqCst); 78 $drop.fetch_add(1, Ordering::SeqCst); 85 $sched.fetch_add(1, Ordering::SeqCst);
|
/external/llvm/include/llvm/ADT/ |
D | Statistic.h | 70 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/ |
D | Statistic.h | 71 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/rust/crates/crossbeam-epoch/src/ |
D | collector.rs | 217 DESTROYS.fetch_add(1, Ordering::Relaxed); in incremental() 250 DESTROYS.fetch_add(1, Ordering::Relaxed); in buffering() 278 DROPS.fetch_add(1, Ordering::Relaxed); in count_drops() 317 DESTROYS.fetch_add(1, Ordering::Relaxed); in count_destroy() 339 DROPS.fetch_add(1, Ordering::Relaxed); in drop_array() 388 DESTROYS.fetch_add(len, Ordering::Relaxed); in destroy_array() 412 DROPS.fetch_add(1, Ordering::Relaxed); in stress()
|
/external/libchrome/base/ |
D | atomicops_internals_portable.h | 86 ->fetch_add(increment, std::memory_order_relaxed); in NoBarrier_AtomicIncrement() 91 return increment + ((AtomicLocation32)ptr)->fetch_add(increment); in Barrier_AtomicIncrement() 169 ->fetch_add(increment, std::memory_order_relaxed); in NoBarrier_AtomicIncrement() 174 return increment + ((AtomicLocation64)ptr)->fetch_add(increment); in Barrier_AtomicIncrement()
|
/external/llvm-project/mlir/lib/ExecutionEngine/ |
D | AsyncRuntime.cpp | 60 numRefCountedObjects.fetch_add(1, std::memory_order_relaxed); in addNumRefCountedObjects() 94 void addRef(int32_t count = 1) { refCount.fetch_add(count); } in addRef() 173 int rank = group->rank.fetch_add(1); in mlirAsyncRuntimeAddTokenToGroup() 174 group->pendingTokens.fetch_add(1); in mlirAsyncRuntimeAddTokenToGroup()
|
/external/rust/crates/rayon-core/src/scope/ |
D | test.rs | 28 counter.fetch_add(1, Ordering::SeqCst); in scope_two() 31 counter.fetch_add(10, Ordering::SeqCst); in scope_two() 58 counter.fetch_add(1, Ordering::SeqCst); in divide_and_conquer() 68 counter.fetch_add(1, Ordering::SeqCst); in divide_and_conquer_seq() 451 COUNTER.fetch_add(i, Ordering::Relaxed); in static_scope() 473 COUNTER.fetch_add(i, Ordering::Relaxed); in static_scope_fifo() 488 c.fetch_add(1, Ordering::Relaxed); in mixed_lifetime_scope() 506 c.fetch_add(1, Ordering::Relaxed); in mixed_lifetime_scope_fifo()
|
/external/rust/crates/tokio/src/runtime/tests/ |
D | loom_pool.rs | 62 if 1 == c1.fetch_add(1, Relaxed) { in pool_multi_spawn() 71 if 1 == c2.fetch_add(1, Relaxed) { in pool_multi_spawn() 138 if NUM == cnt.fetch_add(1, Relaxed) + 1 { in blocking_and_regular_inner() 278 if 1 == c1.fetch_add(1, Relaxed) { in pool_multi_notify() 288 if 1 == c2.fetch_add(1, Relaxed) { in pool_multi_notify()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Statistic.h | 82 Value.fetch_add(1, std::memory_order_relaxed); 88 return Value.fetch_add(1, std::memory_order_relaxed); 104 Value.fetch_add(V, std::memory_order_relaxed);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Statistic.h | 80 Value.fetch_add(1, std::memory_order_relaxed); 86 return Value.fetch_add(1, std::memory_order_relaxed); 102 Value.fetch_add(V, std::memory_order_relaxed);
|
/external/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()
|
/external/skia/include/private/ |
D | SkWeakRefCnt.h | 116 (void)fWeakCnt.fetch_add(+1, std::memory_order_relaxed); in weak_ref() 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
|
/external/skqp/include/private/ |
D | SkWeakRefCnt.h | 116 (void)fWeakCnt.fetch_add(+1, std::memory_order_relaxed); in weak_ref() 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
|