Home
last modified time | relevance | path

Searched refs:__atomic_store_n (Results 1 – 25 of 74) sorted by relevance

123

/external/compiler-rt/test/tsan/
Dstack_sync_reuse.cc28 __atomic_store_n(syncp, 1, __ATOMIC_RELEASE); in Thread()
29 __atomic_store_n(&syncp, 0, __ATOMIC_RELAXED); in Thread()
37 __atomic_store_n(&s, 0, __ATOMIC_RELAXED); in foobar()
38 __atomic_store_n(&syncp, &s, __ATOMIC_RELEASE); in foobar()
50 __atomic_store_n(&addr, &s, __ATOMIC_RELAXED); in barfoo()
51 __atomic_store_n(&s, 0, __ATOMIC_RELAXED); in barfoo()
Dsignal_sync2.cc32 __atomic_store_n(&ready[pos], 1, __ATOMIC_RELEASE); in handler()
37 __atomic_store_n(&process_signals, 1, __ATOMIC_RELAXED); in thr()
70 __atomic_store_n(&done, 1, __ATOMIC_RELAXED); in main()
Dbench_release_only.cc15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE); in thread()
21 __atomic_store_n(&x[i * kStride], 0, __ATOMIC_RELEASE); in bench()
Djava_volatile.cc28 __atomic_store_n((int*)lockaddr, 1, __ATOMIC_RELAXED); in main()
34 __atomic_store_n((int*)lockaddr, 1, __ATOMIC_RELAXED); in main()
Dbench_acquire_only.cc17 __atomic_store_n(&x, 0, __ATOMIC_RELEASE); in bench()
/external/llvm-project/compiler-rt/test/tsan/
Dstack_sync_reuse.cpp28 __atomic_store_n(syncp, 1, __ATOMIC_RELEASE); in Thread()
29 __atomic_store_n(&syncp, 0, __ATOMIC_RELAXED); in Thread()
37 __atomic_store_n(&s, 0, __ATOMIC_RELAXED); in foobar()
38 __atomic_store_n(&syncp, &s, __ATOMIC_RELEASE); in foobar()
50 __atomic_store_n(&addr, &s, __ATOMIC_RELAXED); in barfoo()
51 __atomic_store_n(&s, 0, __ATOMIC_RELAXED); in barfoo()
Dsignal_sync2.cpp32 __atomic_store_n(&ready[pos], 1, __ATOMIC_RELEASE); in handler()
37 __atomic_store_n(&process_signals, 1, __ATOMIC_RELAXED); in thr()
70 __atomic_store_n(&done, 1, __ATOMIC_RELAXED); in main()
Dbench_release_only.cpp15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE); in thread()
21 __atomic_store_n(&x[i * kStride], 0, __ATOMIC_RELEASE); in bench()
Datomic_store.cpp9 __atomic_store_n(&Sync, 1, __ATOMIC_RELEASE); in Thread1()
21 __atomic_store_n(&Sync, 2, __ATOMIC_RELEASE); in Thread2()
Djava_volatile.cpp28 __atomic_store_n((int*)lockaddr, 1, __ATOMIC_RELAXED); in main()
34 __atomic_store_n((int*)lockaddr, 1, __ATOMIC_RELAXED); in main()
Djava_finalizer2.cpp24 __atomic_store_n(&heap->finalized, 1, __ATOMIC_RELAXED); in Thread1()
32 __atomic_store_n(&heap->ready, 1, __ATOMIC_RELEASE); in Thread2()
Dbench_acquire_only.cpp17 __atomic_store_n(&x, 0, __ATOMIC_RELEASE); in bench()
/external/llvm-project/clang/test/Sema/
Datomic-ops.c142 __atomic_store_n(I, 4, memory_order_release); in f()
143 __atomic_store_n(I, 4.0, memory_order_release); in f()
144__atomic_store_n(CI, 4, memory_order_release); // expected-error {{address argument to atomic oper… in f()
145 __atomic_store_n(I, P, memory_order_release); // expected-warning {{parameter of type 'int'}} in f()
146__atomic_store_n(i, 1, memory_order_release); // expected-error {{must be a pointer to integer or … in f()
147__atomic_store_n(s1, *s2, memory_order_release); // expected-error {{must be a pointer to integer … in f()
148__atomic_store_n(I, I, memory_order_release); // expected-warning {{incompatible pointer to intege… in f()
413 (void)__atomic_store_n(p, val, memory_order_relaxed); in memory_checks()
414 …(void)__atomic_store_n(p, val, memory_order_acquire); // expected-warning {{memory order argument … in memory_checks()
415 …(void)__atomic_store_n(p, val, memory_order_consume); // expected-warning {{memory order argument … in memory_checks()
[all …]
/external/clang/test/Sema/
Datomic-ops.c132 __atomic_store_n(I, 4, memory_order_release); in f()
133 __atomic_store_n(I, 4.0, memory_order_release); in f()
134__atomic_store_n(CI, 4, memory_order_release); // expected-error {{address argument to atomic oper… in f()
135 __atomic_store_n(I, P, memory_order_release); // expected-warning {{parameter of type 'int'}} in f()
136__atomic_store_n(i, 1, memory_order_release); // expected-error {{must be a pointer to integer or … in f()
137__atomic_store_n(s1, *s2, memory_order_release); // expected-error {{must be a pointer to integer … in f()
138__atomic_store_n(I, I, memory_order_release); // expected-warning {{incompatible pointer to intege… in f()
386 (void)__atomic_store_n(p, val, memory_order_relaxed); in memory_checks()
387 …(void)__atomic_store_n(p, val, memory_order_acquire); // expected-warning {{memory order argument … in memory_checks()
388 …(void)__atomic_store_n(p, val, memory_order_consume); // expected-warning {{memory order argument … in memory_checks()
[all …]
/external/llvm-project/compiler-rt/test/dfsan/
Dthreaded_flush.c16 __atomic_store_n(&StartFlush, 1, __ATOMIC_RELEASE); in accessGlobalInBackground()
33 __atomic_store_n(&ShutDownThread, 1, __ATOMIC_RELEASE); in main()
/external/llvm-project/libcxx/src/include/
Datomic_support.h16 && __has_builtin(__atomic_store_n) \
59 __atomic_store_n(__dest, __val, __order);
66 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store()
/external/libcxxabi/src/include/
Datomic_support.h21 && __has_builtin(__atomic_store_n) \
64 __atomic_store_n(__dest, __val, __order);
71 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store()
/external/libcxx/src/include/
Datomic_support.h17 && __has_builtin(__atomic_store_n) \
60 __atomic_store_n(__dest, __val, __order);
67 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store()
/external/llvm-project/libcxxabi/src/include/
Datomic_support.h20 && __has_builtin(__atomic_store_n) \
63 __atomic_store_n(__dest, __val, __order);
70 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store()
/external/grpc-grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h53 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELEASE))
55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED))
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h53 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELEASE))
55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED))
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Datm_gcc_atomic.h53 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELEASE))
55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED))
/external/llvm-project/clang/test/SemaCXX/
Datomic-ops.cpp8__atomic_store_n(helper, 0, 0); // expected-error{{reference to overloaded function could not be r… in PR28623()
/external/llvm-project/clang/test/AST/
Datomic-expr.cpp13 __atomic_store_n(arr, 0, 5); in pr43370()
/external/harfbuzz_ng/src/
Dhb-atomic.hh60 #define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED)
61 #define hb_atomic_int_impl_set(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELEASE)
65 #define hb_atomic_ptr_impl_set_relaxed(P, V) __atomic_store_n ((P), (V), __ATOMIC_RELAXED)

123