Searched refs:fetch_and_add (Results 1 - 3 of 3) sorted by relevance

/external/valgrind/drd/tests/
H A Dcircular_buffer.c55 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 Dmempool.c57 pos = fetch_and_add (&sos_memory_freepos, size);
/external/libunwind/include/
H A Dlibunwind_i.h135 # 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