| /freebsd/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_once.c | 69 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY() 70 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY() 89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc)); in once2_threadfunc() 142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc)); in once3_threadfunc() 183 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY()
|
| /freebsd/sys/sys/ |
| H A D | _pthreadtypes.h | 50 struct pthread_once; 74 typedef struct pthread_once pthread_once_t; 93 struct pthread_once { struct
|
| /freebsd/crypto/krb5/src/util/support/ |
| H A D | threads.c | 115 # pragma weak pthread_once macro 147 || &pthread_once == 0 in krb5int_pthread_loaded() 161 || pthread_once(&loaded_test_once, loaded_test_aux) != 0 in krb5int_pthread_loaded() 162 || pthread_once(&loaded_test_once, loaded_test_aux) != 0 in krb5int_pthread_loaded() 560 return pthread_once(&once->o, fn); in k5_once()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_fdr_logging.cpp | 143 pthread_once( in fdrCommonHeaderInfo() 206 pthread_once( in fdrIterator() 421 pthread_once( in getTimestamp() 565 pthread_once( in fdrLoggingHandleCustomEvent() 595 pthread_once( in fdrLoggingHandleTypedEvent() 678 pthread_once( in fdrLoggingInit()
|
| H A D | xray_basic_logging.cpp | 93 pthread_once(&DetectOnce, +[] { in getLog() 120 pthread_once(&OnceInit, +[] { LW = getLog(); }); in getGlobalLog() 384 pthread_once(&OnceInit, +[] { in basicLoggingInit() 504 pthread_once(&DynamicOnce, +[] { in basicLogDynamicInitializer()
|
| /freebsd/lib/libstdthreads/ |
| H A D | call_once.c | 38 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
|
| /freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/ |
| H A D | once.h | 47 ((pthread_once((op), (f)) == 0) ? \
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_once.c | 35 __weak_reference(_thr_once, pthread_once);
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
| H A D | rtsan_context.cpp | 35 pthread_once(&key_once, make_thread_local_context_key); in GetContextForThisThreadImpl()
|
| /freebsd/crypto/openssl/util/platform_symbols/ |
| H A D | unix-symbols.txt | 106 pthread_once
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | mevent.c | 298 pthread_once(&mevent_once, mevent_init); in mevent_add_state() 511 pthread_once(&mevent_once, mevent_init); in mevent_dispatch()
|
| /freebsd/contrib/llvm-project/libcxx/include/__thread/support/ |
| H A D | pthread.h | 141 return pthread_once(__flag, __init_routine); in __libcpp_execute_once()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cpp | 75 pthread_once(&key_once, make_tls_key); in get_tls_val()
|
| /freebsd/crypto/krb5/src/include/ |
| H A D | k5-thread.h | 269 # define k5_once pthread_once
|
| /freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/ |
| H A D | jemalloc_FreeBSD.h | 156 #define pthread_once _pthread_once 150 #define pthread_once _pthread_once global() macro
|
| /freebsd/lib/libthr/ |
| H A D | pthread.map | 87 pthread_once;
|
| /freebsd/contrib/libcxxrt/ |
| H A D | exception.cc | 42 #pragma weak pthread_once macro 477 if ((0 == pthread_once) || pthread_once(&once_control, init_key)) in thread_info()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_wrappers.cpp | 185 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
|
| /freebsd/include/ |
| H A D | pthread.h | 249 int pthread_once(pthread_once_t *, void (*) (void));
|
| /freebsd/lib/libc/include/ |
| H A D | namespace.h | 171 #define pthread_once _pthread_once macro
|
| H A D | un-namespace.h | 152 #undef pthread_once
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | os_version_check.c | 317 pthread_once(&once, readSystemProperties); in __isOSVersionAtLeast()
|
| H A D | emutls.c | 125 pthread_once(&once, emutls_init); in emutls_init_once()
|
| /freebsd/lib/nss_tacplus/ |
| H A D | nss_tacplus.c | 69 if ((ret = pthread_once(&keyinit, tacplus_keyinit)) != 0) in tacplus_get_handle()
|
| /freebsd/contrib/xz/src/common/ |
| H A D | mythread.h | 156 pthread_once(&once_, &func); \
|