| /freebsd-12.1/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-12.1/sys/sys/ |
| H A D | _pthreadtypes.h | 52 struct pthread_once; 76 typedef struct pthread_once pthread_once_t; 95 struct pthread_once { struct
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-posix.h | 82 __gthrw3(pthread_once) 92 __gthrw(pthread_once) 184 if (__gthrw_(pthread_once)) in __gthread_active_p() 189 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); in __gthread_active_p() 578 return __gthrw_(pthread_once) (once, func); in __gthread_once()
|
| H A D | gthr-posix95.h | 68 __gthrw(pthread_once) 150 if (__gthrw_(pthread_once)) in __gthread_active_p() 155 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); in __gthread_active_p() 544 return __gthrw_(pthread_once) (once, func); in __gthread_once()
|
| H A D | gthr-tpf.h | 81 __gthrw(pthread_once) 106 return __gthrw_(pthread_once) (once, func); in __gthread_once()
|
| H A D | gthr-dce.h | 68 __gthrw(pthread_once) 436 return __gthrw_(pthread_once) (once, func); in __gthread_once()
|
| H A D | gthr-posix.c | 37 pthread_once (pthread_once_t *once ATTRIBUTE_UNUSED, in pthread_once() function
|
| /freebsd-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_fdr_logging.cc | 148 pthread_once( in fdrCommonHeaderInfo() 210 pthread_once( in fdrIterator() 426 pthread_once( in getTimestamp() 570 pthread_once( in fdrLoggingHandleCustomEvent() 600 pthread_once( in fdrLoggingHandleTypedEvent() 682 pthread_once( in fdrLoggingInit()
|
| H A D | xray_basic_logging.cc | 94 pthread_once(&DetectOnce, +[] { in getLog() 121 pthread_once(&OnceInit, +[] { LW = getLog(); }); in getGlobalLog() 385 pthread_once(&OnceInit, +[] { in basicLoggingInit() 505 pthread_once(&DynamicOnce, +[] { in basicLogDynamicInitializer()
|
| /freebsd-12.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 118 if (pthread_once(once, init) != 0) in CRYPTO_THREAD_run_once() 197 if (pthread_once(&fork_once_control, fork_once_func) == 0) in openssl_init_fork_handlers()
|
| /freebsd-12.1/lib/libstdthreads/ |
| H A D | call_once.c | 42 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
|
| /freebsd-12.1/contrib/ntp/lib/isc/pthreads/include/isc/ |
| H A D | once.h | 47 ((pthread_once((op), (f)) == 0) ? \
|
| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_tsd_exclusive.cpp | 57 CHECK_EQ(pthread_once(&GlobalInitialized, initOnce), 0); in initThread()
|
| H A D | scudo_tsd_shared.cpp | 62 pthread_once(&GlobalInitialized, initOnce); in initThread()
|
| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_once.c | 38 __weak_reference(_thr_once, pthread_once);
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cc | 59 pthread_once(&key_once, make_tls_key); in get_tls_val()
|
| /freebsd-12.1/contrib/jemalloc/include/jemalloc/ |
| H A D | jemalloc_FreeBSD.h | 146 #define pthread_once _pthread_once macro
|
| /freebsd-12.1/contrib/libcxxrt/ |
| H A D | exception.cc | 41 #pragma weak pthread_once macro 397 if ((0 == pthread_once) || pthread_once(&once_control, init_key)) in thread_info()
|
| /freebsd-12.1/lib/libthr/ |
| H A D | pthread.map | 88 pthread_once;
|
| /freebsd-12.1/include/ |
| H A D | pthread.h | 248 int pthread_once(pthread_once_t *, void (*) (void));
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_wrappers.cc | 192 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
|
| /freebsd-12.1/lib/libc/include/ |
| H A D | namespace.h | 172 #define pthread_once _pthread_once macro
|
| H A D | un-namespace.h | 153 #undef pthread_once
|
| /freebsd-12.1/contrib/apr/threadproc/unix/ |
| H A D | thread.c | 316 return pthread_once(&control->once, func);
|
| /freebsd-12.1/contrib/compiler-rt/lib/builtins/ |
| H A D | emutls.c | 118 pthread_once(&once, emutls_init); in emutls_init_once()
|