Searched defs:atomic_dec (Results 1 – 3 of 3) sorted by relevance
51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro71 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro96 # define atomic_dec(x, v) (atomic_add_int(&(x)->atomic, -(v))) macro
60 atomic_dec(atomic_t *addr) in atomic_dec() function
5522 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function5527 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function5534 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function