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

123

/freebsd-10.0-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-10.0-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:__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 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)
H A Dgthr-tpf.h103 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
106 return __gthrw_(pthread_once) (once, func);
H A Dgthr-vxworks.h113 extern int __gthread_once (__gthread_once_t *once, void (*func)(void));
H A Dunwind-sjlj.c73 /* 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 Dgthr-posix.c37 pthread_once (pthread_once_t *once ATTRIBUTE_UNUSED,
/freebsd-10.0-release/contrib/ntp/libisc/
H A Disc_strerror.c26 #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 Dstrerror.c26 #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 Dlib.c25 #include <isc/once.h>
H A Dnet.c26 #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 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-10.0-release/usr.bin/systat/
H A Dswap.c119 static int once = 0; local
121 if (once)
137 once = 1;
/freebsd-10.0-release/contrib/libstdc++/libsupc++/
H A Dguard.cc59 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 Dapr_arch_threadproc.h74 pthread_once_t once; member in struct:apr_thread_once_t
/freebsd-10.0-release/contrib/gcclibs/libdecnumber/
H A DdecNumberLocal.h34 /* 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 Dcpuset.c149 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 DSelectionDAGDumper.cpp549 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 Dtrgt.c361 static int once = 0; local
363 if (stoppcbs == 0 && !once) {
364 once = 1;
H A Dmain.c159 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 Dkvm_file.c83 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 Dpci_cfgreg.c78 static int once = 0; local
82 if (!once) {
84 once = 1;
/freebsd-10.0-release/sys/kern/
H A Dvfs_init.c157 static int once; local
162 if (!once) {
164 once = 1;

Completed in 181 milliseconds

123