HomeSort by: relevance | last modified time | path
    Searched refs:guard (Results 1 - 25 of 281) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl3/gcc.old/dist/libgcc/config/
vxlib.c 59 __gthread_once (__gthread_once_t *guard, void (*func)(void))
61 if (guard->done)
67 while (!vxTas ((void *)&guard->busy))
72 if (guard->done)
81 if (!guard->done)
84 guard->done = 1;
90 guard->busy = 0;
  /src/external/gpl3/gdb/dist/gnulib/import/
windows-mutex.c 31 mutex->guard.done = 1;
37 if (!mutex->guard.done)
39 if (InterlockedIncrement (&mutex->guard.started) == 0)
44 /* Don't let mutex->guard.started grow and wrap around. */
45 InterlockedDecrement (&mutex->guard.started);
48 while (!mutex->guard.done)
59 if (!mutex->guard.done)
61 if (InterlockedIncrement (&mutex->guard.started) == 0)
66 /* Don't let mutex->guard.started grow and wrap around. */
67 InterlockedDecrement (&mutex->guard.started)
    [all...]
windows-recmutex.c 33 mutex->guard.done = 1;
39 if (!mutex->guard.done)
41 if (InterlockedIncrement (&mutex->guard.started) == 0)
46 /* Don't let mutex->guard.started grow and wrap around. */
47 InterlockedDecrement (&mutex->guard.started);
50 while (!mutex->guard.done)
73 if (!mutex->guard.done)
75 if (InterlockedIncrement (&mutex->guard.started) == 0)
80 /* Don't let mutex->guard.started grow and wrap around. */
81 InterlockedDecrement (&mutex->guard.started)
    [all...]
mbtowc-lock.c 64 static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; variable
71 if (!guard.done)
73 if (InterlockedIncrement (&guard.started) == 0)
77 guard.done = 1;
81 /* Don't let guard.started grow and wrap around. */
82 InterlockedDecrement (&guard.started);
85 while (!guard.done)
setlocale-lock.c 64 static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; variable
71 if (!guard.done)
73 if (InterlockedIncrement (&guard.started) == 0)
77 guard.done = 1;
81 /* Don't let guard.started grow and wrap around. */
82 InterlockedDecrement (&guard.started);
85 while (!guard.done)
windows-rwlock.c 130 lock->guard.done = 1;
136 if (!lock->guard.done)
138 if (InterlockedIncrement (&lock->guard.started) == 0)
143 /* Don't let lock->guard.started grow and wrap around. */
144 InterlockedDecrement (&lock->guard.started);
147 while (!lock->guard.done)
196 if (!lock->guard.done)
198 if (InterlockedIncrement (&lock->guard.started) == 0)
203 /* Don't let lock->guard.started grow and wrap around. */
204 InterlockedDecrement (&lock->guard.started)
    [all...]
windows-mutex.h 30 glwthread_initguard_t guard; /* protects the initialization */ member in struct:__anon18423
windows-recmutex.h 34 glwthread_initguard_t guard; /* protects the initialization */ member in struct:__anon18425
  /src/external/gpl3/gdb.old/dist/gnulib/import/
windows-mutex.c 31 mutex->guard.done = 1;
37 if (!mutex->guard.done)
39 if (InterlockedIncrement (&mutex->guard.started) == 0)
44 /* Don't let mutex->guard.started grow and wrap around. */
45 InterlockedDecrement (&mutex->guard.started);
48 while (!mutex->guard.done)
59 if (!mutex->guard.done)
61 if (InterlockedIncrement (&mutex->guard.started) == 0)
66 /* Don't let mutex->guard.started grow and wrap around. */
67 InterlockedDecrement (&mutex->guard.started)
    [all...]
windows-recmutex.c 33 mutex->guard.done = 1;
39 if (!mutex->guard.done)
41 if (InterlockedIncrement (&mutex->guard.started) == 0)
46 /* Don't let mutex->guard.started grow and wrap around. */
47 InterlockedDecrement (&mutex->guard.started);
50 while (!mutex->guard.done)
73 if (!mutex->guard.done)
75 if (InterlockedIncrement (&mutex->guard.started) == 0)
80 /* Don't let mutex->guard.started grow and wrap around. */
81 InterlockedDecrement (&mutex->guard.started)
    [all...]
