Home
last modified time | relevance | path

Searched refs:atomic_dec (Results 1 – 6 of 6) sorted by relevance

/external/libdrm/
Dxf86atomic.h55 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro
74 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro
99 # define atomic_dec(x, v) (atomic_add_int(&(x)->atomic, -(v))) macro
/external/linux-kselftest/tools/testing/selftests/futex/include/
Datomic.h64 atomic_dec(atomic_t *addr) in atomic_dec() function
/external/libdrm/radeon/
Dradeon_cs_gem.c453atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
485atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
/external/protobuf/php/ext/google/protobuf/
Dupb.c2684 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function
2689 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function
2696 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function
2722 return atomic_dec(group); in unrefgroup()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c2836 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function
2841 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function
2848 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function
2874 return atomic_dec(group); in unrefgroup()
/external/clang/lib/Headers/
Dopencl-c.h14550 int __ovld atomic_dec(volatile __global int *p);
14551 unsigned int __ovld atomic_dec(volatile __global unsigned int *p);
14552 int __ovld atomic_dec(volatile __local int *p);
14553 unsigned int __ovld atomic_dec(volatile __local unsigned int *p);