| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| once.h | 30 int _ret = pthread_once((op), (f)); \ 31 PTHREADS_RUNTIME_CHECK(pthread_once, _ret); \
|
| /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 78 __strong_alias(__libc_thr_once,pthread_once)
|
| call_once.c | 49 (void)pthread_once(flag, func);
|
| /src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/ |
| unix_api_example.c | 13 pthread_once(&pred, f); 14 // warn: call to 'pthread_once' uses the local variable
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/pthreads/include/isc/ |
| once.h | 49 ((pthread_once((op), (f)) == 0) ? \
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/ |
| once.h | 33 ((pthread_once((op), (f)) == 0) ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
| /src/external/gpl3/gcc/dist/libgcc/config/pa/ |
| stublib.c | 111 int pthread_once (void); 113 pthread_once (void) function
|
| gthr-dce.h | 73 __gthrw(pthread_once) 442 return __gthrw_(pthread_once) (__once, __func);
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/pa/ |
| stublib.c | 111 int pthread_once (void); 113 pthread_once (void) function
|
| gthr-dce.h | 73 __gthrw(pthread_once) 442 return __gthrw_(pthread_once) (__once, __func);
|
| /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/external/gpl3/gcc/dist/libgcc/ |
| generic-morestack-thread.c | 49 extern int pthread_once (pthread_once_t *, void (*) (void)) 91 pthread_once. */ 163 err = pthread_once (&create_key_once, create_key); 166 static const char msg[] = "pthread_once failed: errno ";
|
| gthr-posix.h | 108 __gthrw(pthread_once) 174 error value. However pthread_once returns 0 without invoking the routine 210 if (__gthrw_(pthread_once)) 215 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); 282 libraries. We can't use pthread_once as some libc versions call the 716 return __gthrw_(pthread_once) (__once, __func);
|
| /src/external/gpl3/gcc.old/dist/libgcc/ |
| generic-morestack-thread.c | 49 extern int pthread_once (pthread_once_t *, void (*) (void)) 91 pthread_once. */ 163 err = pthread_once (&create_key_once, create_key); 166 static const char msg[] = "pthread_once failed: errno ";
|
| gthr-posix.h | 102 __gthrw(pthread_once) 161 error value. However pthread_once returns 0 without invoking the routine 197 if (__gthrw_(pthread_once)) 202 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); 269 libraries. We can't use pthread_once as some libc versions call the 703 return __gthrw_(pthread_once) (__once, __func);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ |
| threads_pthread.c | 118 if (pthread_once(once, init) != 0) 196 if (pthread_once(&fork_once_control, fork_once_func) == 0)
|
| /src/external/gpl3/gcc/dist/libgcc/config/s390/ |
| gthr-tpf.h | 77 __gthrw(pthread_once) 103 return __gthrw_(pthread_once) (__once, __func);
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/s390/ |
| gthr-tpf.h | 77 __gthrw(pthread_once) 103 return __gthrw_(pthread_once) (__once, __func);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/ |
| gthread.d | 39 alias __gthread_once = pthread_once;
|
| /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, +[] {
|
| /src/external/gpl3/gcc/dist/libgcc/config/ |
| gthr-rtems.h | 105 return pthread_once (__once, __func);
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/ |
| gthr-rtems.h | 105 return pthread_once (__once, __func);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
| emutls.c | 123 pthread_once(&once, emutls_init);
|