Searched refs:once (Results 1 - 25 of 121) sorted by relevance

12345

/freebsd-11-stable/stand/liblua/
H A Dlerrno.h29 #pragma once
/freebsd-11-stable/libexec/flua/modules/
H A Dlfs.h29 #pragma once
H A Dlposix.h7 #pragma once
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostGetOpt.h8 #pragma once
/freebsd-11-stable/sys/dev/amdsmn/
H A Damdsmn.h29 #pragma once
/freebsd-11-stable/lib/clang/include/clang/Config/
H A Dconfig.h5 #error config.h can only be included once
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_cs.c53 int once, twice, lastcpu, cpu; local
87 once = 0;
92 if (once == 0) {
95 once = 1;
108 if (once && twice)
/freebsd-11-stable/contrib/gcc/config/i386/
H A Dgthr-win32.c74 __gthr_win32_once (__gthread_once_t *once, void (*func) (void)) argument
76 if (once == NULL || func == NULL)
79 if (! once->done)
81 if (InterlockedIncrement (&(once->started)) == 0)
84 once->done = TRUE;
93 while (! once->done)
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Donce.c18 /* $Id: once.c,v 1.12 2007/06/18 23:47:49 tbox Exp $ */
26 #include <isc/once.h>
H A Dstrerror.c27 #include <isc/once.h>
64 static isc_once_t once = ISC_ONCE_INIT; local
68 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS);
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Drandom.c34 #include <isc/once.h>
39 static isc_once_t once = ISC_ONCE_INIT; variable
60 RUNTIME_CHECK(isc_once_do(&once, initialize_rand) == ISC_R_SUCCESS);
H A Dapp_api.c26 #include <isc/once.h>
30 static isc_once_t once = ISC_ONCE_INIT; variable
44 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS);
H A Dresult.c30 #include <isc/once.h>
111 static isc_once_t once = ISC_ONCE_INIT; variable
168 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS);
H A Dtimer_api.c26 #include <isc/once.h>
31 static isc_once_t once = ISC_ONCE_INIT; variable
43 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS);
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dstrerror.c28 #include <isc/once.h>
53 static isc_once_t once = ISC_ONCE_INIT; local
57 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS);
/freebsd-11-stable/contrib/gcc/
H A Dgthr-rtems.h58 extern int rtems_gxx_once (__gthread_once_t *once, void (*func) (void));
85 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
87 return rtems_gxx_once( once, func );
H A Dgthr-solaris.h51 int once; member in struct:__anon1339
406 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
411 if (once == 0 || func == 0)
414 if (once->once == 0)
416 int status = __gthrw_(mutex_lock) (&once->mutex);
419 if (once->once == 0)
422 once->once
[all...]
H A Dgthr-nks.h284 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
286 if (__compare_and_swap (once, 0, 1))
289 *once |= 2;
293 while (!(*once & 2))
H A Dgthr-win32.h428 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
431 return __gthr_win32_once (once, func);
532 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
536 else if (once == NULL || func == NULL)
539 if (! once->done)
541 if (InterlockedIncrement (&(once->started)) == 0)
544 once->done = TRUE;
553 while (! once->done)
/freebsd-11-stable/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));
70 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc));
142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc));
183 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
/freebsd-11-stable/lib/msun/arm/
H A Dfenv-mangle.h30 #error Only include fenv-mangle.h once
/freebsd-11-stable/sys/conf/
H A Dsysent.mk32 # We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
33 # potentially once for each ${GENERATED} file.
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h1 #pragma once
/freebsd-11-stable/crypto/heimdal/base/
H A Dheimbase.c312 * Call func once and only once
314 * @param once pointer to a heim_base_once_t
320 heim_base_once_f(heim_base_once_t *once, void *ctx, void (*func)(void *)) argument
323 dispatch_once_f(once, ctx, func);
327 if (*once == 0) {
328 *once = 1;
332 *once = 2;
334 } else if (*once == 2) {
342 if (*once
412 static heim_base_once_t once = HEIM_BASE_ONCE_INIT; local
[all...]
/freebsd-11-stable/contrib/libstdc++/libsupc++/
H A Dguard.cc59 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local
60 __gthread_once(&once, init);

Completed in 228 milliseconds

12345