/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
H A D | call_once.h | 46 class once_flag; 49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag); 54 // For all invocations using a given `once_flag`, invokes a given `fn` exactly 56 // `once_flag` argument (that does not throw an exception) will run the 58 // `once_flag` argument will not run the function, but will wait 69 // mutable absl::once_flag once_; 77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args); 79 // once_flag 85 class once_flag { class 87 constexpr once_flag() function in absl::once_flag [all...] |
H A D | call_once_test.cc | 30 absl::once_flag once; 72 // Start 10 threads all calling call_once on the same once_flag. in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Threading.h | 88 typedef std::once_flag once_flag; typedef 94 /// The llvm::once_flag structure 96 /// This type is modeled after std::once_flag to use with llvm::call_once. 98 /// autoinitialization and behave like std::once_flag. 99 struct once_flag { struct 111 /// static once_flag flag; 118 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once()
|
/third_party/icu/icu4c/source/common/ |
H A D | umutex.cpp | 54 std::once_flag initFlag; 55 std::once_flag *pInitFlag = &initFlag; 65 // Reset the once_flag, by destructing it and creating a fresh one in its place. in umtx_cleanup() 67 pInitFlag->~once_flag(); in umtx_cleanup() 68 pInitFlag = new(&initFlag) std::once_flag(); in umtx_cleanup()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | umutex.cpp | 54 std::once_flag initFlag; 55 std::once_flag *pInitFlag = &initFlag; 65 // Reset the once_flag, by destructing it and creating a fresh one in its place. in umtx_cleanup() 67 pInitFlag->~once_flag(); in umtx_cleanup() 68 pInitFlag = new(&initFlag) std::once_flag(); in umtx_cleanup()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | umutex.cpp | 54 std::once_flag initFlag; 55 std::once_flag *pInitFlag = &initFlag; 65 // Reset the once_flag, by destructing it and creating a fresh one in its place. in umtx_cleanup() 67 pInitFlag->~once_flag(); in umtx_cleanup() 68 pInitFlag = new(&initFlag) std::once_flag(); in umtx_cleanup()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ |
H A D | PassSupport.h | 41 static llvm::once_flag Initialize##passName##PassFlag; \ 61 static llvm::once_flag Initialize##passName##PassFlag; \ 142 static llvm::once_flag Initialize##agName##AnalysisGroupFlag; \ 163 static llvm::once_flag Initialize##passName##PassFlag; \ 184 static llvm::once_flag Initialize##passName##PassFlag; \
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | once.h | 43 using once_flag = std::once_flag;
|
/third_party/mesa3d/src/c11/ |
H A D | threads.h | 119 } once_flag; typedef 129 typedef pthread_once_t once_flag; typedef 162 void call_once(once_flag *, void (*)(void));
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/ |
H A D | singleton_boost.h | 42 static boost::once_flag flag_; 46 template <class T> boost::once_flag Singleton<T>::flag_ = BOOST_ONCE_INIT;
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 15 typedef int once_flag; typedef 58 void call_once(once_flag *, void (*)(void));
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 15 typedef int once_flag; typedef 58 void call_once(once_flag *, void (*)(void));
|
/third_party/musl/include/ |
H A D | threads.h | 15 typedef int once_flag; typedef 58 void call_once(once_flag *, void (*)(void));
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | sysinfo.cc | 341 ABSL_CONST_INIT static once_flag init_num_cpus_once; 353 ABSL_CONST_INIT static once_flag init_nominal_cpu_frequency_once; 416 ABSL_CONST_INIT static once_flag tid_once;
|
H A D | unscaledcycleclock.cc | 91 static once_flag init_timebase_frequency_once;
|
/third_party/musl/src/thread/ |
H A D | call_once.c | 4 void call_once(once_flag *flag, void (*func)(void)) in call_once()
|
/third_party/mesa3d/src/util/ |
H A D | u_perfetto.cc | 46 static once_flag perfetto_once_flag = ONCE_FLAG_INIT;
|
/third_party/mesa3d/src/mapi/ |
H A D | table.c | 62 static once_flag flag = ONCE_FLAG_INIT; in noop_warn()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | implicit_weak_message.cc | 51 internal::once_flag implicit_weak_message_once_init_;
|
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_util.c | 71 static once_flag ac_init_llvm_target_once_flag = ONCE_FLAG_INIT; in ac_init_shared_llvm_once() 76 static once_flag ac_init_static_llvm_target_once_flag = ONCE_FLAG_INIT;
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | call_once.c | 31 static once_flag flag = ONCE_FLAG_INIT;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | ManagedStatic.cpp | 22 static llvm::once_flag mutex_init_flag;
|
/third_party/vulkan-loader/loader/ |
H A D | dlopen_fuchsia.c | 48 static once_flag svc_connect_once_flag = ONCE_FLAG_INIT;
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_common.c | 64 static once_flag once = ONCE_FLAG_INIT; in vn_env_init()
|