Home
last modified time | relevance | path

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

12

/freebsd-13.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-13.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-13.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-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_logging.cpp147 pthread_once( in fdrCommonHeaderInfo()
209 pthread_once( in fdrIterator()
424 pthread_once( in getTimestamp()
568 pthread_once( in fdrLoggingHandleCustomEvent()
598 pthread_once( in fdrLoggingHandleTypedEvent()
680 pthread_once( in fdrLoggingInit()
H A Dxray_basic_logging.cpp93 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-13.1/lib/libstdthreads/
H A Dcall_once.c42 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
/freebsd-13.1/contrib/ntp/lib/isc/pthreads/include/isc/
H A Donce.h47 ((pthread_once((op), (f)) == 0) ? \
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_tsd_exclusive.cpp56 CHECK_EQ(pthread_once(&GlobalInitialized, initOnce), 0); in initThread()
H A Dscudo_tsd_shared.cpp61 pthread_once(&GlobalInitialized, initOnce); in initThread()
/freebsd-13.1/lib/libthr/thread/
H A Dthr_once.c38 __weak_reference(_thr_once, pthread_once);
/freebsd-13.1/usr.sbin/bhyve/
H A Dmevent.c291 pthread_once(&mevent_once, mevent_init); in mevent_add_state()
495 pthread_once(&mevent_once, mevent_init); in mevent_dispatch()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp58 pthread_once(&key_once, make_tls_key); in get_tls_val()
/freebsd-13.1/contrib/jemalloc/include/jemalloc/
H A Djemalloc_FreeBSD.h152 #define pthread_once _pthread_once macro
/freebsd-13.1/contrib/libcxxrt/
H A Dexception.cc41 #pragma weak pthread_once macro
409 if ((0 == pthread_once) || pthread_once(&once_control, init_key)) in thread_info()
/freebsd-13.1/lib/libthr/
H A Dpthread.map88 pthread_once;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dos_version_check.c313 pthread_once(&once, readSystemProperties); in __isOSVersionAtLeast()
H A Demutls.c125 pthread_once(&once, emutls_init); in emutls_init_once()
/freebsd-13.1/lib/libc/include/
H A Dnamespace.h173 #define pthread_once _pthread_once macro
H A Dun-namespace.h154 #undef pthread_once
/freebsd-13.1/contrib/apr/threadproc/unix/
H A Dthread.c316 return pthread_once(&control->once, func);
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp184 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
/freebsd-13.1/include/
H A Dpthread.h248 int pthread_once(pthread_once_t *, void (*) (void));
/freebsd-13.1/contrib/ofed/libibverbs/
H A Ddevice.c79 pthread_once(&device_list_once, count_devices); in __ibv_get_device_list()
/freebsd-13.1/contrib/xz/src/common/
H A Dmythread.h131 pthread_once(&once_, &func); \
/freebsd-13.1/lib/libc/gen/
H A DSymbol.map53 pthread_once;

12