Home
last modified time | relevance | path

Searched refs:once (Results 1 – 25 of 2520) sorted by relevance

12345678910>>...101

/netbsd-src/external/mpl/bind/include/dns/
H A Drdatastruct.h31 #pragma once
67 #pragma once
89 #pragma once
115 #pragma once
135 #pragma once
156 #pragma once
177 #pragma once
197 #pragma once
218 #pragma once
245 #pragma once
[all...]
/netbsd-src/crypto/external/bsd/openssl/dist/include/internal/
H A Dthread_once.h12 # pragma once
129 # define RUN_ONCE(once, init) \ argument
130 (CRYPTO_THREAD_run_once(once, init##_ossl_) ? init##_ossl_ret_ : 0)
147 # define RUN_ONCE_ALT(once, initalt, init) \ argument
148 (CRYPTO_THREAD_run_once(once, initalt##_ossl_) ? init##_ossl_ret_ : 0)
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/i386/
H A Dgthr-win32.c70 __gthr_win32_once (__gthread_once_t *once, void (*func) (void)) in __gthr_win32_once() argument
72 if (once == NULL || func == NULL) in __gthr_win32_once()
75 if (! once->done) in __gthr_win32_once()
77 if (InterlockedIncrement (&(once->started)) == 0) in __gthr_win32_once()
80 once->done = TRUE; in __gthr_win32_once()
89 while (! once->done) in __gthr_win32_once()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/i386/
H A Dgthr-win32.c68 __gthr_win32_once (__gthread_once_t *once, void (*func) (void)) in __gthr_win32_once() argument
70 if (once == NULL || func == NULL) in __gthr_win32_once()
73 if (! once->done) in __gthr_win32_once()
75 if (InterlockedIncrement (&(once->started)) == 0) in __gthr_win32_once()
78 once->done = TRUE; in __gthr_win32_once()
87 while (! once->done) in __gthr_win32_once()
/netbsd-src/tests/lib/libpthread/
H A Dt_once.c44 static pthread_once_t once = PTHREAD_ONCE_INIT; variable
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/crypto/external/bsd/openssl.old/dist/include/internal/
H A Dthread_once.h118 #define RUN_ONCE(once, init) \ argument
119 (CRYPTO_THREAD_run_once(once, init##_ossl_) ? init##_ossl_ret_ : 0)
136 #define RUN_ONCE_ALT(once, initalt, init) \ argument
137 (CRYPTO_THREAD_run_once(once, initalt##_ossl_) ? init##_ossl_ret_ : 0)
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgai_strerror.c61 static int once = 0; in gai_strerror()
69 if (!once) { in gai_strerror()
72 if (!once) { in gai_strerror()
77 once = 1; in gai_strerror()
H A Dirs_data.c58 static int once = 0; variable
133 if (!once) { in net_data_init()
136 if (!once) { in net_data_init()
141 once = 1; in net_data_init()
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-timer.c115 uv_timer_t *once; in TEST_IMPL() local
125 once = once_timers + i; in TEST_IMPL()
126 r = uv_timer_init(uv_default_loop(), once); in TEST_IMPL()
128 r = uv_timer_start(once, once_cb, i * 50, 0); in TEST_IMPL()
163 uv_timer_t once; in TEST_IMPL() local
166 r = uv_timer_init(uv_default_loop(), &once); in TEST_IMPL()
168 r = uv_timer_start(&once, never_cb, 86400 * 1000, 0); in TEST_IMPL()
170 r = uv_timer_start(&once, twice_cb, 10, 0); in TEST_IMPL()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Devp-openssl.c248 get_EVP_CIPHER(heim_base_once_t *once, hc_EVP_CIPHER *hc_memoize, in get_EVP_CIPHER() argument
260 heim_base_once_f(once, &arg, get_EVP_CIPHER_once_cb); in get_EVP_CIPHER()
270 static heim_base_once_t once = HEIM_BASE_ONCE_INIT; \
271 return get_EVP_CIPHER(&once, &ossl_##name##_st, &ossl_##name, \
373 get_EVP_MD(heim_base_once_t *once, hc_EVP_MD *hc_memoize, in get_EVP_MD() argument
386 heim_base_once_f(once, &ctx, get_EVP_MD_once_cb); in get_EVP_MD()
401 static heim_base_once_t once = HEIM_BASE_ONCE_INIT; \
402 return get_EVP_MD(&once, &ossl_##name##_st, &ossl_##name, \
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Drandom_init.f9072 logical, save :: once = .true.
76 if (once) then
77 once = .false.
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/
H A Dheimbase.c411 heim_base_once_f(heim_base_once_t *once, void *ctx, void (*func)(void *)) in heim_base_once_f() argument
431 if (InterlockedCompareExchange(once, 1L, 0L) == 0L) { in heim_base_once_f()
434 (void)InterlockedExchange(once, 2L); in heim_base_once_f()
442 while (InterlockedCompareExchange(once, 2L, 0L) == 1L) in heim_base_once_f()
446 dispatch_once_f(once, ctx, func); in heim_base_once_f()
466 errno = pthread_once(once, once_callback_caller); in heim_base_once_f()
475 if (*once == 0) { in heim_base_once_f()
476 *once = 1; in heim_base_once_f()
480 *once = 2; in heim_base_once_f()
482 } else if (*once == 2) { in heim_base_once_f()
[all …]
/netbsd-src/external/gpl2/texinfo/dist/m4/
H A Donceonly_2_57.m49 dnl This file defines some "once only" variants of standard autoconf macros.
15 dnl will be put only once into the 'configure' file. It keeps the size of
25 dnl DEFAULTS and INIT_PREPARE in order to check all requested headers at once,
32 # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of
55 # AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of
76 # AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of
H A Donceonly.m49 dnl This file defines some "once only" variants of standard autoconf macros.
15 dnl will be put only once into the 'configure' file. It keeps the size of
27 # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of
41 # AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of
53 # AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-m4/
H A Donceonly_2_57.m49 dnl This file defines some "once only" variants of standard autoconf macros.
15 dnl will be put only once into the 'configure' file. It keeps the size of
25 dnl DEFAULTS and INIT_PREPARE in order to check all requested headers at once,
32 # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of
55 # AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of
76 # AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/
H A Donceonly_2_57.m49 dnl This file defines some "once only" variants of standard autoconf macros.
15 dnl will be put only once into the 'configure' file. It keeps the size of
25 dnl DEFAULTS and INIT_PREPARE in order to check all requested headers at once,
32 # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of
55 # AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of
76 # AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of
/netbsd-src/external/gpl2/xcvs/dist/m4/
H A Donceonly_2_57.m49 dnl This file defines some "once only" variants of standard autoconf macros.
15 dnl will be put only once into the 'configure' file. It keeps the size of
25 dnl DEFAULTS and INIT_PREPARE in order to check all requested headers at once,
32 # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of
55 # AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of
76 # AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Drandom_init.f9051 logical, save :: once = .true.
56 if (once) then
57 once = .false.
/netbsd-src/sys/arch/riscv/riscv/
H A Dmainbus.c95 static int once = 0; in mainbus_match() local
97 if (once != 0) in mainbus_match()
99 once = 1; in mainbus_match()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D18-dtls-renegotiate.conf9 test-4 = 4-renegotiate-client-auth-once
129 [4-renegotiate-client-auth-once]
130 ssl_conf = 4-renegotiate-client-auth-once-ssl
132 [4-renegotiate-client-auth-once-ssl]
133 server = 4-renegotiate-client-auth-once-server
134 client = 4-renegotiate-client-auth-once-client
136 [4-renegotiate-client-auth-once-server]
143 [4-renegotiate-client-auth-once-client]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/
H A Dthreads_none.c65 int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)) in CRYPTO_THREAD_run_once() argument
67 if (*once != 0) in CRYPTO_THREAD_run_once()
71 *once = 1; in CRYPTO_THREAD_run_once()
/netbsd-src/crypto/external/bsd/openssl/dist/test/ssl-tests/
H A D18-dtls-renegotiate.cnf9 test-4 = 4-renegotiate-client-auth-once
129 [4-renegotiate-client-auth-once]
130 ssl_conf = 4-renegotiate-client-auth-once-ssl
132 [4-renegotiate-client-auth-once-ssl]
133 server = 4-renegotiate-client-auth-once-server
134 client = 4-renegotiate-client-auth-once-client
136 [4-renegotiate-client-auth-once-server]
143 [4-renegotiate-client-auth-once-client]
/netbsd-src/usr.bin/make/unit-tests/
H A Dopt-debug-file.mk44 . info This goes to stderr only, once.
47 . info This goes to stderr only, once.
62 # expect: make: Unterminated quoted string [make 'This goes to stderr only, once.]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dthreads_none.c65 int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)) in CRYPTO_THREAD_run_once() argument
67 if (*once != 0) in CRYPTO_THREAD_run_once()
71 *once = 1; in CRYPTO_THREAD_run_once()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
H A Dguard.cc65 static __gthread_once_t once = __GTHREAD_ONCE_INIT; in get_static_mutex() local
66 __gthread_once(&once, init); in get_static_mutex()
103 static __gthread_once_t once = __GTHREAD_ONCE_INIT; in get_static_cond() local
104 __gthread_once(&once, init_static_cond); in get_static_cond()

12345678910>>...101