Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/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 …]
Dcall_once_test.cc30 absl::once_flag once;
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPassSupport.h41 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/mesa3d/src/c11/
Dthreads.h119 } once_flag; typedef
129 typedef pthread_once_t once_flag; typedef
162 void call_once(once_flag *, void (*)(void));
/third_party/protobuf/src/google/protobuf/stubs/
Donce.h43 using once_flag = std::once_flag; variable
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
Dsingleton_boost.h42 static boost::once_flag flag_;
46 template <class T> boost::once_flag Singleton<T>::flag_ = BOOST_ONCE_INIT;
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h15 typedef int once_flag; typedef
58 void call_once(once_flag *, void (*)(void));
/third_party/musl/include/
Dthreads.h15 typedef int once_flag; typedef
58 void call_once(once_flag *, void (*)(void));
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h15 typedef int once_flag; typedef
58 void call_once(once_flag *, void (*)(void));
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dsysinfo.cc341 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;
Dunscaledcycleclock.cc91 static once_flag init_timebase_frequency_once;
/third_party/musl/src/thread/
Dcall_once.c4 void call_once(once_flag *flag, void (*func)(void)) in call_once()
/third_party/mesa3d/src/util/
Du_perfetto.cc46 static once_flag perfetto_once_flag = ONCE_FLAG_INIT;
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_util.c71 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/protobuf/src/google/protobuf/
Dimplicit_weak_message.cc51 internal::once_flag implicit_weak_message_once_init_;
/third_party/mesa3d/src/mapi/
Dtable.c62 static once_flag flag = ONCE_FLAG_INIT; in noop_warn()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dcall_once.c31 static once_flag flag = ONCE_FLAG_INIT;
/third_party/vulkan-loader/fuchsia/
Ddlopen_fuchsia.c48 static once_flag svc_connect_once_flag = ONCE_FLAG_INIT;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DManagedStatic.cpp22 static llvm::once_flag mutex_init_flag;
/third_party/mesa3d/src/c11/impl/
Dthreads_win32.c72 static_assert(sizeof(once_flag) == sizeof(INIT_ONCE), "The size of once_flag must equal to INIT_ONC…
159 call_once(once_flag *flag, void (*func)(void)) in call_once()

1234