Home
last modified time | relevance | path

Searched refs:pthread_once (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_once.c69 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.h52 struct pthread_once;
76 typedef struct pthread_once pthread_once_t;
95 struct pthread_once { struct
/freebsd-12.1/contrib/gcc/
H A Dgthr-posix.h82 __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 Dgthr-posix95.h68 __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 Dgthr-tpf.h81 __gthrw(pthread_once)
106 return __gthrw_(pthread_once) (once, func); in __gthread_once()
H A Dgthr-dce.h68 __gthrw(pthread_once)
436 return __gthrw_(pthread_once) (once, func); in __gthread_once()
H A Dgthr-posix.c37 pthread_once (pthread_once_t *once ATTRIBUTE_UNUSED, in pthread_once() function
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_fdr_logging.cc148 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 Dxray_basic_logging.cc94 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 Dthreads_pthread.c118 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 Dcall_once.c42 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
/freebsd-12.1/contrib/ntp/lib/isc/pthreads/include/isc/
H A Donce.h47 ((pthread_once((op), (f)) == 0) ? \
/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_tsd_exclusive.cpp57 CHECK_EQ(pthread_once(&GlobalInitialized, initOnce), 0); in initThread()
H A Dscudo_tsd_shared.cpp62 pthread_once(&GlobalInitialized, initOnce); in initThread()
/freebsd-12.1/lib/libthr/thread/
H A Dthr_once.c38 __weak_reference(_thr_once, pthread_once);
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cc59 pthread_once(&key_once, make_tls_key); in get_tls_val()
/freebsd-12.1/contrib/jemalloc/include/jemalloc/
H A Djemalloc_FreeBSD.h146 #define pthread_once _pthread_once macro
/freebsd-12.1/contrib/libcxxrt/
H A Dexception.cc41 #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 Dpthread.map88 pthread_once;
/freebsd-12.1/include/
H A Dpthread.h248 int pthread_once(pthread_once_t *, void (*) (void));
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cc192 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
/freebsd-12.1/lib/libc/include/
H A Dnamespace.h172 #define pthread_once _pthread_once macro
H A Dun-namespace.h153 #undef pthread_once
/freebsd-12.1/contrib/apr/threadproc/unix/
H A Dthread.c316 return pthread_once(&control->once, func);
/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Demutls.c118 pthread_once(&once, emutls_init); in emutls_init_once()

12