Home
last modified time | relevance | path

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

12

/freebsd/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/sys/sys/
H A D_pthreadtypes.h50 struct pthread_once;
74 typedef struct pthread_once pthread_once_t;
93 struct pthread_once { struct
/freebsd/crypto/krb5/src/util/support/
H A Dthreads.c115 # 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 Dxray_fdr_logging.cpp143 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 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/lib/libstdthreads/
H A Dcall_once.c38 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Donce.h47 ((pthread_once((op), (f)) == 0) ? \
/freebsd/lib/libthr/thread/
H A Dthr_once.c35 __weak_reference(_thr_once, pthread_once);
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_context.cpp35 pthread_once(&key_once, make_thread_local_context_key); in GetContextForThisThreadImpl()
/freebsd/crypto/openssl/util/platform_symbols/
H A Dunix-symbols.txt106 pthread_once
/freebsd/usr.sbin/bhyve/
H A Dmevent.c298 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 Dpthread.h141 return pthread_once(__flag, __init_routine); in __libcpp_execute_once()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp75 pthread_once(&key_once, make_tls_key); in get_tls_val()
/freebsd/crypto/krb5/src/include/
H A Dk5-thread.h269 # define k5_once pthread_once
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/
H A Djemalloc_FreeBSD.h156 #define pthread_once _pthread_once
150 #define pthread_once _pthread_once global() macro
/freebsd/lib/libthr/
H A Dpthread.map87 pthread_once;
/freebsd/contrib/libcxxrt/
H A Dexception.cc42 #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 Dsanitizer_wrappers.cpp185 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
/freebsd/include/
H A Dpthread.h249 int pthread_once(pthread_once_t *, void (*) (void));
/freebsd/lib/libc/include/
H A Dnamespace.h171 #define pthread_once _pthread_once macro
H A Dun-namespace.h152 #undef pthread_once
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dos_version_check.c317 pthread_once(&once, readSystemProperties); in __isOSVersionAtLeast()
H A Demutls.c125 pthread_once(&once, emutls_init); in emutls_init_once()
/freebsd/lib/nss_tacplus/
H A Dnss_tacplus.c69 if ((ret = pthread_once(&keyinit, tacplus_keyinit)) != 0) in tacplus_get_handle()
/freebsd/contrib/xz/src/common/
H A Dmythread.h156 pthread_once(&once_, &func); \

12