/external/llvm-project/clang/test/Analysis/ |
D | call_once.cpp | 35 } 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/ |
D | call_once.h | 46 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/ |
D | call_once.h | 46 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/ |
D | call_once.h | 46 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/ |
D | call_once.h | 46 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/ |
D | call_once.h | 46 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/ |
D | call_once.h | 46 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/ |
D | call_once.pass.cpp | 27 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/ |
D | Threading.h | 61 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/ |
D | Threading.h | 61 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/ |
D | call_once.pass.cpp | 27 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/ |
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); 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/ |
D | mutex | 175 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/ |
D | HostInfoBase.cpp | 50 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/ |
D | synthesized_body.cpp | 5 } 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/ |
D | Threading.h | 88 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/ |
D | mutex.cpp | 203 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/ |
D | Threading.h | 89 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/ |
D | platform_client_posix.h | 107 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/ |
D | umutex.cpp | 54 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/ |
D | copy.fail.cpp | 20 std::once_flag f; in main() 21 std::once_flag f2(f); in main()
|
D | assign.fail.cpp | 20 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/ |
D | copy.compile.fail.cpp | 19 std::once_flag f; in main() 20 std::once_flag f2(f); in main()
|
D | assign.compile.fail.cpp | 19 std::once_flag f; in main() 20 std::once_flag f2; in main()
|
D | default.pass.cpp | 21 std::once_flag f; in main() 26 constexpr std::once_flag f; in main()
|