/ndk/tests/build/issue41297-atomic-64bit/jni/ |
issue41297-atomic-64bit.c | 5 __sync_fetch_and_add(&K, 1);
|
/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/skia/src/ports/ |
SkAtomics_sync.h | 16 return __sync_fetch_and_add(addr, 1); 20 return __sync_fetch_and_add(addr, inc); 24 return __sync_fetch_and_add(addr, -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);
|
/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/qemu/include/qemu/ |
atomic.h | 186 #define atomic_fetch_inc(ptr) __sync_fetch_and_add(ptr, 1) 187 #define atomic_fetch_dec(ptr) __sync_fetch_and_add(ptr, -1) 188 #define atomic_fetch_add __sync_fetch_and_add 195 #define atomic_inc(ptr) ((void) __sync_fetch_and_add(ptr, 1)) 196 #define atomic_dec(ptr) ((void) __sync_fetch_and_add(ptr, -1)) 197 #define atomic_add(ptr, n) ((void) __sync_fetch_and_add(ptr, n))
|
/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/webrtc/src/system_wrappers/source/ |
atomic32_posix.cc | 32 return __sync_fetch_and_add(&_value, 1) + 1; 42 WebRtc_Word32 returnValue = __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);
|
/ndk/sources/cxx-stl/llvm-libc++abi/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);
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/sys/ |
atomics.h | 57 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|