mbtowc-lock.c 64 static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; variable
71 if (!guard.done)
73 if (InterlockedIncrement (&guard.started) == 0)
77 guard.done = 1;
81 /* Don't let guard.started grow and wrap around. */
82 InterlockedDecrement (&guard.started);
85 while (!guard.done)
setlocale-lock.c 64 static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; variable
71 if (!guard.done)
73 if (InterlockedIncrement (&guard.started) == 0)
77 guard.done = 1;
81 /* Don't let guard.started grow and wrap around. */
82 InterlockedDecrement (&guard.started);
85 while (!guard.done)
windows-rwlock.c 130 lock->guard.done = 1;
136 if (!lock->guard.done)
138 if (InterlockedIncrement (&lock->guard.started) == 0)
143 /* Don't let lock->guard.started grow and wrap around. */
144 InterlockedDecrement (&lock->guard.started);
147 while (!lock->guard.done)
196 if (!lock->guard.done)
198 if (InterlockedIncrement (&lock->guard.started) == 0)
203 /* Don't let lock->guard.started grow and wrap around. */
204 InterlockedDecrement (&lock->guard.started)
    [all...]
windows-mutex.h 30 glwthread_initguard_t guard; /* protects the initialization */ member in struct:__anon21164
windows-recmutex.h 34 glwthread_initguard_t guard; /* protects the initialization */ member in struct:__anon21166
  /src/external/bsd/zstd/dist/contrib/pzstd/utils/test/
ScopeGuardTest.cpp 17 auto guard = makeScopeGuard([&] { EXPECT_TRUE(false); }); local
18 guard.dismiss();
25 auto guard = makeScopeGuard([&] { executed = true; }); local
  /src/sys/kern/
kern_ssp.c 69 long guard[__arraycount(stack_chk_guard)]; local
71 cprng_fast(guard, sizeof(guard));
73 for (i = 0; i < __arraycount(guard); i++)
74 stack_chk_guard[i] = guard[i];
76 for (i = 0; i < __arraycount(guard); i++)
77 aprint_debug("%lx ", guard[i]);
  /src/lib/libc/gen/
