HomeSort by relevance Sort by last modified time
    Searched refs:__sync_fetch_and_add (Results 1 - 25 of 72) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/
lockosthread.c 12 __sync_fetch_and_add(&threadExited, 1);
  /prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/
lockosthread.c 12 __sync_fetch_and_add(&threadExited, 1);
  /external/clang/test/CodeGenCXX/
atomic.cpp 13 __sync_fetch_and_add(_refcount, 1);
  /external/compiler-rt/test/tsan/
fork_deadlock.cc 11 __sync_fetch_and_add(&counter, 1);
26 __sync_fetch_and_add(&counter, 1);
  /bionic/libc/arch-arm/bionic/
atomics_arm.c 86 return __sync_fetch_and_add (ptr, 1);
  /prebuilts/go/darwin-x86/src/runtime/race/testdata/
cgo_test_main.go 12 __sync_fetch_and_add(&sync, 1);
17 while(__sync_fetch_and_add(&sync, 0) == 0) {}
  /prebuilts/go/linux-x86/src/runtime/race/testdata/
cgo_test_main.go 12 __sync_fetch_and_add(&sync, 1);
17 while(__sync_fetch_and_add(&sync, 0) == 0) {}
  /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/webrtc/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/clang/test/CodeGen/
2008-03-05-syncPtr.c 16 return __sync_fetch_and_add (a, b);
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
74 sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add
75 uc = __sync_fetch_and_add (&uc, 11); // CHECK: atomicrmw ad
    [all...]
x86_64-atomic-128.c 10 return __sync_fetch_and_add(addr, val);
atomic.c 13 old = __sync_fetch_and_add(&val, 1);
  /external/libcxxabi/src/
cxa_handlers.cpp 28 return __sync_fetch_and_add(&__cxa_unexpected_handler, (unexpected_handler)0);
52 return __sync_fetch_and_add(&__cxa_terminate_handler, (terminate_handler)0);
119 return __sync_fetch_and_add(&__cxa_new_handler, (new_handler)0);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/src/
cxa_handlers.cpp 28 return __sync_fetch_and_add(&__cxa_unexpected_handler, (unexpected_handler)0);
52 return __sync_fetch_and_add(&__cxa_terminate_handler, (terminate_handler)0);
119 return __sync_fetch_and_add(&__cxa_new_handler, (new_handler)0);
  /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);
  /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/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);
  /system/netd/bpfloader/
bpf_kern.h 92 __sync_fetch_and_add(&value->txPackets, 1);
93 __sync_fetch_and_add(&value->txBytes, skb->len);
95 __sync_fetch_and_add(&value->rxPackets, 1);
96 __sync_fetch_and_add(&value->rxBytes, skb->len);
  /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);

Completed in 2953 milliseconds

1 2 3