Home
last modified time | relevance | path

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

12345678910>>...42

/freebsd/crypto/openssl/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)
/freebsd/usr.bin/procstat/
H A Dprocstat_cs.c51 int once, twice, lastcpu, cpu; in procstat_cs() local
85 once = 0; in procstat_cs()
90 if (once == 0) { in procstat_cs()
93 once = 1; in procstat_cs()
106 if (once && twice) in procstat_cs()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_once.c46 static pthread_once_t once = PTHREAD_ONCE_INIT; variable
69 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY()
70 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY()
89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc)); in once2_threadfunc()
142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc)); in once3_threadfunc()
183 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); in ATF_TC_BODY()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_output_test_golden.txt41 Expected: to be called once
55 Expected: to be called once
64 Expected: to be called once
72 Expected: to be called once
102 Expected: to be called once
103 Actual: called once - saturated and retired
109 Expected: to be called once
124 Expected: to be called once
131 Expected: to be called once
146 Expected: to be called once
[all …]
/freebsd/lib/libsecureboot/openpgp/
H A Dopgp_key.c203 static int once = 0; in openpgp_trust_add() local
205 if (!once) { in openpgp_trust_add()
206 once = 1; in openpgp_trust_add()
352 static int once = -1; in openpgp_trust_init() local
360 if (once < 0) { in openpgp_trust_init()
361 once = 0; in openpgp_trust_init()
370 once++; in openpgp_trust_init()
376 return (once); in openpgp_trust_init()
/freebsd/tools/test/stress2/misc/
H A Dmprotect6.sh28 static int go, n, *once, *p, ps;
40 while (go == 1 && once[idx] == 0)
45 once[idx] = 0;
59 once[i] = val;
84 if ((once = calloc(n, sizeof(int *))) == NULL)
/freebsd/crypto/heimdal/base/
H A Dheimbase.c320 heim_base_once_f(heim_base_once_t *once, void *ctx, void (*func)(void *)) in heim_base_once_f() argument
323 dispatch_once_f(once, ctx, func); in heim_base_once_f()
327 if (*once == 0) { in heim_base_once_f()
328 *once = 1; in heim_base_once_f()
332 *once = 2; in heim_base_once_f()
334 } else if (*once == 2) { in heim_base_once_f()
342 if (*once == 2) in heim_base_once_f()
412 static heim_base_once_t once = HEIM_BASE_ONCE_INIT; in autorel_tls() local
416 heim_base_once_f(&once, NULL, init_ar_tls); in autorel_tls()
/freebsd/libexec/rc/
H A Dhooks.sh128 once|--once) HOOKS_ADD_DEFAULT=once;;
144 --once) shift; hooks_add_once "$@";;
/freebsd/lib/libsecureboot/efi/
H A Defi_init.c40 static int once = 0; in ve_efi_init() local
42 if (once > 0) in ve_efi_init()
45 once = 1; in ve_efi_init()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dsntrup761_dec_fuzz.cc52 static bool once; in LLVMFuzzerTestOneInput() local
58 if (!once) { in LLVMFuzzerTestOneInput()
60 once = true; in LLVMFuzzerTestOneInput()
/freebsd/lib/libsecureboot/
H A Dvets.c427 static int once = -1; in ve_trust_init() local
429 if (once >= 0) in ve_trust_init()
430 return (once); in ve_trust_init()
431 once = 0; /* to be sure */ in ve_trust_init()
446 once = (int) VEC_LEN(trust_anchors); in ve_trust_init()
448 once += openpgp_trust_init(); in ve_trust_init()
450 return (once); in ve_trust_init()
1091 static int once = -1; in ve_self_tests() local
1102 if (once >= 0) in ve_self_tests()
1103 return (once); in ve_self_tests()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/watchdog/
H A Dof-xilinx-wdt.txt13 - xlnx,wdt-enable-once : 0 - Watchdog can be restarted
14 1 - Watchdog can be enabled just once
24 xlnx,wdt-enable-once = <0x0>;
/freebsd/contrib/bmake/unit-tests/
H A Dopt-debug-file.mk54 . info This goes to stdout only, once.
57 . info This goes to stderr only, once.
72 # expect: make: Unterminated quoted string [make 'This goes to stderr only, once.]
H A Dinclude-main.mk20 .for i in once
38 .for i in once
/freebsd/crypto/openssl/test/ssl-tests/
H A D18-dtls-renegotiate.cnf9 test-4 = 4-renegotiate-client-auth-once
133 [4-renegotiate-client-auth-once]
134 ssl_conf = 4-renegotiate-client-auth-once-ssl
136 [4-renegotiate-client-auth-once-ssl]
137 server = 4-renegotiate-client-auth-once-server
138 client = 4-renegotiate-client-auth-once-client
140 [4-renegotiate-client-auth-once-server]
148 [4-renegotiate-client-auth-once-client]
/freebsd/crypto/openssl/ms/
H A Dapplink.c113 static int once = 1; in OPENSSL_Applink() local
116 if (once) { in OPENSSL_Applink()
142 once = 0; in OPENSSL_Applink()
/freebsd/usr.bin/systat/
H A Dswap.c89 static int once = 0; in initswap() local
91 if (once) in initswap()
101 once = 1; in initswap()
/freebsd/bin/cpuset/
H A Dcpuset.c76 int once; in printset() local
79 for (once = 0, bit = 0; bit < size; bit++) { in printset()
81 if (once == 0) { in printset()
83 once = 1; in printset()
/freebsd/sys/contrib/device-tree/src/arm64/exynos/
H A Dexynos2200-g0s.dts37 * TODO: Remove this once RTC clock is implemented properly as part of
67 /* TODO: Remove this once PMIC is implemented */
143 /* TODO: Replace these once PMIC is implemented */
161 /* TODO: Replace these once PMIC is implemented */
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Dstrerror.c53 static isc_once_t once = ISC_ONCE_INIT; in isc__strerror() local
57 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS); in isc__strerror()
/freebsd/crypto/krb5/src/util/support/
H A Dthreads.c557 k5_once(k5_once_t *once, void (*fn)(void)) in k5_once() argument
560 return pthread_once(&once->o, fn); in k5_once()
562 return k5_os_nothread_once(&once->n, fn); in k5_once()
577 int k5_once(k5_once_t *once, void (*fn)(void));
601 k5_once(k5_once_t *once, void (*fn)(void)) in k5_once() argument
/freebsd/crypto/krb5/src/include/
H A Dk5-platform.h244 typedef struct { k5_once_t once; int error, did_run; void (*fn)(void); } k5_init_t; member
257 int k5int_err = k5_once(&k5int_i->once, k5int_i->fn); \
268 err = k5_once(&i->once, i->fn); \
280 static k5_init_t JOIN__2(NAME, once) = \
285 JOIN__2(NAME, once).did_run = 1; \
286 JOIN__2(NAME, once).error = NAME(); \
291 k5_call_init_function(& JOIN__2(NAME, once))
302 (JOIN__2(NAME, once).did_run && JOIN__2(NAME, once).error == 0)
/freebsd/contrib/bmake/
H A Dsigaction.c271 static int once = 0; in sigprocmask() local
273 if (!once) { in sigprocmask()
279 once++; in sigprocmask()
/freebsd/contrib/ntp/libntp/lib/isc/
H A Drandom.c39 static isc_once_t once = ISC_ONCE_INIT; variable
60 RUNTIME_CHECK(isc_once_do(&once, initialize_rand) == ISC_R_SUCCESS); in initialize()
/freebsd/crypto/openssl/crypto/
H A Dthreads_none.c145 int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)) in CRYPTO_THREAD_run_once() argument
147 if (*once != 0) in CRYPTO_THREAD_run_once()
151 *once = 1; in CRYPTO_THREAD_run_once()

12345678910>>...42