Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_flag.h28 struct atomic_flag { struct
73 _LIBCPP_HIDE_FROM_ABI constexpr atomic_flag() _NOEXCEPT : __a_(false) {} in atomic_flag() argument
75 atomic_flag() _NOEXCEPT = default;
78 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic_flag(bool __b) _NOEXCEPT : __a_(__b) {} // EXTENSION in atomic_flag() function
80 atomic_flag(const atomic_flag&) = delete;
81 atomic_flag& operator=(const atomic_flag&) = delete; argument
82 atomic_flag& operator=(const atomic_flag&) volatile = delete; argument
86 struct __atomic_waitable_traits<atomic_flag> {
87 …static _LIBCPP_HIDE_FROM_ABI _LIBCPP_ATOMIC_FLAG_TYPE __atomic_load(const atomic_flag& __a, memory…
92 __atomic_load(const volatile atomic_flag& __a, memory_order __order) {
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dstdatomic.h173 typedef struct atomic_flag { atomic_bool _Value; } atomic_flag; typedef
183 bool atomic_flag_test_and_set(volatile atomic_flag *);
184 bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
186 _Bool atomic_flag_test_and_set(volatile atomic_flag *);
187 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
189 void atomic_flag_clear(volatile atomic_flag *);
190 void atomic_flag_clear_explicit(volatile atomic_flag *, memory_order);
H A Dopencl-c.h14551 bool __ovld atomic_flag_test_and_set(volatile atomic_flag *);
14552 void __ovld atomic_flag_clear(volatile atomic_flag *);
14555 bool __ovld atomic_flag_test_and_set(volatile __global atomic_flag *);
14556 bool __ovld atomic_flag_test_and_set(volatile __local atomic_flag *);
14557 void __ovld atomic_flag_clear(volatile __global atomic_flag *);
14558 void __ovld atomic_flag_clear(volatile __local atomic_flag *);
14564 bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
14565 void __ovld atomic_flag_clear_explicit(volatile atomic_flag *, memory_order);
14568 bool __ovld atomic_flag_test_and_set_explicit(volatile __global atomic_flag *, memory_order);
14569 bool __ovld atomic_flag_test_and_set_explicit(volatile __local atomic_flag *, memory_order);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Datomic522 typedef struct atomic_flag
524 atomic_flag() noexcept = default; // until C++20
525 constexpr atomic_flag() noexcept; // since C++20
526 atomic_flag(const atomic_flag&) = delete;
527 atomic_flag& operator=(const atomic_flag&) = delete;
528 atomic_flag& operator=(const atomic_flag&) volatile = delete;
543 } atomic_flag;
545 bool atomic_flag_test(volatile atomic_flag* obj) noexcept;
546 bool atomic_flag_test(atomic_flag* obj) noexcept;
547 bool atomic_flag_test_explicit(volatile atomic_flag* obj,
[all …]
H A Dstdatomic.h40 using std::atomic_flag // see below
143 using std::atomic_flag _LIBCPP_USING_IF_EXISTS;
H A Dmodule.modulemap1041 header "__atomic/atomic_flag.h"
/freebsd/sys/sys/
H A Dstdatomic.h385 } atomic_flag; typedef
389 atomic_flag_test_and_set_explicit(volatile atomic_flag *__object, in atomic_flag_test_and_set_explicit()
396 atomic_flag_clear_explicit(volatile atomic_flag *__object, memory_order __order) in atomic_flag_clear_explicit()
404 atomic_flag_test_and_set(volatile atomic_flag *__object) in atomic_flag_test_and_set()
412 atomic_flag_clear(volatile atomic_flag *__object) in atomic_flag_clear()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Datomic_flag_clear.c21 void atomic_flag_clear(volatile atomic_flag *object) { in atomic_flag_clear()
H A Datomic_flag_test_and_set.c21 _Bool atomic_flag_test_and_set(volatile atomic_flag *object) { in atomic_flag_test_and_set()
H A Datomic_flag_clear_explicit.c21 void atomic_flag_clear_explicit(volatile atomic_flag *object, in atomic_flag_clear_explicit()
H A Datomic_flag_test_and_set_explicit.c21 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, in atomic_flag_test_and_set_explicit()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Datomic.cppm
H A Datomic.inc120 using std::atomic_flag _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.h555 std::atomic_flag m_dwo_warning_issued = ATOMIC_FLAG_INIT;
/freebsd/sys/contrib/zlib/
H A Dcrc32.c226 atomic_flag begun;
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp645 static std::atomic_flag g_interrupt_sent = ATOMIC_FLAG_INIT; in sigint_handler()
/freebsd/lib/libc++/
H A DMakefile491 ATM_HEADERS+= atomic_flag.h
H A Dlibcxx.imp208 { include: [ "<__atomic/atomic_flag.h>", "private", "<atomic>", "public" ] },
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DCSymbolMap.inc265 SYMBOL(atomic_flag, None, <stdatomic.h>)
H A DStdSymbolMap.inc708 SYMBOL(atomic_flag, std::, <atomic>)
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td423 def AtomicFlag : TypedefType<"atomic_flag">;