| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__mutex/ |
| H A D | once_flag.h | 30 struct _LIBCPP_TEMPLATE_VIS once_flag; variable 33 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&); 36 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, const _Callable&); 38 struct _LIBCPP_TEMPLATE_VIS once_flag { struct 39 _LIBCPP_HIDE_FROM_ABI once_flag() _NOEXCEPT : __state_(_Unset) {} in once_flag() function 40 once_flag(const once_flag&) = delete; 41 once_flag& operator=(const once_flag&) = delete; argument 57 friend void call_once(once_flag&, _Callable&); argument 60 friend void call_once(once_flag&, const _Callable&); 79 _LIBCPP_EXPORTED_FROM_ABI void __call_once(volatile once_flag::_State_type&, void*, void (*)(void*)… [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
| H A D | once_flag.h | 34 struct once_flag; 39 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&&, _Args&&...); 44 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&); 47 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, const _Callable&); 51 struct once_flag { struct 52 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR once_flag() _NOEXCEPT : __state_(_Unset) {} in once_flag() function 53 once_flag(const once_flag&) = delete; 54 once_flag& operator=(const once_flag&) = delete; argument 71 friend void call_once(once_flag&, _Callable&&, _Args&&...); argument 74 friend void call_once(once_flag&, _Callable&); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | call_once.cpp | 32 void __call_once(volatile once_flag::_State_type& flag, void* arg, void (*func)(void*)) { in __call_once() 35 if (flag == once_flag::_Unset) { in __call_once() 36 auto guard = std::__make_exception_guard([&flag] { flag = once_flag::_Unset; }); in __call_once() 37 flag = once_flag::_Pending; in __call_once() 39 flag = once_flag::_Complete; in __call_once() 46 while (flag == once_flag::_Pending) in __call_once() 48 if (flag == once_flag::_Unset) { in __call_once() 51 __libcpp_relaxed_store(&flag, once_flag::_Unset); in __call_once() 56 __libcpp_relaxed_store(&flag, once_flag::_Pending); in __call_once() 60 __libcpp_atomic_store(&flag, once_flag::_Complete, _AO_Release); in __call_once()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | LLDBAssert.h | 24 static std::once_flag _once_flag; \ 31 static std::once_flag _once_flag; \ 44 std::once_flag &once_flag);
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | HostInfoBase.cpp | 47 llvm::once_flag m_host_triple_once; 50 llvm::once_flag m_host_arch_once; 54 llvm::once_flag m_lldb_so_dir_once; 56 llvm::once_flag m_lldb_support_exe_dir_once; 58 llvm::once_flag m_lldb_headers_dir_once; 60 llvm::once_flag m_lldb_clang_resource_dir_once; 62 llvm::once_flag m_lldb_system_plugin_dir_once; 64 llvm::once_flag m_lldb_user_plugin_dir_once; 66 llvm::once_flag m_lldb_process_tmp_dir_once; 68 llvm::once_flag m_lldb_global_tmp_dir_once;
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | LLDBAssert.cpp | 38 std::once_flag &once_flag) { in _lldb_assert() argument 42 std::call_once(once_flag, [&]() { in _lldb_assert()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Threading.h | 56 typedef std::once_flag once_flag; typedef 67 struct once_flag { struct 86 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
|
| /freebsd/lib/libstdthreads/ |
| H A D | call_once.c | 35 call_once(once_flag *flag, void (*func)(void)) in call_once() 41 _Static_assert(sizeof(once_flag) == sizeof(pthread_once_t),
|
| H A D | threads.h | 51 } once_flag; typedef 77 void call_once(once_flag *, void (*)(void));
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | mutex | 174 struct once_flag 176 constexpr once_flag() noexcept; 178 once_flag(const once_flag&) = delete; 179 once_flag& operator=(const once_flag&) = delete; 183 void call_once(once_flag& flag, Callable&& func, Args&&... args); 196 #include <__cxx03/__mutex/once_flag.h>
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | mutex | 174 struct once_flag 176 constexpr once_flag() noexcept; 178 once_flag(const once_flag&) = delete; 179 once_flag& operator=(const once_flag&) = delete; 183 void call_once(once_flag& flag, Callable&& func, Args&&... args); 198 # include <__mutex/once_flag.h>
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/ |
| H A D | vdso.h | 54 static CallOnceFlag once_flag; 62 callonce(&once_flag, Symbol::initialize_vdso_global_cache); in get()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfo.h | 63 llvm::once_flag m_units_once_flag; 72 llvm::once_flag m_dwarf4_dwo_id_to_skeleton_unit_once_flag;
|
| H A D | DWARFContext.h | 28 llvm::once_flag flag;
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | Debugger.h | 529 std::once_flag *once = nullptr); 551 std::once_flag *once = nullptr); 571 std::once_flag *once = nullptr); 663 std::once_flag *once); 767 llvm::once_flag m_clear_once;
|
| H A D | SourceManager.h | 77 std::once_flag &GetChecksumWarningOnceFlag() { in GetChecksumWarningOnceFlag() 95 std::once_flag m_checksum_warning_once_flag;
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | DataFileCache.cpp | 24 static llvm::once_flag once_flag; in GetLLDBIndexCachePolicy() local 26 llvm::call_once(once_flag, []() { in GetLLDBIndexCachePolicy()
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-types/ |
| H A D | once_flag.h | 15 typedef __futex_word once_flag; typedef
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
| H A D | ProcessPOSIXLog.cpp | 32 static llvm::once_flag g_once_flag; in Initialize()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemoteLog.cpp | 43 static llvm::once_flag g_once_flag; in Initialize()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 142 llvm::once_flag m_parse_functions_and_non_local_vars; 143 llvm::once_flag m_parse_all_types;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/ |
| H A D | ScriptInterpreterNone.cpp | 45 static llvm::once_flag g_once_flag; in Initialize()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | Language.cpp | 63 static llvm::once_flag g_initialize; in GetLanguagesMap() 74 static llvm::once_flag g_initialize; in GetLanguagesMutex() 134 static llvm::once_flag g_initialize; in ForEach()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | mutex.cppm | |
| H A D | mutex.inc | 41 using std::once_flag;
|