/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/ |
H A D | HostGetOpt.h | 9 #pragma once
|
/freebsd-10-stable/usr.bin/procstat/ |
H A D | procstat_cs.c | 50 int once, twice, lastcpu, cpu; local 83 once = 0; 87 if (once == 0) { 89 once = 1; 100 if (once && twice)
|
/freebsd-10-stable/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-stable/contrib/libucl/src/ |
H A D | xxhash.h | 60 #pragma once
|
/freebsd-10-stable/contrib/ntp/lib/isc/win32/ |
H A D | once.c | 18 /* $Id: once.c,v 1.12 2007/06/18 23:47:49 tbox Exp $ */ 26 #include <isc/once.h>
|
H A D | strerror.c | 27 #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-10-stable/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:__anon1159 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));
|
/freebsd-10-stable/contrib/ntp/lib/isc/ |
H A D | random.c | 34 #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 D | app_api.c | 26 #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 D | result.c | 30 #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 D | timer_api.c | 26 #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);
|
H A D | lib.c | 31 #include <isc/once.h>
|
/freebsd-10-stable/contrib/ntp/lib/isc/unix/ |
H A D | strerror.c | 28 #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-10-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_once.c | 46 static pthread_once_t once = PTHREAD_ONCE_INIT; variable 69 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); 70 PTHREAD_REQUIRE(pthread_once(&once, ofunc)); 89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc)); 142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc)); 183 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
|
/freebsd-10-stable/lib/msun/arm/ |
H A D | fenv-mangle.h | 30 #error Only include fenv-mangle.h once
|
/freebsd-10-stable/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-stable/usr.bin/systat/ |
H A D | swap.c | 119 static int once = 0; local 121 if (once) 137 once = 1;
|
/freebsd-10-stable/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-stable/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-stable/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
|