Home
last modified time | relevance | path

Searched refs:call_once (Results 1 – 25 of 130) sorted by relevance

123456

/third_party/boost/libs/thread/doc/
Donce.qbk16 inline void call_once(once_flag& flag, Function&& f, ArgTypes&&... args);
19 void call_once(void (*func)(),once_flag& flag);
29 `boost::call_once` provides a mechanism for ensuring that an initialization routine is run exactly …
51 [section:call_once Non-member function `call_once`]
54 inline void call_once(once_flag& flag, Function&& f, ArgTypes&&... args);
60 [[Effects:] [Calls to `call_once` on the same `once_flag` object are serialized. If there has been …
62call_once` is effective if and only if `invoke(decay_copy(boost::forward<Function>(f)), decay_copy…
65 [[Synchronization:] [The completion of an effective `call_once` invocation on a `once_flag` object,…
66 all subsequent `call_once` invocations on the same `once_flag` object. ]]
70 [[Note:] [The function passed to `call_once` must not also call
[all …]
/third_party/boost/libs/thread/test/sync/mutual_exclusion/once/call_once/
Dcall_once_pass.cpp50 boost::call_once(flg0, init0); in f0()
71 boost::call_once(flg3, init3); in f3()
93 boost::call_once(flg1, init1(), 1); in f1()
112 boost::call_once(flg1_member, &init1_member::call, o, i); in f1_member_l()
117 boost::call_once(flg1_member, &init1_member::call, o, 1); in f1_member_r()
134 boost::call_once(flg2, init2(), 2, 3); in f2()
135 boost::call_once(flg2, init2(), 4, 5); in f2()
160 boost::call_once(flg41, init41); in f41()
161 boost::call_once(flg42, init42); in f41()
166 boost::call_once(flg42, init42); in f42()
[all …]
/third_party/boost/boost/thread/pthread/
Donce.hpp48 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp…
51 inline void call_once(once_flag& flag, Function f);
53 inline void call_once(once_flag& flag, Function f, T1 p1);
55 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2);
57 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3);
71 …friend void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp…
74 friend void call_once(once_flag& flag, Function f);
76 friend void call_once(once_flag& flag, Function f, T1 p1);
78 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2);
80 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3);
[all …]
Donce_atomic.hpp121 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp… in call_once() function
143 inline void call_once(once_flag& flag, Function f) in call_once() function
162 inline void call_once(once_flag& flag, Function f, T1 p1) in call_once() function
181 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2) in call_once() function
200 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3) in call_once() function
219 inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f) in call_once() function
238 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1) in call_once() function
259 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1… in call_once() function
281 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1… in call_once() function
/third_party/boost/libs/context/src/posix/
Dstack_traits.cpp59 boost::call_once( flag, pagesize_, & size); in pagesize()
62 std::call_once( flag, pagesize_, & size); in pagesize()
71 boost::call_once( flag, stacksize_limit_, & limit); in stacksize_limit()
74 std::call_once( flag, stacksize_limit_, & limit); in stacksize_limit()
/third_party/gettext/gettext-runtime/intl/
Dlock.c43 call_once (&lock->init_once, lock->init_func); in glthread_lock_lock()
53 call_once (&lock->init_once, lock->init_func); in glthread_lock_unlock()
63 call_once (&lock->init_once, lock->init_func); in glthread_lock_destroy()
87 call_once (&lock->init_once, lock->init_func); in glthread_rwlock_rdlock()
114 call_once (&lock->init_once, lock->init_func); in glthread_rwlock_wrlock()
141 call_once (&lock->init_once, lock->init_func); in glthread_rwlock_unlock()
196 call_once (&lock->init_once, lock->init_func); in glthread_rwlock_destroy()
218 call_once (&lock->init_once, lock->init_func); in glthread_recursive_lock_lock()
228 call_once (&lock->init_once, lock->init_func); in glthread_recursive_lock_unlock()
238 call_once (&lock->init_once, lock->init_func); in glthread_recursive_lock_destroy()
/third_party/boost/boost/thread/win32/
Donce.hpp229 inline void call_once(once_flag& flag, void (*f)()) in call_once() function
273 inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f) in call_once() function
316 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(A) a, … in call_once() function
365 void call_once(once_flag& flag,Function f) in call_once() function
408 void call_once(once_flag& flag,Function f, T1 p1) in call_once() function
451 void call_once(once_flag& flag,Function f, T1 p1, T2 p2) in call_once() function
494 void call_once(once_flag& flag,Function f, T1 p1, T2 p2, T3 p3) in call_once() function
539 void call_once(once_flag& flag,Function const&f) in call_once() function
582 void call_once(once_flag& flag,Function const&f, T1 const&p1) in call_once() function
625 void call_once(once_flag& flag,Function const&f, T1 const&p1, T2 const&p2) in call_once() function
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Donce.h45 void call_once(Args&&... args ) { in call_once() function
46 std::call_once(std::forward<Args>(args)...); in call_once()
/third_party/boost/boost/thread/
Donce.hpp41 inline void call_once(Function func,once_flag& flag) in call_once() function
44 call_once(flag,func); in call_once()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
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/boost/libs/thread/test/
Dtest_once.cpp36 boost::call_once(flag, &initialize_variable); in call_once_thread()
95 boost::call_once(functor_flag, increment_value(&var_to_init_with_functor)); in call_once_with_functor()
158 boost::call_once(functor_flag, throw_before_third_pass()); in call_once_with_exception()
/third_party/boost/libs/context/src/windows/
Dstack_traits.cpp59 boost::call_once( flag, static_cast< void(*)( SYSTEM_INFO *) >( system_info_), & si); in system_info()
62 std::call_once( flag, static_cast< void(*)( SYSTEM_INFO *) >( system_info_), & si); in system_info()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DThreading.h91 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/boost/libs/coroutine/src/posix/
Dstack_traits.cpp56 boost::call_once( flag, pagesize_, & size); in pagesize()
64 boost::call_once( flag, stacksize_limit_, & limit); in stacksize_limit()
/third_party/python/Lib/test/test_zoneinfo/
D_support.py13 def call_once(f): function
26 @call_once
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dthread_identity.cc78 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/abseil-cpp/absl/base/internal/
Dthread_identity.cc75 absl::call_once(init_thread_identity_key_once, AllocateThreadIdentityKey, in SetCurrentThreadIdentity()
102 absl::call_once(init_thread_identity_key_once, AllocateThreadIdentityKey, in SetCurrentThreadIdentity()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DThreading.h118 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/flutter/engine/flutter/fml/
Dicu_util.cc103 std::call_once(g_icu_init_flag, in InitializeICU()
114 std::call_once(g_icu_init_flag, [mapping = std::move(mapping)]() mutable { in InitializeICUFromMapping()
/third_party/icu/icu4c/source/common/
Dumutex.cpp83 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/
Dumutex.cpp83 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/
Dumutex.cpp83 std::call_once(*pInitFlag, umtx_init); in getMutex()
146 std::call_once(*pInitFlag, umtx_init); in umtx_initImplPreInit()
/third_party/musl/src/thread/
Dcall_once.c4 void call_once(once_flag *flag, void (*func)(void)) in call_once() function
/third_party/mesa3d/src/util/
Du_perfetto.cc44 call_once(&perfetto_once_flag, util_perfetto_init_once); in util_perfetto_init()
/third_party/abseil-cpp/absl/base/
Dcall_once.h77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
213 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args) { in call_once() function

123456