Home
last modified time | relevance | path

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

1234

/netbsd-src/tests/usr.bin/c++/
H A Dt_pthread_once.sh28 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 Dt_once.c67 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 Dpthread_once.c57 pthread_once(pthread_once_t *once_control, void (*routine)(void)) in pthread_once() function
75 __strong_alias(__libc_thr_once,pthread_once)
H A Dcall_once.c49 (void)pthread_once(flag, func); in call_once()
H A Dpthread.h147 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 Dstublib.c111 int pthread_once (void);
113 pthread_once (void) in pthread_once() function
H A Dt-stublib6 pthread_once-stub.o
35 pthread_once-stub.o: $(srcdir)/config/pa/stublib.c
H A Dgthr-dce.h73 __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 Dstublib.c111 int pthread_once (void);
113 pthread_once (void) in pthread_once() function
H A Dt-stublib6 pthread_once-stub.o
35 pthread_once-stub.o: $(srcdir)/config/pa/stublib.c
H A Dgthr-dce.h73 __gthrw(pthread_once)
442 return __gthrw_(pthread_once) (__once, __func); in __gthread_once()
/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Dvalgrind-suppressions105 fun:pthread_once
117 fun:pthread_once
130 fun:pthread_once
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_fdr_logging.cc148 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 Dxray_basic_logging.cc94 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 Dgeneric-morestack-thread.c48 extern int pthread_once (pthread_once_t *, void (*) (void))
149 err = pthread_once (&create_key_once, create_key); in __wrap_pthread_create()
H A Dgthr-posix.h102 __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 Dgeneric-morestack-thread.c49 extern int pthread_once (pthread_once_t *, void (*) (void))
163 err = pthread_once (&create_key_once, create_key); in __wrap_pthread_create()
H A Dgthr-posix.h102 __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 Dthreads_pthread.c118 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 Dgthr-tpf.h77 __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 Dgthr-tpf.h77 __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 Donce.h30 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 Donce.h33 ((pthread_once((op), (f)) == 0) ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/
H A Dunix_api_example.c13 pthread_once(&pred, f); in test()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dtypes.d948 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()

1234