Home
last modified time | relevance | path

Searched refs:once_flag (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/llvm-project/clang/test/Analysis/
Dcall_once.cpp35 } once_flag; typedef
39 } once_flag; typedef
44 void call_once(once_flag &o, Callable&& func, Args&&... args) {}; in call_once()
47 void call_once(once_flag &o, Callable func, Args&&... args) {}; in call_once()
54 std::once_flag g_initialize; in test_called_warning()
67 std::once_flag g_initialize; in test_called_on_path_inside_no_warning()
85 std::once_flag g_initialize; in test_called_on_path_no_warning()
102 std::once_flag g_initialize; in test_called_on_path_warning()
117 std::once_flag g_initialize; in test_called_once_warning()
136 std::once_flag g_initialize; in test_called_once_no_warning()
[all …]
/external/abseil-cpp/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/angle/third_party/abseil-cpp/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
188 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/openscreen/third_party/abseil/src/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dcall_once.h46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
[all …]
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp27 std::once_flag flg0;
42 std::once_flag flg3;
80 std::once_flag flg1;
96 std::once_flag flg2;
106 std::once_flag flg41;
107 std::once_flag flg42;
238 std::once_flag f; in main()
243 std::once_flag f; in main()
249 std::once_flag f1, f2; in main()
/external/llvm/include/llvm/Support/
DThreading.h61 typedef std::once_flag once_flag; typedef
65 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag
70 typedef volatile sys::cas_flag once_flag; typedef
74 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag = Uninitialized
91 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DThreading.h61 typedef std::once_flag once_flag; typedef
65 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag
70 typedef volatile sys::cas_flag once_flag; typedef
74 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag = Uninitialized
91 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp27 std::once_flag flg0;
42 std::once_flag flg3;
80 std::once_flag flg1;
96 std::once_flag flg2;
106 std::once_flag flg41;
107 std::once_flag flg42;
238 std::once_flag f; in main()
243 std::once_flag f; in main()
249 std::once_flag f1, f2; in main()
/external/llvm-project/libcxx/include/
Dmutex174 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);
553 struct _LIBCPP_TEMPLATE_VIS once_flag;
559 void call_once(once_flag&, _Callable&&, _Args&&...);
565 void call_once(once_flag&, _Callable&);
569 void call_once(once_flag&, const _Callable&);
573 struct _LIBCPP_TEMPLATE_VIS once_flag
[all …]
/external/libcxx/include/
Dmutex175 struct once_flag
177 constexpr once_flag() noexcept;
179 once_flag(const once_flag&) = delete;
180 once_flag& operator=(const once_flag&) = delete;
184 void call_once(once_flag& flag, Callable&& func, Args&&... args);
553 struct _LIBCPP_TEMPLATE_VIS once_flag;
559 void call_once(once_flag&, _Callable&&, _Args&&...);
565 void call_once(once_flag&, _Callable&);
569 void call_once(once_flag&, const _Callable&);
573 struct _LIBCPP_TEMPLATE_VIS once_flag
[all …]
/external/llvm-project/lldb/source/Host/common/
DHostInfoBase.cpp50 llvm::once_flag m_host_triple_once;
53 llvm::once_flag m_host_arch_once;
57 llvm::once_flag m_lldb_so_dir_once;
59 llvm::once_flag m_lldb_support_exe_dir_once;
61 llvm::once_flag m_lldb_headers_dir_once;
63 llvm::once_flag m_lldb_clang_resource_dir_once;
65 llvm::once_flag m_lldb_system_plugin_dir_once;
67 llvm::once_flag m_lldb_user_plugin_dir_once;
69 llvm::once_flag m_lldb_process_tmp_dir_once;
71 llvm::once_flag m_lldb_global_tmp_dir_once;
/external/llvm-project/clang/test/Analysis/html_diagnostics/relevant_lines/
Dsynthesized_body.cpp5 } once_flag; typedef
8 void call_once(once_flag &o, Callable&& func, Args&&... args);
16 static std::once_flag once; in call_deref_once()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DThreading.h88 typedef std::once_flag once_flag; typedef
99 struct once_flag { struct
118 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
/external/llvm-project/libcxx/src/
Dmutex.cpp203 void __call_once(volatile once_flag::_State_type& flag, void* arg, in __call_once()
215 flag = ~once_flag::_State_type(0); in __call_once()
235 __libcpp_relaxed_store(&flag, once_flag::_State_type(1)); in __call_once()
239 __libcpp_atomic_store(&flag, ~once_flag::_State_type(0), in __call_once()
248 __libcpp_relaxed_store(&flag, once_flag::_State_type(0)); in __call_once()
/external/llvm-project/llvm/include/llvm/Support/
DThreading.h89 typedef std::once_flag once_flag; typedef
100 struct once_flag { struct
119 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
/external/openscreen/platform/impl/
Dplatform_client_posix.h107 std::once_flag waiter_initialization_;
108 std::once_flag udp_socket_reader_initialization_;
109 std::once_flag tls_data_router_initialization_;
/external/icu/icu4c/source/common/
Dumutex.cpp54 std::once_flag initFlag;
55 std::once_flag *pInitFlag = &initFlag;
67 pInitFlag->~once_flag(); in umtx_cleanup()
68 pInitFlag = new(&initFlag) std::once_flag(); in umtx_cleanup()
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/
Dcopy.fail.cpp20 std::once_flag f; in main()
21 std::once_flag f2(f); in main()
Dassign.fail.cpp20 std::once_flag f; in main()
21 std::once_flag f2; in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/
Dcopy.compile.fail.cpp19 std::once_flag f; in main()
20 std::once_flag f2(f); in main()
Dassign.compile.fail.cpp19 std::once_flag f; in main()
20 std::once_flag f2; in main()
Ddefault.pass.cpp21 std::once_flag f; in main()
26 constexpr std::once_flag f; in main()

12345678910