/freebsd-10.0-release/contrib/gcc/config/i386/ |
H A D | gthr-win32.c | 74 __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-10.0-release/contrib/gcc/ |
H A 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)) argument 87 return rtems_gxx_once( once, func );
|
H A D | gthr-solaris.h | 51 int once; member in struct:__anon1065 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 D | gthr-nks.h | 284 __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 D | gthr-win32.h | 428 __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)
|
H A D | gthr-tpf.h | 103 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument 106 return __gthrw_(pthread_once) (once, func);
|
H A D | gthr-vxworks.h | 113 extern int __gthread_once (__gthread_once_t *once, void (*func)(void));
|
H A D | unwind-sjlj.c | 73 /* These are filled in once by the target function before any 119 static __gthread_once_t once = __GTHREAD_ONCE_INIT; 120 if (__gthread_once (&once, fc_key_init) != 0 || use_fc_key < 0) 118 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local
|
H A D | gthr-posix.c | 37 pthread_once (pthread_once_t *once ATTRIBUTE_UNUSED,
|
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | isc_strerror.c | 26 #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);
|
H A D | strerror.c | 26 #include <isc/once.h> 49 static isc_once_t once = ISC_ONCE_INIT; local 53 RUNTIME_CHECK(isc_once_do(&once, init_lock) == ISC_R_SUCCESS);
|
H A D | lib.c | 25 #include <isc/once.h>
|
H A D | net.c | 26 #include <isc/once.h> 39 static isc_boolean_t once = ISC_FALSE; variable 120 if(once == ISC_FALSE) { 122 once = ISC_TRUE;
|
/freebsd-10.0-release/crypto/heimdal/base/ |
H A D | heimbase.c | 312 * 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-10.0-release/usr.bin/systat/ |
H A D | swap.c | 119 static int once = 0; local 121 if (once) 137 once = 1;
|
/freebsd-10.0-release/contrib/libstdc++/libsupc++/ |
H A D | guard.cc | 59 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local 60 __gthread_once(&once, init);
|
/freebsd-10.0-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_threadproc.h | 74 pthread_once_t once; member in struct:apr_thread_once_t
|
/freebsd-10.0-release/contrib/gcclibs/libdecnumber/ |
H A D | decNumberLocal.h | 34 /* etc. It must only be included once, and should not need to be */ 135 #error decNumberLocal included more than once
|
/freebsd-10.0-release/usr.bin/cpuset/ |
H A D | cpuset.c | 149 int once; local 152 for (once = 0, cpu = 0; cpu < CPU_SETSIZE; cpu++) { 154 if (once == 0) { 156 once = 1;
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 549 const SelectionDAG *G, VisitedSDNodeSet &once) { 550 if (!once.insert(N)) // If we've been here before, return now. 567 once.insert(child); 580 DumpNodesr(OS, child, indent+2, G, once); 585 VisitedSDNodeSet once; local 586 DumpNodesr(dbgs(), this, 0, 0, once); local 590 VisitedSDNodeSet once; local 591 DumpNodesr(dbgs(), this, 0, G, once); local 548 DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent, const SelectionDAG *G, VisitedSDNodeSet &once) argument
|
/freebsd-10.0-release/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt.c | 361 static int once = 0; local 363 if (stoppcbs == 0 && !once) { 364 once = 1;
|
H A D | main.c | 159 static int once = 1; local 167 if (once && objfile != NULL && objfile == symfile_objfile) { 172 once = 0; 355 warnx("option %c: can only be specified once", 383 warnx("option %c: can only be specified once",
|
/freebsd-10.0-release/lib/libkvm/ |
H A D | kvm_file.c | 83 int buflen = kd->arglen, ocnt = 0, n = 0, once = 0, i; local 129 if (!once) { 134 once = 1;
|
/freebsd-10.0-release/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 78 static int once = 0; local 82 if (!once) { 84 once = 1;
|
/freebsd-10.0-release/sys/kern/ |
H A D | vfs_init.c | 157 static int once; local 162 if (!once) { 164 once = 1;
|