Home
last modified time | relevance | path

Searched refs:call_once (Results 1 - 25 of 73) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_callonce_test.cpp29 call_once(&onceCall, CallThrdSleep); in HWTEST_F()
30 call_once(&onceCall, CallThrdSleep); in HWTEST_F()
32 std::thread([&onceCall] { call_once(&onceCall, CallThrdSleep); }).join(); in HWTEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
H A DPassSupport.h43 llvm::call_once(Initialize##passName##PassFlag, \
63 llvm::call_once(Initialize##passName##PassFlag, \
144 llvm::call_once(Initialize##agName##AnalysisGroupFlag, \
165 llvm::call_once(Initialize##passName##PassFlag, \
186 llvm::call_once(Initialize##passName##PassFlag, \
/third_party/protobuf/src/google/protobuf/stubs/
H A Donce.h45 void call_once(Args&&... args ) { in call_once() function
46 std::call_once(std::forward<Args>(args)...); in call_once()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DThreading.h23 // std::call_once from libc++ is used on all Unix platforms. Other
64 /// call_once.
73 /// call_once.
85 /// call_once(flag, foo);
91 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once() function
93 std::call_once(flag, std::forward<Function>(F), in call_once()
/third_party/rust/crates/rust-openssl/openssl-sys/src/
H A Dlib.rs121 INIT.call_once(|| unsafe { in init()
175 INIT.call_once(|| unsafe { in init()
205 INIT.call_once(|| {}); in assume_init()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DThreading.h25 // MSVC's call_once implementation worked since VS 2015, which is the minimum
32 // std::call_once from libc++ is used on all Unix platforms. Other
96 /// This type is modeled after std::once_flag to use with llvm::call_once.
112 /// call_once(flag, foo);
118 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once() function
120 std::call_once(flag, std::forward<Function>(F), in call_once()
/third_party/python/Lib/test/test_zoneinfo/
H A D_support.py13 def call_once(f): function
26 @call_once
32 `call_once` decorator to ensure that this is only ever called exactly
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dthread_identity.cc27 #include "absl/base/call_once.h"
78 absl::call_once(init_thread_identity_key_once, AllocateThreadIdentityKey, in SetCurrentThreadIdentity()
105 absl::call_once(init_thread_identity_key_once, AllocateThreadIdentityKey, in SetCurrentThreadIdentity()
/third_party/icu/icu4c/source/common/
H A Dumutex.cpp66 // Do not use this trick anywhere else in ICU; use umtx_initOnce, not std::call_once(). in umtx_cleanup()
83 std::call_once(*pInitFlag, umtx_init); in getMutex()
146 std::call_once(*pInitFlag, umtx_init); in umtx_initImplPreInit()
/third_party/node/deps/icu-small/source/common/
H A Dumutex.cpp66 // Do not use this trick anywhere else in ICU; use umtx_initOnce, not std::call_once(). in umtx_cleanup()
83 std::call_once(*pInitFlag, umtx_init); in getMutex()
146 std::call_once(*pInitFlag, umtx_init); in umtx_initImplPreInit()
/third_party/skia/third_party/externals/icu/source/common/
H A Dumutex.cpp66 // Do not use this trick anywhere else in ICU; use umtx_initOnce, not std::call_once(). in umtx_cleanup()
83 std::call_once(*pInitFlag, umtx_init); in getMutex()
146 std::call_once(*pInitFlag, umtx_init); in umtx_initImplPreInit()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dcall_once.h16 // File: call_once.h
19 // This header file provides an Abseil version of `std::call_once` for invoking
52 // call_once()
55 // once across all threads. The first call to `call_once()` with a particular
72 // absl::call_once(once_, &MyInitClass::Init, this);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
81 // Objects of this type are used to distinguish calls to `call_once()` and
103 // Like call_once, but uses KERNEL_ONLY scheduling. Intended to be used to
129 // Bit patterns for call_once state machine values. Internal implementation
206 void call_once(abs function
[all...]
/third_party/musl/src/thread/
H A Dcall_once.c4 void call_once(once_flag *flag, void (*func)(void)) in call_once() function
/third_party/mesa3d/src/util/
H A Du_perfetto.cc51 call_once(&perfetto_once_flag, util_perfetto_init_once); in util_perfetto_init()
/third_party/mesa3d/src/mapi/
H A Dtable.c63 call_once(&flag, check_debug_env); in noop_warn()
/third_party/protobuf/src/google/protobuf/
H A Dimplicit_weak_message.cc58 internal::call_once(implicit_weak_message_once_init_, in default_instance()
/third_party/rust/crates/proc-macro2/src/
H A Ddetection.rs14 INIT.call_once(initialize);
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_util.c72 call_once(&ac_init_llvm_target_once_flag, ac_init_llvm_target); in ac_init_shared_llvm_once()
79 call_once(&ac_init_static_llvm_target_once_flag, ac_init_llvm_target); in ac_init_static_llvm_once()
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
H A Dsingleton_boost.h32 boost::call_once(Init, flag_); in GetInstance()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DManagedStatic.cpp34 llvm::call_once(mutex_init_flag, initializeMutex);
/third_party/musl/porting/uniproton/kernel/include/
H A Dthreads.h58 void call_once(once_flag *, void (*)(void));
/third_party/musl/porting/liteos_m/kernel/include/
H A Dthreads.h58 void call_once(once_flag *, void (*)(void));
/third_party/musl/include/
H A Dthreads.h58 void call_once(once_flag *, void (*)(void));
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dcall_once.c24 FILE *fp = fopen("call_once.txt", "a+"); in do_once()
27 FILE *fp2 = fopen("call_once.txt", "r"); in do_once()
34 call_once(&flag, do_once); in func()
59 remove("call_once.txt"); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DManagedStatic.cpp31 llvm::call_once(mutex_init_flag, initializeMutex);

Completed in 7 milliseconds

123