Home
last modified time | relevance | path

Searched refs:__atomic_load_n (Results 1 – 25 of 75) sorted by relevance

123

/external/compiler-rt/test/tsan/
Dstack_sync_reuse.cc25 while (__atomic_load_n(&syncp, __ATOMIC_ACQUIRE) == 0) in Thread()
39 while (__atomic_load_n(&syncp, __ATOMIC_RELAXED) != 0) in foobar()
52 sink = __atomic_load_n(&s, __ATOMIC_ACQUIRE); in barfoo()
Dsignal_sync2.cc26 if (!__atomic_load_n(&process_signals, __ATOMIC_RELAXED)) in handler()
38 while (!__atomic_load_n(&done, __ATOMIC_RELAXED)) { in thr()
63 while (__atomic_load_n(&ready[pos], __ATOMIC_ACQUIRE) == 0) { in main()
Datomic_norace.cc22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST); in Test()
27 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST); in Test()
Dbench_acquire_only.cc13 __atomic_load_n(&x, __ATOMIC_ACQUIRE); in thread()
/external/llvm-project/compiler-rt/test/tsan/
Dstack_sync_reuse.cpp25 while (__atomic_load_n(&syncp, __ATOMIC_ACQUIRE) == 0) in Thread()
39 while (__atomic_load_n(&syncp, __ATOMIC_RELAXED) != 0) in foobar()
52 sink = __atomic_load_n(&s, __ATOMIC_ACQUIRE); in barfoo()
Dsignal_sync2.cpp26 if (!__atomic_load_n(&process_signals, __ATOMIC_RELAXED)) in handler()
38 while (!__atomic_load_n(&done, __ATOMIC_RELAXED)) { in thr()
63 while (__atomic_load_n(&ready[pos], __ATOMIC_ACQUIRE) == 0) { in main()
Djava_finalizer2.cpp39 while (__atomic_load_n(&heap->ready, __ATOMIC_ACQUIRE) != 1) in Thread3()
41 while (__atomic_load_n(&heap->finalized, __ATOMIC_RELAXED) != 1) in Thread3()
72 while (__atomic_load_n(&heap->wg, __ATOMIC_ACQUIRE) != 2) in main()
Datomic_store.cpp17 if (__atomic_load_n(&Sync, __ATOMIC_RELAXED) != 1) in Thread2()
33 if (__atomic_load_n(&Sync, __ATOMIC_ACQUIRE) != 2) in main()
Datomic_norace.cpp22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST); in Test()
27 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST); in Test()
Dbench_acquire_only.cpp13 __atomic_load_n(&x, __ATOMIC_ACQUIRE); in thread()
Datomic_free3.cpp15 while (__atomic_load_n(a, __ATOMIC_RELAXED) == 0) in main()
/external/llvm-project/compiler-rt/test/dfsan/
Dthreaded_flush.c18 while (!__atomic_load_n(&ShutDownThread, __ATOMIC_ACQUIRE)) in accessGlobalInBackground()
28 while (!__atomic_load_n(&StartFlush, __ATOMIC_ACQUIRE)) in main()
/external/clang/test/Sema/
Datomic-ops.c110 int load_n_1 = __atomic_load_n(I, memory_order_relaxed); in f()
111 int *load_n_2 = __atomic_load_n(P, memory_order_relaxed); in f()
112 …float load_n_3 = __atomic_load_n(D, memory_order_relaxed); // expected-error {{must be a pointer t… in f()
113__atomic_load_n(s1, memory_order_relaxed); // expected-error {{must be a pointer to integer or poi… in f()
114 load_n_1 = __atomic_load_n(CI, memory_order_relaxed); in f()
365 (void)__atomic_load_n(p, memory_order_relaxed); in memory_checks()
366 (void)__atomic_load_n(p, memory_order_acquire); in memory_checks()
367 (void)__atomic_load_n(p, memory_order_consume); in memory_checks()
368 …(void)__atomic_load_n(p, memory_order_release); // expected-warning {{memory order argument to ato… in memory_checks()
369 …(void)__atomic_load_n(p, memory_order_acq_rel); // expected-warning {{memory order argument to ato… in memory_checks()
[all …]
/external/libvpx/libvpx/vpx_util/
Dvpx_atomics.h33 #if (__has_builtin(__atomic_load_n)) || \
94 return __atomic_load_n(&atomic->value, __ATOMIC_ACQUIRE); in vpx_atomic_load_acquire()
/external/webrtc/rtc_base/
Datomic_ops.h57 return __atomic_load_n(i, __ATOMIC_ACQUIRE);
68 return __atomic_load_n(ptr, __ATOMIC_ACQUIRE);
/external/llvm-project/clang/test/Sema/
Datomic-ops.c120 int load_n_1 = __atomic_load_n(I, memory_order_relaxed); in f()
121 int *load_n_2 = __atomic_load_n(P, memory_order_relaxed); in f()
122 …float load_n_3 = __atomic_load_n(D, memory_order_relaxed); // expected-error {{must be a pointer t… in f()
123__atomic_load_n(s1, memory_order_relaxed); // expected-error {{must be a pointer to integer or poi… in f()
124 load_n_1 = __atomic_load_n(CI, memory_order_relaxed); in f()
392 (void)__atomic_load_n(p, memory_order_relaxed); in memory_checks()
393 (void)__atomic_load_n(p, memory_order_acquire); in memory_checks()
394 (void)__atomic_load_n(p, memory_order_consume); in memory_checks()
395 …(void)__atomic_load_n(p, memory_order_release); // expected-warning {{memory order argument to ato… in memory_checks()
396 …(void)__atomic_load_n(p, memory_order_acq_rel); // expected-warning {{memory order argument to ato… in memory_checks()
[all …]
/external/harfbuzz_ng/src/
Dhb-atomic.hh62 #define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED)
63 #define hb_atomic_int_impl_get(AI) __atomic_load_n ((AI), __ATOMIC_ACQUIRE)
66 #define hb_atomic_ptr_impl_get_relaxed(P) __atomic_load_n ((P), __ATOMIC_RELAXED)
67 #define hb_atomic_ptr_impl_get(P) __atomic_load_n ((P), __ATOMIC_ACQUIRE)
/external/grpc-grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h50 #define gpr_atm_acq_load(p) (__atomic_load_n((p), __ATOMIC_ACQUIRE))
51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED))
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h50 #define gpr_atm_acq_load(p) (__atomic_load_n((p), __ATOMIC_ACQUIRE))
51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED))
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Datm_gcc_atomic.h50 #define gpr_atm_acq_load(p) (__atomic_load_n((p), __ATOMIC_ACQUIRE))
51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED))
/external/llvm-project/libcxx/src/include/
Datomic_support.h15 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
74 return __atomic_load_n(__val, __order);
/external/arm-trusted-firmware/drivers/scmi-msg/
Dsmt.c125 smt_status = __atomic_load_n(&smt_hdr->status, __ATOMIC_RELAXED); in scmi_proccess_smt()
132 in_payload_size = __atomic_load_n(&smt_hdr->length, __ATOMIC_RELAXED) - in scmi_proccess_smt()
/external/libcxxabi/src/include/
Datomic_support.h20 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
79 return __atomic_load_n(__val, __order);
/external/libcxx/src/include/
Datomic_support.h16 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
75 return __atomic_load_n(__val, __order);
/external/llvm-project/libcxxabi/src/include/
Datomic_support.h19 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
78 return __atomic_load_n(__val, __order);

123