ctype_guard.h 63 * for the defined cases of the ctype(3) functions, we put a guard page
74 * beginning for a guard page. It is defined as an ordinary C
90 * Then, at startup, we mprotect the guard page PROT_NONE.
115 #define __ctype_table_size(name, guard, nelem, elemsize) \
116 __CTASSERT(sizeof((guard)[0]) == (elemsize)); \
117 __CTASSERT(sizeof(guard) == _CTYPE_GUARD_SIZE + (nelem)*(elemsize)); \
152 # define __ctype_table_guarded(name, guard, nelem, elemsize) \
155 __asm(_C_LABEL_STRING(#name) " = " _C_LABEL_STRING(#guard) " + " \
157 __ctype_table_size(name, guard, nelem, elemsize)
176 # define __ctype_table_guarded(name, guard, nelem, elemsize)
    [all...]
  /src/external/bsd/libc++/dist/libcxxrt/src/
guard.cc 28 * guard.cc: Functions for thread-safe static initialisation.
67 * The least significant bit of the guard variable indicates that the object
76 #define LOCK_PART(guard) (guard)
77 #define INIT_PART(guard) (guard)
88 #define LOCK_PART(guard) (guard)
89 #define INIT_PART(guard) (guard)
    [all...]
  /src/external/mit/isl/dist/
isl_ast_graft.c 52 /* Create a graft for "node" with guards "guard" and
56 __isl_take isl_set *guard, __isl_take isl_basic_set *enforced)
61 if (!node || !guard || !enforced)
71 graft->guard = guard;
77 isl_set_free(guard);
88 isl_set *guard; local
96 guard = isl_set_universe(isl_space_copy(space));
99 return graft_alloc(node, guard, enforced);
126 /* Do all the grafts in "list" have the same guard and is this guar
235 isl_set *guard; local
554 isl_set *guard; member in struct:isl_if_node
618 isl_set *guard; local
943 isl_set *guard; local
1358 isl_set *guard; local
1547 isl_set *guard; local
    [all...]
  /src/games/hack/
hack.vault.c 109 xchar gdx, gdy; /* goal of guard's walk */
115 {"guard", '@', 12, 12, -1, 4, 10, sizeof(struct egd)};
117 static struct monst *guard; variable in typeref:struct:monst
128 struct egd *egd = monster_private(guard);
143 /* it seems he left the corridor - let the guard disappear */
144 mondead(guard);
145 guard = 0;
152 struct egd *egd = monster_private(guard);
166 guard = mtmp;
170 guard = 0
    [all...]
  /src/external/gpl3/binutils/dist/gprofng/libcollector/
iotrace.c 916 int *guard; local
932 if (CHCK_REENTRANCE (guard) || path == NULL)
934 PUSH_REENTRANCE (guard);
937 if (RECHCK_REENTRANCE (guard))
939 POP_REENTRANCE (guard);
971 POP_REENTRANCE (guard);
980 int *guard; local
986 if (CHCK_REENTRANCE (guard) || path == NULL)
988 PUSH_REENTRANCE (guard);
991 if (RECHCK_REENTRANCE (guard) || path == NULL
1068 int *guard; local
1171 int *guard; local
1232 int *guard; local
1288 int *guard; local
1345 int *guard; local
1400 int *guard; local
1455 int *guard; local
1490 int *guard; variable
1504 POP_REENTRANCE (guard); variable
1542 POP_REENTRANCE (guard); variable
1564 int *guard; local
1612 int *guard; local
1650 int *guard; variable
1662 POP_REENTRANCE (guard); variable
1679 POP_REENTRANCE (guard); variable
1701 int *guard; local
1739 int *guard; local
1776 int *guard; local
1824 int *guard; local
1860 int *guard; local
1896 int *guard; local
1932 int *guard; local
1968 int *guard; local
2004 int *guard; local
2045 int *guard; local
2087 int *guard; local
2138 int *guard; local
2160 int *guard; local
2187 int *guard; local
2209 int *guard; local
2232 int *guard; local
2277 int *guard; local
2318 int *guard; local
2359 int *guard; local
2404 int *guard; local
2440 int *guard; local
2475 int *guard; local
2510 int *guard; local
2563 int *guard; local
2616 int *guard; local
2669 int *guard; local
2722 int *guard; local
2757 int *guard; local
2810 int *guard; local
2845 int *guard; local
2878 int *guard; local
2914 int *guard; local
2962 int *guard; local
3012 int *guard; local
3061 int *guard; local
3110 int *guard; local
3145 int *guard; local
3179 int *guard; local
3214 int *guard; local
    [all...]
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
iotrace.c 916 int *guard; local
932 if (CHCK_REENTRANCE (guard) || path == NULL)
934 PUSH_REENTRANCE (guard);
937 if (RECHCK_REENTRANCE (guard))
939 POP_REENTRANCE (guard);
971 POP_REENTRANCE (guard);
980 int *guard; local
986 if (CHCK_REENTRANCE (guard) || path == NULL)
988 PUSH_REENTRANCE (guard);
991 if (RECHCK_REENTRANCE (guard) || path == NULL
1068 int *guard; local
1171 int *guard; local
1232 int *guard; local
1288 int *guard; local
1345 int *guard; local
1400 int *guard; local
1455 int *guard; local
1490 int *guard; variable
1504 POP_REENTRANCE (guard); variable
1542 POP_REENTRANCE (guard); variable
1564 int *guard; local
1612 int *guard; local
1650 int *guard; variable
1662 POP_REENTRANCE (guard); variable
1679 POP_REENTRANCE (guard); variable
1701 int *guard; local
1739 int *guard; local
1776 int *guard; local
1824 int *guard; local
1860 int *guard; local
1896 int *guard; local
1932 int *guard; local
1968 int *guard; local
2004 int *guard; local
2045 int *guard; local
2087 int *guard; local
2138 int *guard; local
2160 int *guard; local
2187 int *guard; local
2209 int *guard; local
2232 int *guard; local
2277 int *guard; local
2318 int *guard; local
2359 int *guard; local
2404 int *guard; local
2440 int *guard; local
2475 int *guard; local
2510 int *guard; local
2563 int *guard; local
2616 int *guard; local
2669 int *guard; local
2722 int *guard; local
2757 int *guard; local
2810 int *guard; local
2845 int *guard; local
2878 int *guard; local
2914 int *guard; local
2962 int *guard; local
3012 int *guard; local
3061 int *guard; local
3110 int *guard; local
3145 int *guard; local
3179 int *guard; local
3214 int *guard; local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/safestack/
safestack.cc 83 // protector pass to store the stack guard (see getStackCookieLocation()
101 static inline void *unsafe_stack_alloc(size_t size, size_t guard) {
102 CHECK_GE(size + guard, size);
103 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc");
104 MprotectNoAccess((uptr)addr, (uptr)guard);
105 return (char *)addr + guard;
108 static inline void unsafe_stack_setup(void *start, size_t size, size_t guard) {
110 CHECK_GE((char *)start + guard, (char *)start);
117 unsafe_stack_guard = guard;
223 size_t guard = 0 local
274 size_t guard = 4096; local
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/wind/
generate.py 66 """Return a name to be used as ifdef guard"""
72 self.guard = self.makeGuard()
73 self.file.write('#ifndef ' + self.guard + '\n')
74 self.file.write('#define ' + self.guard + ' 1\n')
78 self.file.write('#endif /* ' + self.guard + ' */\n')

Completed in 47 milliseconds

1 2 3 4 5 6 7 8 91011>>