| /freebsd-9-stable/contrib/gcc/ |
| D | gthr-solaris.h | 51 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()
|
| D | gthr-win32.h | 428 __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()
|
| D | gthr-rtems.h | 58 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()
|
| D | gthr-nks.h | 284 __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/ |
| D | gthr-win32.c | 74 __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/ |
| D | swap.c | 119 static int once = 0; in initswap() local 121 if (once) in initswap() 137 once = 1; in initswap()
|
| /freebsd-9-stable/contrib/bind9/lib/isccc/ |
| D | result.c | 55 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/ |
| D | dst_result.c | 58 static isc_once_t once = ISC_ONCE_INIT; variable 74 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
|
| D | result.c | 199 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/ |
| D | cpuset.c | 149 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/ |
| D | strerror.c | 53 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/ |
| D | strerror.c | 51 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/ |
| D | random.c | 39 static isc_once_t once = ISC_ONCE_INIT; variable 60 RUNTIME_CHECK(isc_once_do(&once, initialize_rand) == ISC_R_SUCCESS); in initialize()
|
| D | result.c | 111 static isc_once_t once = ISC_ONCE_INIT; variable 168 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
|
| D | app_api.c | 30 static isc_once_t once = ISC_ONCE_INIT; variable 44 RUNTIME_CHECK(isc_once_do(&once, initialize) == ISC_R_SUCCESS); in isc_app_register()
|
| D | timer_api.c | 31 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/ |
| D | random.c | 39 static isc_once_t once = ISC_ONCE_INIT; variable 60 RUNTIME_CHECK(isc_once_do(&once, initialize_rand) == ISC_R_SUCCESS); in initialize()
|
| D | result.c | 113 static isc_once_t once = ISC_ONCE_INIT; variable 170 RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS); in initialize()
|
| D | timer_api.c | 31 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/ |
| D | SelectionDAGDumper.cpp | 556 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/ |
| D | kvm_file.c | 83 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/ |
| D | vfs_init.c | 157 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/ |
| D | configterms.texi | 23 @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++/ |
| D | guard.cc | 59 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/ |
| D | pci_cfgreg.c | 78 static int once = 0; in pci_cfgregopen() local 82 if (!once) { in pci_cfgregopen() 84 once = 1; in pci_cfgregopen()
|