Home
last modified time | relevance | path

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

12345678910>>...21

/freebsd-9-stable/contrib/gcc/
Dgthr-solaris.h51 int once; member
406 __gthread_once (__gthread_once_t *once, void (*func) (void)) in __gthread_once() argument
411 if (once == 0 || func == 0) in __gthread_once()
414 if (once->once == 0) in __gthread_once()
416 int status = __gthrw_(mutex_lock) (&once->mutex); in __gthread_once()
419 if (once->once == 0) in __gthread_once()
422 once->once++; in __gthread_once()
424 __gthrw_(mutex_unlock) (&once->mutex); in __gthread_once()
Dgthr-win32.h428 __gthread_once (__gthread_once_t *once, void (*func) (void)) in __gthread_once() argument
431 return __gthr_win32_once (once, func); in __gthread_once()
532 __gthread_once (__gthread_once_t *once, void (*func) (void)) in __gthread_once() argument
536 else if (once == NULL || func == NULL) in __gthread_once()
539 if (! once->done) in __gthread_once()
541 if (InterlockedIncrement (&(once->started)) == 0) in __gthread_once()
544 once->done = TRUE; in __gthread_once()
553 while (! once->done) in __gthread_once()
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)) in __gthread_once() argument
87 return rtems_gxx_once( once, func ); in __gthread_once()
Dgthr-nks.h284 __gthread_once (__gthread_once_t *once, void (*func) (void)) in __gthread_once() argument
286 if (__compare_and_swap (once, 0, 1)) in __gthread_once()
289 *once |= 2; in __gthread_once()
293 while (!(*once & 2)) in __gthread_once()
/freebsd-9-stable/contrib/gcc/config/i386/
Dgthr-win32.c74 __gthr_win32_once (__gthread_once_t *once, void (*func) (void)) in __gthr_win32_once() argument
76 if (once == NULL || func == NULL) in __gthr_win32_once()
79 if (! once->done) in __gthr_win32_once()
81 if (InterlockedIncrement (&(once->started)) == 0) in __gthr_win32_once()
84 once->done = TRUE; in __gthr_win32_once()
93 while (! once->done) in __gthr_win32_once()
/freebsd-9-stable/usr.bin/systat/
Dswap.c119 static int once = 0; in initswap() local
121 if (once) in initswap()
137 once = 1; in initswap()
/freebsd-9-stable/contrib/bind9/lib/isccc/
Dresult.c55 static isc_once_t once = ISC_ONCE_INIT; variable
72 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
/freebsd-9-stable/contrib/bind9/lib/dns/
Ddst_result.c58 static isc_once_t once = ISC_ONCE_INIT; variable
74 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
Dresult.c199 static isc_once_t once = ISC_ONCE_INIT; variable
220 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
/freebsd-9-stable/usr.bin/cpuset/
Dcpuset.c149 int once; in printset() local
152 for (once = 0, cpu = 0; cpu < CPU_SETSIZE; cpu++) { in printset()
154 if (once == 0) { in printset()
156 once = 1; in printset()
/freebsd-9-stable/contrib/ntp/lib/isc/unix/
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-9-stable/contrib/bind9/lib/isc/unix/
Dstrerror.c51 static isc_once_t once = ISC_ONCE_INIT; in isc__strerror() local
55 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS); in isc__strerror()
/freebsd-9-stable/contrib/ntp/lib/isc/
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()
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()
Dapp_api.c30 static isc_once_t once = ISC_ONCE_INIT; variable
44 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS); in isc_app_register()
Dtimer_api.c31 static isc_once_t once = ISC_ONCE_INIT; variable
43 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS); in isc_timer_register()
/freebsd-9-stable/contrib/bind9/lib/isc/
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()
Dresult.c113 static isc_once_t once = ISC_ONCE_INIT; variable
170 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
Dtimer_api.c31 static isc_once_t once = ISC_ONCE_INIT; variable
43 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS); in isc_timer_register()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp556 const SelectionDAG *G, VisitedSDNodeSet &once) { in DumpNodesr() argument
557 if (!once.insert(N)) // If we've been here before, return now. in DumpNodesr()
574 once.insert(child); in DumpNodesr()
587 DumpNodesr(OS, child, indent+2, G, once); in DumpNodesr()
592 VisitedSDNodeSet once; in dumpr() local
593 DumpNodesr(dbgs(), this, 0, 0, once); in dumpr()
597 VisitedSDNodeSet once; in dumpr() local
598 DumpNodesr(dbgs(), this, 0, G, once); in dumpr()
/freebsd-9-stable/lib/libkvm/
Dkvm_file.c83 int buflen = kd->arglen, ocnt = 0, n = 0, once = 0, i; in kvm_deadfiles() local
129 if (!once) { in kvm_deadfiles()
134 once = 1; in kvm_deadfiles()
/freebsd-9-stable/sys/kern/
Dvfs_init.c157 static int once; in vfs_register() local
162 if (!once) { in vfs_register()
164 once = 1; in vfs_register()
/freebsd-9-stable/contrib/gcc/doc/
Dconfigterms.texi23 @command{configure} may (and once did) assume that the host you specify
57 The @code{libiberty} support library is built up to three times: once
58 for the host, once for the target (even if they are the same), and once
/freebsd-9-stable/contrib/libstdc++/libsupc++/
Dguard.cc59 static __gthread_once_t once = __GTHREAD_ONCE_INIT; in get_static_mutex() local
60 __gthread_once(&once, init); in get_static_mutex()
/freebsd-9-stable/sys/amd64/pci/
Dpci_cfgreg.c78 static int once = 0; in pci_cfgregopen() local
82 if (!once) { in pci_cfgregopen()
84 once = 1; in pci_cfgregopen()

12345678910>>...21