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

123456789

/openbsd-current/gnu/usr.bin/binutils/include/mpw/
H A Dgrp.h1 #pragma once
H A Ddir.h3 #pragma once
/openbsd-current/usr.bin/dig/lib/dns/
H A Ddst_result.c53 static int once = 0; variable
68 if (!once) {
69 once = 1;
H A Ddns_result.c198 static int once = 0; variable
218 if (!once) {
219 once = 1;
/openbsd-current/regress/sys/net/pf_policy/
H A Donce.conf1 # $OpenBSD: once.conf,v 1.1 2023/01/09 10:21:40 sashan Exp $
6 pass quick proto {icmp, icmp6} all once
H A Dnesting-once.conf1 # $OpenBSD: nesting-once.conf,v 1.1 2023/01/09 10:21:40 sashan Exp $
9 pass quick proto {icmp, icmp6} once
H A DMakefile34 TESTS_ONCE = nesting-once \
35 once
77 REGRESS_TARGETS += run-once-${rules}
78 run-once-${rules}:
/openbsd-current/games/hunt/hunt/
H A Dlist.h7 int once; member in struct:driver
/openbsd-current/lib/libssl/
H A Dssl_init.c46 static pthread_once_t once = PTHREAD_ONCE_INIT; local
53 if (pthread_once(&once, OPENSSL_init_ssl_internal) != 0)
/openbsd-current/gnu/usr.bin/gcc/gcc/config/i386/
H A Dgthr-win32.c73 __gthr_win32_once (__gthread_once_t *once, void (*func) (void)) argument
75 if (once == NULL || func == NULL)
78 if (! once->done)
80 if (InterlockedIncrement (&(once->started)) == 0)
83 once->done = TRUE;
92 while (! once->done)
/openbsd-current/gnu/usr.bin/perl/dist/Test/t/
H A Dmultiline.t17 Get back to where you once belonged
19 Get back to where you once belonged
22 Back to where you once belonged
24 Back to where you once belonged
34 Get back to where you once belonged
36 Get back to where you once belonged
39 Get back to where you once belonged
41 Get back to where you once belonged
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dgthr-solaris.h44 int once; member in struct:__anon6218
384 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
389 if (once == 0 || func == 0)
392 if (once->once == 0)
394 int status = mutex_lock (&once->mutex);
397 if (once->once == 0)
400 once->once
[all...]
H A Dgthr-rtems.h55 extern int rtems_gxx_once (__gthread_once_t *once, void (*func) (void));
78 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
80 return rtems_gxx_once( once, func );
H A Dgthr-win32.h385 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
388 return __gthr_win32_once (once, func);
463 __gthread_once (__gthread_once_t *once, void (*func) (void)) argument
467 else if (once == NULL || func == NULL)
470 if (! once->done)
472 if (InterlockedIncrement (&(once->started)) == 0)
475 once->done = TRUE;
484 while (! once->done)
/openbsd-current/games/hack/
H A Ddef.trap.h70 unsigned once:1; member in struct:trap
/openbsd-current/gnu/usr.bin/clang/include/clang/Config/
H A Dconfig.h4 #error config.h can only be included once
/openbsd-current/gnu/gcc/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)
/openbsd-current/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Deh_globals.cc65 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local
66 if (__gthread_once (&once, get_globals_init) != 0
H A Deh_alloc.cc108 static __gthread_once_t once = __GTHREAD_ONCE_INIT; local
109 __gthread_once (&once, emergency_mutex_init);
/openbsd-current/gnu/gcc/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:__anon291
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))
/openbsd-current/usr.bin/dig/lib/isc/
H A Dresult.c104 static int once = 0; variable
151 if (!once) {
152 once = 1;
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dvars.t13 # catch "used once" warnings
24 my $e = !(grep /^Name "X::x" used only once: possible typo/, @warns) && 'not ';
26 $e = !(grep /^Name "main::x" used only once: possible typo/, @warns) && 'not ';
28 $e = !(grep /^Name "main::y" used only once: possible typo/, @warns) && 'not ';
30 $e = !(grep /^Name "main::z" used only once: possible typo/, @warns) && 'not ';
36 # to avoid "used once" warnings
/openbsd-current/usr.sbin/mopd/mopprobe/
H A Dmopprobe.c51 struct once { struct
53 struct once *next; /* Next one */
60 int OnceFlag = 0; /* print only once */
63 struct once *root = NULL;
129 struct once *o = NULL;
168 o = (struct once *)malloc(sizeof(*o));

Completed in 405 milliseconds

123456789