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

12345

/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Ddst_result.c25 #include <isc/once.h>
58 static isc_once_t once = ISC_ONCE_INIT; variable
74 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS);
H A Ddst_lib.c29 #include <isc/once.h>
H A Dresult.c24 #include <isc/once.h>
194 static isc_once_t once = ISC_ONCE_INIT; variable
215 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS);
/freebsd-9.3-release/contrib/bind9/lib/isccc/
H A Dresult.c38 #include <isc/once.h>
55 static isc_once_t once = ISC_ONCE_INIT; variable
72 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS);
H A Dlib.c40 #include <isc/once.h>
/freebsd-9.3-release/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-9.3-release/contrib/libucl/src/
H A Dxxhash.h60 #pragma once
/freebsd-9.3-release/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-9.3-release/contrib/bind9/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-9.3-release/contrib/bind9/lib/isc/unix/
H A Dstrerror.c28 #include <isc/once.h>
51 static isc_once_t once = ISC_ONCE_INIT; local
55 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS);
/freebsd-9.3-release/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:__anon1177
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-9.3-release/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-9.3-release/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-9.3-release/usr.bin/systat/
H A Dswap.c119 static int once = 0; local
121 if (once)
137 once = 1;
/freebsd-9.3-release/contrib/libstdc++/libsupc++/
H A Dguard.cc59 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local
60 __gthread_once(&once, init);

Completed in 138 milliseconds

12345