/src/tests/usr.bin/c++/ |
t_pthread_once.sh | 28 atf_test_case pthread_once 30 atf_set "descr" "compile and run std::pthread_once" 36 atf_set "descr" "compile and run std::pthread_once with profiling option" 42 atf_set "descr" "compile and run PIC std::pthread_once" 48 atf_set "descr" "compile and run 32-bit PIC std::pthread_once" 54 atf_set "descr" "compile and run PIC std::pthread_once with profiling &flag" 60 atf_set "descr" "compile and run 32-bit PIC std::pthread_once with profiling &flag" 66 atf_set "descr" "compile and run 32-bit std::pthread_once with profiling &flag" 72 atf_set "descr" "compile and run position independent (PIE) std::pthread_once" 78 atf_set "descr" "compile and run std::pthread_once for/in netbsd32 emulation [all...] |
/src/lib/libpthread/ |
pthread_once.c | 1 /* $NetBSD: pthread_once.c,v 1.5 2025/03/04 00:41:00 riastradh Exp $ */ 40 __RCSID("$NetBSD: pthread_once.c,v 1.5 2025/03/04 00:41:00 riastradh Exp $"); 57 pthread_once(pthread_once_t *once_control, void (*routine)(void)) function in typeref:typename:int 78 __strong_alias(__libc_thr_once,pthread_once)
|
call_once.c | 49 (void)pthread_once(flag, func);
|
pthread.h | 147 int pthread_once(pthread_once_t *, void (*)(void)); 452 #define pthread_once __libc_thr_once macro
|
Makefile | 86 SRCS+= pthread_once.c 152 pthread_once.3 pthread_rwlock.3 pthread_rwlockattr.3 \
|
/src/tests/lib/libpthread/ |
t_once.c | 70 atf_tc_set_md_var(tc, "descr", "Checks pthread_once()"); 75 printf("1: Test 1 of pthread_once()\n"); 77 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); 78 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); 97 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc)); 109 atf_tc_set_md_var(tc, "descr", "Checks pthread_once()"); 117 printf("1: Test 2 of pthread_once()\n"); 150 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc)); 160 "main thread deadlocked in pthread_once()"); 166 atf_tc_set_md_var(tc, "descr", "Checks pthread_once()"); [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_fdr_logging.cc | 148 pthread_once( 210 pthread_once( 426 pthread_once( 570 pthread_once( 600 pthread_once( 682 pthread_once(
|
xray_basic_logging.cc | 94 pthread_once(&DetectOnce, +[] { 121 pthread_once(&OnceInit, +[] { LW = getLog(); }); 385 pthread_once(&OnceInit, +[] { 505 pthread_once(&DynamicOnce, +[] {
|
xray_profile_collector.cc | 388 pthread_once(
|
xray_profiling.cc | 428 pthread_once(
|
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
emutls.c | 123 pthread_once(&once, emutls_init);
|
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_common_mac.cc | 59 pthread_once(&key_once, make_tls_key);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/ |
sanitizer_wrappers.cc | 192 LLVM_SYMBOLIZER_INTERCEPTOR2(pthread_once,
|
/src/common/lib/libprop/ |
prop_object_impl.h | 459 #define _PROP_ONCE_RUN(x,f) pthread_once(&(x),(void(*)(void))f)
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_interceptors.cc | 1433 TSAN_INTERCEPTOR(int, pthread_once, void *o, void (*f)()) { 1434 SCOPED_INTERCEPTOR_RAW(pthread_once, o, f); 2722 TSAN_INTERCEPT(pthread_once);
|