| /netbsd-src/tests/usr.bin/c++/ |
| H A D | t_pthread_once.sh | 28 atf_test_case pthread_once 94 pthread_once(&flag, [](){ printf("hello, world!\n"); }); 98 atf_check -s exit:0 -o ignore -e ignore c++ -o pthread_once test.cpp -pthread 99 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once 108 pthread_once(&flag, [](){ printf("hello, world!\n"); }); 112 atf_check -s exit:0 -o ignore -e ignore c++ -static -pg -o pthread_once test.cpp -pthread 113 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once 134 pthread_once(&flag, [](){ printf("hello, world!\n"); }); 138 atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o pthread_once test.cpp -pthread 139 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once [all …]
|
| /netbsd-src/tests/lib/libpthread/ |
| H A D | t_once.c | 67 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY() 68 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY() 87 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc)); in once2_threadfunc() 140 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc)); in once3_threadfunc() 181 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY()
|
| /netbsd-src/lib/libpthread/ |
| H A D | pthread_once.c | 57 pthread_once(pthread_once_t *once_control, void (*routine)(void)) in pthread_once() function 75 __strong_alias(__libc_thr_once,pthread_once)
|
| H A D | call_once.c | 49 (void)pthread_once(flag, func); in call_once()
|
| H A D | pthread.h | 147 int pthread_once(pthread_once_t *, void (*)(void)); 416 #define pthread_once __libc_thr_once macro
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/pa/ |
| H A D | stublib.c | 111 int pthread_once (void); 113 pthread_once (void) in pthread_once() function
|
| H A D | t-stublib | 6 pthread_once-stub.o 35 pthread_once-stub.o: $(srcdir)/config/pa/stublib.c
|
| H A D | gthr-dce.h | 73 __gthrw(pthread_once) 442 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/pa/ |
| H A D | stublib.c | 111 int pthread_once (void); 113 pthread_once (void) in pthread_once() function
|
| H A D | t-stublib | 6 pthread_once-stub.o 35 pthread_once-stub.o: $(srcdir)/config/pa/stublib.c
|
| H A D | gthr-dce.h | 73 __gthrw(pthread_once) 442 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/cf/ |
| H A D | valgrind-suppressions | 105 fun:pthread_once 117 fun:pthread_once 130 fun:pthread_once
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_fdr_logging.cc | 148 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 D | xray_basic_logging.cc | 94 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()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/ |
| H A D | generic-morestack-thread.c | 48 extern int pthread_once (pthread_once_t *, void (*) (void)) 149 err = pthread_once (&create_key_once, create_key); in __wrap_pthread_create()
|
| H A D | gthr-posix.h | 102 __gthrw(pthread_once) 197 if (__gthrw_(pthread_once)) in __gthread_active_p() 202 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); in __gthread_active_p() 703 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/ |
| H A D | generic-morestack-thread.c | 49 extern int pthread_once (pthread_once_t *, void (*) (void)) 163 err = pthread_once (&create_key_once, create_key); in __wrap_pthread_create()
|
| H A D | gthr-posix.h | 102 __gthrw(pthread_once) 197 if (__gthrw_(pthread_once)) in __gthread_active_p() 202 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger); in __gthread_active_p() 703 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ |
| H A D | threads_pthread.c | 118 if (pthread_once(once, init) != 0) in CRYPTO_THREAD_run_once() 196 if (pthread_once(&fork_once_control, fork_once_func) == 0) in openssl_init_fork_handlers()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/s390/ |
| H A D | gthr-tpf.h | 77 __gthrw(pthread_once) 103 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/s390/ |
| H A D | gthr-tpf.h | 77 __gthrw(pthread_once) 103 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
| H A D | once.h | 30 int _ret = pthread_once((op), (f)); \ 31 PTHREADS_RUNTIME_CHECK(pthread_once, _ret); \
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/ |
| H A D | once.h | 33 ((pthread_once((op), (f)) == 0) ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/ |
| H A D | unix_api_example.c | 13 pthread_once(&pred, f); in test()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| H A D | types.d | 948 private struct pthread_once in version() struct 953 alias pthread_once pthread_once_t; in version() 970 private struct pthread_once in version() struct 975 alias pthread_once pthread_once_t; in version()
|