/external/lldb/include/lldb/Utility/ |
RefCounter.h | 42 return __sync_fetch_and_add(t, 1); 49 return __sync_fetch_and_add(t, -1);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkAtomics_sync.h | 16 return __sync_fetch_and_add(addr, 1); 27 return __sync_fetch_and_add(addr, 1); 32 return __sync_fetch_and_add(addr, inc); 36 return __sync_fetch_and_add(addr, -1);
|
/external/clang/test/CodeGenCXX/ |
atomic.cpp | 13 __sync_fetch_and_add(_refcount, 1);
|
/external/compiler-rt/test/tsan/ |
fork_deadlock.cc | 14 __sync_fetch_and_add(&counter, 1); 36 __sync_fetch_and_add(&counter, 1);
|
/bionic/libc/arch-arm/bionic/ |
atomics_arm.c | 86 return __sync_fetch_and_add (ptr, 1);
|
/external/clang/test/CodeGen/ |
Atomics.c | 16 (void) __sync_fetch_and_add (&sc, 1); // CHECK: atomicrmw add i8 17 (void) __sync_fetch_and_add (&uc, 1); // CHECK: atomicrmw add i8 18 (void) __sync_fetch_and_add (&ss, 1); // CHECK: atomicrmw add i16 19 (void) __sync_fetch_and_add (&us, 1); // CHECK: atomicrmw add i16 20 (void) __sync_fetch_and_add (&si, 1); // CHECK: atomicrmw add i32 21 (void) __sync_fetch_and_add (&ui, 1); // CHECK: atomicrmw add i32 22 (void) __sync_fetch_and_add (&sll, 1); // CHECK: atomicrmw add i64 23 (void) __sync_fetch_and_add (&ull, 1); // CHECK: atomicrmw add i64 65 sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add 66 uc = __sync_fetch_and_add (&uc, 11); // CHECK: atomicrmw ad [all...] |
2008-03-05-syncPtr.c | 16 return __sync_fetch_and_add (a, b);
|
x86_64-atomic-128.c | 10 return __sync_fetch_and_add(addr, val);
|
atomic.c | 13 old = __sync_fetch_and_add(&val, 1);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_test.cc | 43 __sync_fetch_and_add(&callback_argument->counter, 1); 59 int counter_at_init = __sync_fetch_and_add(&callback_argument->counter, 0); 62 if (__sync_fetch_and_add(&callback_argument->counter, 0) != 114 uptr this_thread_index = __sync_fetch_and_add( 126 __sync_fetch_and_add(&callback_argument->thread_index, 132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); 150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j], 155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) != 175 while (__sync_fetch_and_add(&argument.thread_index, 0) < kStopWorldAfter) 182 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
atomic32_posix.cc | 30 return __sync_fetch_and_add(&value_, 1) + 1; 38 int32_t return_value = __sync_fetch_and_add(&value_, value);
|
/external/libcxxabi/src/ |
cxa_handlers.cpp | 29 return __sync_fetch_and_add(&__cxa_unexpected_handler, (unexpected_handler)0); 54 return __sync_fetch_and_add(&__cxa_terminate_handler, (terminate_handler)0); 120 return __sync_fetch_and_add(&__cxa_new_handler, (new_handler)0);
|
/external/clang/test/Sema/ |
builtins.c | 41 old = __sync_fetch_and_add(); // expected-error {{too few arguments to function call}} 42 old = __sync_fetch_and_add(&old); // expected-error {{too few arguments to function call}} 43 old = __sync_fetch_and_add((unsigned*)0, 42i); // expected-warning {{imaginary constants are a GNU extension}} 50 if (__sync_fetch_and_add(&old, 1) == 1) { 59 __sync_fetch_and_add(ptr, val); 63 __sync_fetch_and_add(ptr, val); 64 __sync_fetch_and_add(ptr, val);
|
/bionic/libc/private/ |
bionic_atomic_gcc_builtin.h | 47 return __sync_fetch_and_add(ptr, -1);
|
/development/ndk/platforms/android-3/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_atomic_clang.h | 51 return __sync_fetch_and_add(&a->val_dont_use, v); 59 return __sync_fetch_and_add(&a->val_dont_use, -v);
|
sanitizer_atomic_clang_other.h | 56 v = __sync_fetch_and_add(
|
/bionic/libc/bionic/ |
pthread_rwlock.cpp | 156 // sequentially consistent. (currently enforced by __sync_fetch_and_add which creates a full barrier) 157 __sync_fetch_and_add(&rwlock->pending_readers, 1); // C++11 memory_order_relaxed (if the futex_wait ensures the ordering) 189 // sequentially consistent. (currently enforced by __sync_fetch_and_add which creates a full barrier) 190 __sync_fetch_and_add(&rwlock->pending_writers, 1); // C++11 memory_order_relaxed (if the futex_wait ensures the ordering)
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
user_atomic.h | 94 #define atomic_add_int(P, V) (void) __sync_fetch_and_add(P, V) 103 #define atomic_fetchadd_int(p, v) __sync_fetch_and_add(p, v)
|
/external/libcxx/src/ |
exception.cpp | 58 return __sync_fetch_and_add(&__unexpected_handler, (unexpected_handler)0); 79 return __sync_fetch_and_add(&__terminate_handler, (terminate_handler)0);
|
new.cpp | 170 return __sync_fetch_and_add(&__new_handler, nullptr);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-atomic-private.hh | 95 #define hb_atomic_int_add(AI, V) __sync_fetch_and_add (&(AI), (V))
|
/external/harfbuzz_ng/src/ |
hb-atomic-private.hh | 95 #define hb_atomic_int_add(AI, V) __sync_fetch_and_add (&(AI), (V))
|
/development/ndk/sources/android/libportable/arch-mips/ |
filefd.c | 309 __sync_fetch_and_add(&filefd_mapped_files, 1); 360 __sync_fetch_and_add(&filefd_mapped_files, 1);
|
/external/libunwind/include/ |
libunwind_i.h | 157 # define fetch_and_add1(_ptr) __sync_fetch_and_add(_ptr, 1) 158 # define fetch_and_add(_ptr, value) __sync_fetch_and_add(_ptr, value)
|