Home
last modified time | relevance | path

Searched refs:atomic_flag (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/test/std/atomics/atomics.flag/
Dtest_and_set.pass.cpp25 std::atomic_flag f; in main()
31 std::atomic_flag f; in main()
37 std::atomic_flag f; in main()
43 std::atomic_flag f; in main()
49 std::atomic_flag f; in main()
55 std::atomic_flag f; in main()
61 std::atomic_flag f; in main()
67 volatile std::atomic_flag f; in main()
73 volatile std::atomic_flag f; in main()
79 volatile std::atomic_flag f; in main()
[all …]
Datomic_flag_test_and_set_explicit.pass.cpp25 std::atomic_flag f; in main()
31 std::atomic_flag f; in main()
37 std::atomic_flag f; in main()
43 std::atomic_flag f; in main()
49 std::atomic_flag f; in main()
55 std::atomic_flag f; in main()
61 volatile std::atomic_flag f; in main()
67 volatile std::atomic_flag f; in main()
73 volatile std::atomic_flag f; in main()
79 volatile std::atomic_flag f; in main()
[all …]
Dclear.pass.cpp25 std::atomic_flag f; // uninitialized in main()
32 std::atomic_flag f; in main()
39 std::atomic_flag f; in main()
46 std::atomic_flag f; in main()
53 volatile std::atomic_flag f; in main()
60 volatile std::atomic_flag f; in main()
67 volatile std::atomic_flag f; in main()
74 volatile std::atomic_flag f; in main()
Datomic_flag_clear_explicit.pass.cpp25 std::atomic_flag f; // uninitialized first in main()
32 std::atomic_flag f; in main()
39 std::atomic_flag f; in main()
46 volatile std::atomic_flag f; in main()
53 volatile std::atomic_flag f; in main()
60 volatile std::atomic_flag f; in main()
Dcopy_ctor.fail.cpp21 std::atomic_flag f0; in main()
22 std::atomic_flag f(f0); in main()
Dcopy_assign.fail.cpp21 std::atomic_flag f0; in main()
22 std::atomic_flag f; in main()
Dcopy_volatile_assign.fail.cpp21 std::atomic_flag f0; in main()
22 volatile std::atomic_flag f; in main()
Datomic_flag_test_and_set.pass.cpp25 std::atomic_flag f; in main()
31 volatile std::atomic_flag f; in main()
Datomic_flag_clear.pass.cpp25 std::atomic_flag f; in main()
32 volatile std::atomic_flag f; in main()
Ddefault.pass.cpp26 std::atomic_flag f; in main()
30 typedef std::atomic_flag A; in main()
Dinit.pass.cpp24 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
/external/clang/lib/Headers/
Dstdatomic.h163 typedef struct atomic_flag { atomic_bool _Value; } atomic_flag; struct
169 bool atomic_flag_test_and_set(volatile atomic_flag *);
170 bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
172 _Bool atomic_flag_test_and_set(volatile atomic_flag *);
173 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
175 void atomic_flag_clear(volatile atomic_flag *);
176 void atomic_flag_clear_explicit(volatile atomic_flag *, memory_order);
/external/libcxx/test/libcxx/atomics/atomics.flag/
Dinit_bool.pass.cpp25 extern std::atomic_flag global;
28 std::atomic_flag global = ATOMIC_FLAG_INIT;
37 std::atomic_flag f(false); in main()
41 std::atomic_flag f(true); in main()
/external/libcxx/include/
Datomic53 typedef struct atomic_flag
59 atomic_flag() noexcept = default;
60 atomic_flag(const atomic_flag&) = delete;
61 atomic_flag& operator=(const atomic_flag&) = delete;
62 atomic_flag& operator=(const atomic_flag&) volatile = delete;
63 } atomic_flag;
66 atomic_flag_test_and_set(volatile atomic_flag* obj) noexcept;
69 atomic_flag_test_and_set(atomic_flag* obj) noexcept;
72 atomic_flag_test_and_set_explicit(volatile atomic_flag* obj,
76 atomic_flag_test_and_set_explicit(atomic_flag* obj, memory_order m) noexcept;
[all …]
/external/compiler-rt/lib/builtins/
Datomic_flag_test_and_set.c23 _Bool atomic_flag_test_and_set(volatile atomic_flag *object) { in atomic_flag_test_and_set()
Datomic_flag_clear.c23 void atomic_flag_clear(volatile atomic_flag *object) { in atomic_flag_clear()
Datomic_flag_clear_explicit.c23 void atomic_flag_clear_explicit(volatile atomic_flag *object, in atomic_flag_clear_explicit()
Datomic_flag_test_and_set_explicit.c23 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, in atomic_flag_test_and_set_explicit()
/external/v8/src/trap-handler/
Dhandler-shared.cc54 std::atomic_flag MetadataLock::spinlock_ = ATOMIC_FLAG_INIT;
Dtrap-handler-internal.h32 static std::atomic_flag spinlock_;
/external/clang/test/Parser/
Dopencl-atomics-cl20.cl22 atomic_flag fl;
38 // expected-error@-16 {{use of undeclared identifier 'atomic_flag'}}
/external/clang/test/Sema/
Datomic-ops.c257 struct atomic_flag must_be_struct = ATOMIC_FLAG_INIT; in f()
259 atomic_flag guard = ATOMIC_FLAG_INIT; in f()
266 const atomic_flag const_guard; in f()
/external/tensorflow/tensorflow/contrib/mpi_collectives/kernels/
Dmpi_ops.cc191 std::atomic_flag initialized_flag = ATOMIC_FLAG_INIT;
247 std::atomic_flag stream_created_flag = ATOMIC_FLAG_INIT;
/external/libchrome/mojo/core/
DBUILD.gn65 "atomic_flag.h",
/external/tensorflow/tensorflow/contrib/mpi_collectives/
Dmpi_ops.cc192 std::atomic_flag initialized_flag = ATOMIC_FLAG_INIT;
248 std::atomic_flag stream_created_flag = ATOMIC_FLAG_INIT;

12