Home
last modified time | relevance | path

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

/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_volatile_assign.fail.cpp21 std::atomic_flag f0; in main()
22 volatile std::atomic_flag f; in main()
Dcopy_assign.fail.cpp21 std::atomic_flag f0; in main()
22 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; argument
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);
Dopencl-c.h15066 bool __ovld atomic_flag_test_and_set(volatile atomic_flag *object);
15067 bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order);
15068 bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order, mem…
15069 void __ovld atomic_flag_clear(volatile atomic_flag *object);
15070 void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order);
15071 void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_sco…
/external/libcxx/test/libcxx/atomics/atomics.flag/
Dinit_bool.pass.cpp24 std::atomic_flag f(false); in main()
28 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_test_and_set_explicit.c23 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, in atomic_flag_test_and_set_explicit()
Datomic_flag_clear_explicit.c23 void atomic_flag_clear_explicit(volatile atomic_flag *object, in atomic_flag_clear_explicit()
/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/libmojo/mojo/edk/system/
DBUILD.gn18 "atomic_flag.h",