/prebuilts/ndk/r11/platforms/android-9/arch-x86/usr/include/sys/ |
atomics.h | 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue7978.go | 16 // on Darwin/ARM, libSystem doesn't provide implementation of the __sync_fetch_and_add 32 while(__sync_fetch_and_add(sync, 0) != 0) 34 __sync_fetch_and_add(sync, 1); 35 while(__sync_fetch_and_add(sync, 0) != 2) 38 __sync_fetch_and_add(sync, 1); 39 while(__sync_fetch_and_add(sync, 0) != 6) 115 t.Skip("clang required for __sync_fetch_and_add support on darwin/arm")
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue7978.go | 16 // on Darwin/ARM, libSystem doesn't provide implementation of the __sync_fetch_and_add 32 while(__sync_fetch_and_add(sync, 0) != 0) 34 __sync_fetch_and_add(sync, 1); 35 while(__sync_fetch_and_add(sync, 0) != 2) 38 __sync_fetch_and_add(sync, 1); 39 while(__sync_fetch_and_add(sync, 0) != 6) 115 t.Skip("clang required for __sync_fetch_and_add support on darwin/arm")
|
/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);
|
/external/valgrind/coregrind/m_scheduler/ |
ticket-lock-linux.c | 120 ticket = __sync_fetch_and_add(&p->tail, 1); 167 wakeup_ticket = __sync_fetch_and_add(&p->head, 1) + 1; 170 futex_value = __sync_fetch_and_add(futex, 1);
|
/prebuilts/ndk/r10/sources/cxx-stl/llvm-libc++/gabi++/include/ |
gabixx_config.h | 83 __sync_fetch_and_add((address), (__typeof__(*(address)))0)
|
/prebuilts/ndk/r11/sources/cxx-stl/gabi++/include/ |
gabixx_config.h | 83 __sync_fetch_and_add((address), (__typeof__(*(address)))0)
|
/prebuilts/ndk/r13/sources/cxx-stl/gabi++/include/ |
gabixx_config.h | 83 __sync_fetch_and_add((address), (__typeof__(*(address)))0)
|
/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(
|
/external/clang/test/CodeGen/ |
atomic.c | 13 old = __sync_fetch_and_add(&val, 1);
|
/external/compiler-rt/lib/stats/ |
stats_client.cc | 77 uptr old_data = __sync_fetch_and_add(&s->data, 1);
|
/external/valgrind/drd/tests/ |
annotate_sem.c | 56 __sync_fetch_and_add(&p->value, 1);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/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 | 171 return __sync_fetch_and_add(&__new_handler, nullptr);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/ |
exception.cpp | 54 return __sync_fetch_and_add(&__unexpected_handler, (unexpected_handler)0); 75 return __sync_fetch_and_add(&__terminate_handler, (terminate_handler)0);
|
new.cpp | 180 return __sync_fetch_and_add(&__new_handler, nullptr);
|
/external/fio/t/ |
read-to-pipe-async.c | 215 __sync_fetch_and_add(&s->plat[lat_index], 1); 216 __sync_fetch_and_add(&s->nr_samples, 1); 235 __sync_fetch_and_add(&thread->done, 1); 341 __sync_fetch_and_add(&rt->write_seq, 1); 368 __sync_fetch_and_add(&rt->busy, 1); 475 __sync_fetch_and_add(&thread->exit, 1);
|
/external/compiler-rt/lib/profile/ |
InstrProfilingPort.h | 77 (DomType *)__sync_fetch_and_add((long *)&PtrVar, sizeof(DomType) * PtrIncr)
|
/external/libdrm/ |
xf86atomic.h | 51 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
locks.h | 198 unsigned int prev_count = __sync_fetch_and_add(&c->count, 1);
|
/frameworks/rs/driver/runtime/ |
rs_core.c | 53 return __sync_fetch_and_add(ptr, 1); 57 return __sync_fetch_and_add(ptr, 1); 69 return __sync_fetch_and_add(ptr, value); 73 return __sync_fetch_and_add(ptr, value);
|
/frameworks/rs/ |
rsObjectBase.cpp | 87 __sync_fetch_and_add(&mUserRefCount, 1); 94 __sync_fetch_and_add(&mSysRefCount, 1);
|
/external/mesa3d/src/amd/vulkan/ |
radv_pipeline_cache.c | 181 __sync_fetch_and_add(&entry->variant->ref_count, 1); 270 __sync_fetch_and_add(&variant->ref_count, 1); 290 __sync_fetch_and_add(&variant->ref_count, 1);
|
/external/harfbuzz_ng/src/ |
hb-atomic-private.hh | 103 #define hb_atomic_int_impl_add(AI, V) __sync_fetch_and_add (&(AI), (V))
|