Searched refs:fetch_and_add (Results 1 - 3 of 3) sorted by relevance
/external/valgrind/drd/tests/ |
H A D | circular_buffer.c | 55 int fetch_and_add(int* p, int i) function 108 out = fetch_and_add(&b->out, 1); 111 fetch_and_add(&b->out, -BUFFER_MAX); 131 in = fetch_and_add(&b->in, 1); 134 fetch_and_add(&b->in, -BUFFER_MAX);
|
/external/libunwind/src/mi/ |
H A D | mempool.c | 57 pos = fetch_and_add (&sos_memory_freepos, size);
|
/external/libunwind/include/ |
H A 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
|
Completed in 119 milliseconds