/freebsd-current/lib/libstdthreads/ |
H A D | call_once.c | 35 call_once(once_flag *flag, void (*func)(void)) 41 _Static_assert(sizeof(once_flag) == sizeof(pthread_once_t), 42 "once_flag must be of the same size as pthread_once_t");
|
H A D | threads.h | 38 * <pthread.h>. To prevent namespace pollution, the once_flag object, 51 } once_flag; typedef in typeref:struct:__anon396 77 void call_once(once_flag *, void (*)(void));
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | call_once.cpp | 9 #include <__mutex/once_flag.h> 31 void __call_once(volatile once_flag::_State_type& flag, void* arg, void (*func)(void*)) { 34 if (flag == once_flag::_Unset) { 35 auto guard = std::__make_exception_guard([&flag] { flag = once_flag::_Unset; }); 36 flag = once_flag::_Pending; 38 flag = once_flag::_Complete; 45 while (flag == once_flag::_Pending) 47 if (flag == once_flag::_Unset) { 50 __libcpp_relaxed_store(&flag, once_flag::_Unset); 55 __libcpp_relaxed_store(&flag, once_flag [all...] |
/freebsd-current/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | once_flag.h | 33 struct _LIBCPP_TEMPLATE_VIS once_flag; variable in typeref:struct:_LIBCPP_TEMPLATE_VIS 38 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&&, _Args&&...); 43 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&); 46 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, const _Callable&); 50 struct _LIBCPP_TEMPLATE_VIS once_flag { struct 51 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR once_flag() _NOEXCEPT : __state_(_Unset) {} 52 once_flag(const once_flag&) = delete; 53 once_flag& operator=(const once_flag [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
H A D | ProcessPOSIXLog.cpp | 32 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemoteLog.cpp | 43 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Threading.h | 57 typedef std::once_flag once_flag; typedef in namespace:llvm 63 /// The llvm::once_flag structure 65 /// This type is modeled after std::once_flag to use with llvm::call_once. 67 /// autoinitialization and behave like std::once_flag. 68 struct once_flag { struct in namespace:llvm 80 /// static once_flag flag; 87 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) {
|
/freebsd-current/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_onc [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/ |
H A D | ScriptInterpreterNone.cpp | 45 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | mutex.inc | 41 using std::once_flag;
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ |
H A D | PassSupport.h | 46 static llvm::once_flag Initialize##passName##PassFlag; \ 66 static llvm::once_flag Initialize##passName##PassFlag; \ 161 static llvm::once_flag Initialize##agName##AnalysisGroupFlag; \ 182 static llvm::once_flag Initialize##passName##PassFlag; \ 203 static llvm::once_flag Initialize##passName##PassFlag; \
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFContext.h | 28 llvm::once_flag flag;
|
H A D | DWARFDebugInfo.h | 66 llvm::once_flag m_units_once_flag;
|
H A D | SymbolFileDWARF.h | 504 llvm::once_flag m_dwp_symfile_once_flag; 509 llvm::once_flag m_info_once_flag;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/ |
H A D | RegisterTypeBuilderClang.cpp | 22 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Debugger.h | 519 /// If a pointer is passed to a std::once_flag, then it will be used to 524 std::once_flag *once = nullptr); 541 /// If a pointer is passed to a std::once_flag, then it will be used to 546 std::once_flag *once = nullptr); 561 /// If a pointer is passed to a std::once_flag, then it will be used to 566 std::once_flag *once = nullptr); 633 std::once_flag *once); 727 llvm::once_flag m_clear_once;
|
H A D | Module.h | 1060 std::once_flag m_optimization_warning; 1061 std::once_flag m_language_warning;
|
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | DataFileCache.cpp | 24 static llvm::once_flag once_flag; local 26 llvm::call_once(once_flag, []() {
|
/freebsd-current/contrib/llvm-project/lldb/source/Target/ |
H A D | ProcessTrace.cpp | 97 static llvm::once_flag g_once_flag;
|
H A D | Language.cpp | 32 static llvm::once_flag g_initialize; 43 static llvm::once_flag g_initialize; 103 static llvm::once_flag g_initialize;
|
/freebsd-current/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-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangHost.cpp | 161 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/ |
H A D | SymbolLocatorDebuginfod.cpp | 109 static llvm::once_flag g_once_flag;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCRuntimeV2.h | 473 std::once_flag m_no_classes_cached_warning; 474 std::once_flag m_no_expanded_cache_warning;
|
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | ConstString.cpp | 196 static llvm::once_flag g_pool_initialization_flag;
|