Home
last modified time | relevance | path

Searched refs:atomic_flag (Results 1 – 19 of 19) 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 = ATOMIC_FLAG_INIT; in main()
31 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
37 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
43 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
49 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
55 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
61 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
67 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
Datomic_flag_clear_explicit.pass.cpp25 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
31 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
37 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
43 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
49 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
55 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; 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_clear.pass.cpp25 std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
31 volatile std::atomic_flag f = ATOMIC_FLAG_INIT; in main()
Datomic_flag_test_and_set.pass.cpp25 std::atomic_flag f; in main()
31 volatile std::atomic_flag f; in main()
Ddefault.pass.cpp24 std::atomic_flag f; in main()
28 typedef std::atomic_flag A; in main()
Dinit.pass.cpp23 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);
/external/libcxx/include/
Datomic49 typedef struct atomic_flag
55 atomic_flag() noexcept = default;
56 atomic_flag(const atomic_flag&) = delete;
57 atomic_flag& operator=(const atomic_flag&) = delete;
58 atomic_flag& operator=(const atomic_flag&) volatile = delete;
59 } atomic_flag;
62 atomic_flag_test_and_set(volatile atomic_flag* obj) noexcept;
65 atomic_flag_test_and_set(atomic_flag* obj) noexcept;
68 atomic_flag_test_and_set_explicit(volatile atomic_flag* obj,
72 atomic_flag_test_and_set_explicit(atomic_flag* obj, memory_order m) noexcept;
[all …]
/external/compiler-rt/lib/builtins/
Datomic_flag_clear.c23 void atomic_flag_clear(volatile atomic_flag *object) { in atomic_flag_clear()
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_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/clang/test/Parser/
Dopencl-atomics-cl20.cl19 atomic_flag fl;
35 // expected-error@-16 {{use of undeclared identifier 'atomic_flag'}}
/external/clang/test/Sema/
Datomic-ops.c248 struct atomic_flag must_be_struct = ATOMIC_FLAG_INIT; in f()
250 atomic_flag guard = ATOMIC_FLAG_INIT; in f()
257 const atomic_flag const_guard; in f()