Home
last modified time | relevance | path

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

12345678910>>...36

/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
109 Expected: to be called once
124 Expected: to be called once
131 Expected: to be called once
146 Expected: to be called once
154 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/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/contrib/bmake/unit-tests/
H A Dopt-debug-file.mk44 . info This goes to stderr only, once.
47 . info This goes to stderr only, once.
59 : This goes to stderr only, once. ${:U:S
61 : This goes to stderr only, once. ${:U:S
H A Dinclude-main.mk20 .for i in once
38 .for i in once
H A Dvarname.mk70 ASDZguv= once
82 ASDZguv.param= once
H A Dinclude-sub.inc12 .for i in once
43 .for i in 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/lib/libsecureboot/
H A Dvets.c421 static int once = -1; in ve_trust_init() local
423 if (once >= 0) in ve_trust_init()
424 return (once); in ve_trust_init()
444 return (once); in ve_trust_init()
1096 if (once >= 0) in ve_self_tests()
1097 return (once); in ve_self_tests()
1098 once = 0; in ve_self_tests()
1134 once++; in ve_self_tests()
1140 if (!once) in ve_self_tests()
1147 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>;
H A Dxlnx,xps-timebase-wdt.yaml45 xlnx,wdt-enable-once:
48 description: If watchdog is configured as enable once,
65 xlnx,wdt-enable-once = <0x0>;
/freebsd/crypto/openssl/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()
/freebsd/crypto/openssl/ms/
H A Dapplink.c105 static int once = 1; in OPENSSL_Applink() local
109 if (once) { in OPENSSL_Applink()
135 once = 0; in OPENSSL_Applink()
/freebsd/crypto/openssl/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]
/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/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/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()
H A Dresult.c111 static isc_once_t once = ISC_ONCE_INIT; variable
168 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
/freebsd/contrib/bmake/
H A Dsigaction.c279 static int once = 0; in sigprocmask() local
281 if (!once) { in sigprocmask()
287 once++; in sigprocmask()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Demutls.c124 static pthread_once_t once = PTHREAD_ONCE_INIT; in emutls_init_once() local
125 pthread_once(&once, emutls_init); in emutls_init_once()
208 static INIT_ONCE once; in emutls_init_once() local
209 InitOnceExecuteOnce(&once, emutls_init, NULL, NULL); in emutls_init_once()
/freebsd/bin/cpuset/
H A Dcpuset.c223 int once; in printset() local
226 for (once = 0, bit = 0; bit < size; bit++) { in printset()
228 if (once == 0) { in printset()
230 once = 1; in printset()
/freebsd/sys/contrib/zlib/
H A Dcrc32.c236 local void once(once_t *state, void (*init)(void)) { in once() function
268 local void once(once_t *state, void (*init)(void)) { in once() function
551 once(&made, make_crc_table); in get_crc_table()
588 once(&made, make_crc_table); in crc32_z()
700 once(&made, make_crc_table); in crc32_z()
1023 once(&made, make_crc_table); in crc32_combine64()
1036 once(&made, make_crc_table); in crc32_combine_gen64()

12345678910>>...36