Searched refs:fetch_and_add (Results 1 – 7 of 7) sorted by relevance
/external/valgrind/drd/tests/ |
D | circular_buffer.c | 55 int fetch_and_add(int* p, int i) in fetch_and_add() function 108 out = fetch_and_add(&b->out, 1); in buffer_recv() 111 fetch_and_add(&b->out, -BUFFER_MAX); in buffer_recv() 131 in = fetch_and_add(&b->in, 1); in buffer_send() 134 fetch_and_add(&b->in, -BUFFER_MAX); in buffer_send()
|
/external/libunwind/include/ |
D | libunwind_i.h | 135 # define fetch_and_add(_ptr, value) AO_fetch_and_add(_ptr, value) macro 159 # define fetch_and_add(_ptr, value) __sync_fetch_and_add(_ptr, value) macro
|
/external/libunwind/src/mi/ |
D | mempool.c | 57 pos = fetch_and_add (&sos_memory_freepos, size); in sos_alloc()
|
/external/llvm/test/CodeGen/X86/ |
D | atomic128.ll | 67 define void @fetch_and_add(i128* %p, i128 %bits) { 68 ; CHECK-LABEL: fetch_and_add:
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-atomic-128.ll | 53 define void @fetch_and_add(i128* %p, i128 %bits) { 54 ; CHECK-LABEL: fetch_and_add:
|
/external/opencv3/modules/imgproc/src/ |
D | histogram.cpp | 248 globalHistogram_[idx].fetch_and_add(1); in operator ()() 261 globalHistogram_[idx].fetch_and_add(1); in operator ()() 324 … ( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0) )[idx1].fetch_and_add(1); in operator ()() 336 … ((tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0))[idx1].fetch_and_add(1); in operator ()() 404 …( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0 + hstep_[1]*idx1) )[idx2].fetch_and_add(1); in operator ()() 421 …( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0 + hstep_[1]*idx1) )[idx2].fetch_and_add(1); in operator ()() 691 ( *(tbb::atomic<int>*)(globalHistogram_ + idx) ).fetch_and_add(1); in operator ()() 702 (*(tbb::atomic<int>*)(globalHistogram_ + idx)).fetch_and_add(1); in operator ()()
|
/external/llvm/lib/Target/X86/ |
D | README.txt | 1798 The trick is to match "fetch_and_add(X, -C) == C".
|