Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/netbsd/src/games/hack/
Dhack.vault.c117 static struct monst *guard; variable
128 struct egd *egd = monster_private(guard); in restfakecorr()
144 mondead(guard); in restfakecorr()
145 guard = 0; in restfakecorr()
152 struct egd *egd = monster_private(guard); in goldincorridor()
166 guard = mtmp; in setgd()
170 guard = 0; in setgd()
182 if (++u.uinvault % 50 == 0 && (!guard || gdlevel != dlevel)) { in invault()
223 if (!(guard = makemon(&pm_guard, x, y))) in invault()
225 guard->isgd = guard->mpeaceful = 1; in invault()
[all …]
/netbsd/src/external/bsd/libc++/dist/libcxxrt/src/
Dguard.cc76 #define LOCK_PART(guard) (guard) argument
77 #define INIT_PART(guard) (guard) argument
88 #define LOCK_PART(guard) (guard) argument
89 #define INIT_PART(guard) (guard) argument
108 #define LOCK_PART(guard) (&(guard)->lock_half) argument
109 #define INIT_PART(guard) (&(guard)->init_half) argument
/netbsd/src/lib/libc/gen/
Dctype_guard.h113 #define __ctype_table_size(name, guard, nelem, elemsize) \ argument
114 __CTASSERT(sizeof((guard)[0]) == (elemsize)); \
115 __CTASSERT(sizeof(guard) == _CTYPE_GUARD_SIZE + (nelem)*(elemsize)); \
144 # define __ctype_table_guarded(name, guard, nelem, elemsize) \ argument
147 __asm(_C_LABEL_STRING(#name) " = " _C_LABEL_STRING(#guard) " + " \
149 __ctype_table_size(name, guard, nelem, elemsize)
166 # define __ctype_table_guarded(name, guard, nelem, elemsize) \ argument
168 __strong_alias(name, guard) \
169 __ctype_table_size(name, guard, nelem, elemsize)
/netbsd/src/crypto/external/bsd/openssl/dist/util/
Dmkerr.pl319 my $guard = $hfile;
321 if ($guard =~ m|^include/|) {
322 $guard = $';
324 $guard = basename($guard);
326 $guard = "OSSL_" . join('_', split(m|[./]|, uc $guard));
340 #ifndef $guard
341 # define $guard
414 my $guard = $hfile;
415 $guard =~ s|^include/||;
416 $guard = join('_', split(m|[./]|, uc $guard));
[all …]
/netbsd/src/sys/kern/
Dkern_ssp.c69 long guard[__arraycount(stack_chk_guard)]; in ssp_init() local
71 cprng_fast(guard, sizeof(guard)); in ssp_init()
73 for (i = 0; i < __arraycount(guard); i++) in ssp_init()
74 stack_chk_guard[i] = guard[i]; in ssp_init()
76 for (i = 0; i < __arraycount(guard); i++) in ssp_init()
77 aprint_debug("%lx ", guard[i]); in ssp_init()
/netbsd/src/usr.bin/rpcgen/
Drpc_main.c498 char *guard, *tmp, *tmp2, *extdot; in generate_guard() local
502 guard = strdup(filename); in generate_guard()
503 if (guard == NULL) { in generate_guard()
506 extdot = strrchr(guard, '.'); in generate_guard()
514 for (tmp = guard; *tmp; tmp++) { in generate_guard()
535 if (guard[0] == '_' || guard[0] == '.') { in generate_guard()
536 if (asprintf(&tmp2, "RPCGEN_%s", guard) == -1) { in generate_guard()
539 free(guard); in generate_guard()
540 guard = tmp2; in generate_guard()
544 tmp2 = extendfile(guard, "_H_RPCGEN"); in generate_guard()
[all …]
/netbsd/src/sys/arch/hppa/spmath/
Dcnv_float.h116 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument
118 guard = Dbit3p2(srcB); \
120 inexact = guard | sticky; \
123 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
129 guard = inexact >> 31; \
152 if (guard && (sticky || odd)) { \
162 guard = odd; \
164 inexact |= guard; \
172 guard = inexact >> 31; \
185 guard = inexact >> 31; \
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl2.cc3428 copy_linkage (tree guard, tree decl) in copy_linkage() argument
3430 TREE_PUBLIC (guard) = TREE_PUBLIC (decl); in copy_linkage()
3431 TREE_STATIC (guard) = TREE_STATIC (decl); in copy_linkage()
3432 DECL_COMMON (guard) = DECL_COMMON (decl); in copy_linkage()
3433 DECL_COMDAT (guard) = DECL_COMDAT (decl); in copy_linkage()
3434 if (TREE_STATIC (guard)) in copy_linkage()
3436 CP_DECL_THREAD_LOCAL_P (guard) = CP_DECL_THREAD_LOCAL_P (decl); in copy_linkage()
3437 set_decl_tls_model (guard, DECL_TLS_MODEL (decl)); in copy_linkage()
3439 make_decl_one_only (guard, cxx_comdat_group (guard)); in copy_linkage()
3441 DECL_WEAK (guard) = DECL_WEAK (decl); in copy_linkage()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/wind/
Dgenerate.py72 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')
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-ssa-loop-unswitch.cc512 edge exit, guard; in tree_unswitch_outer_loop() local
541 while ((guard = find_loop_guard (loop, dbg_to_reset))) in tree_unswitch_outer_loop()
545 hoist_guard (loop, guard); in tree_unswitch_outer_loop()
819 hoist_guard (class loop *loop, edge guard) in hoist_guard() argument
827 basic_block guard_bb = guard->src; in hoist_guard()
850 if (guard == te) in hoist_guard()
863 guard->probability.dump (buffer); in hoist_guard()
868 guard->src->index, guard->dest->index, in hoist_guard()
874 if (guard == fe) in hoist_guard()
890 new_edge->probability = guard->probability; in hoist_guard()
[all …]
/netbsd/src/external/apache2/mDNSResponder/dist/mDNSShared/
DPlatformCommon.c95 mDNSu32 guard[2]; in mallocL() local
104 guard[0] = kGuardMagic; in mallocL()
106 guard[1] = size; in mallocL()
107 memcpy(after, &guard, sizeof guard); in mallocL()
116 mDNSu32 guard[2]; in callocL() local
130 guard[0] = kGuardMagic; in callocL()
132 guard[1] = size; in callocL()
133 memcpy(after, guard, sizeof guard); in callocL()
151 mDNSu32 guard[2]; in freeL() local
153 memcpy(guard, after, sizeof guard); in freeL()
[all …]
/netbsd/src/usr.bin/make/
Dcond.c1182 Guard *guard; in Cond_ExtractGuard() local
1202 guard = bmake_malloc(sizeof(*guard)); in Cond_ExtractGuard()
1203 guard->kind = GK_TARGET; in Cond_ExtractGuard()
1204 guard->name = ParseWord(&arg_p, true); in Cond_ExtractGuard()
1205 return guard; in Cond_ExtractGuard()
1215 guard = bmake_malloc(sizeof(*guard)); in Cond_ExtractGuard()
1216 guard->kind = GK_VARIABLE; in Cond_ExtractGuard()
1217 guard->name = bmake_strsedup(varname, p); in Cond_ExtractGuard()
1218 return guard; in Cond_ExtractGuard()
Dparse.c138 Guard *guard; member
1219 Guard *guard = HashTable_FindValue(&guards, fullname); in SkipGuarded() local
1220 if (guard != NULL && guard->kind == GK_VARIABLE in SkipGuarded()
1221 && GNode_ValueDirect(SCOPE_GLOBAL, guard->name) != NULL) in SkipGuarded()
1223 if (guard != NULL && guard->kind == GK_TARGET in SkipGuarded()
1224 && Targ_FindNode(guard->name) != NULL) in SkipGuarded()
1230 fullname, guard->name); in SkipGuarded()
2173 curFile->guard = NULL; in Parse_PushInput()
2318 HashEntry_Set(he, curFile->guard); in ParseEOF()
2319 } else if (curFile->guard != NULL) { in ParseEOF()
[all …]
/netbsd/src/external/gpl3/binutils/dist/
Dylwrap43 guard () function
137 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/external/gpl3/gdb/dist/
Dylwrap43 guard () function
137 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/external/gpl3/gcc/dist/
Dylwrap43 guard () function
137 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/tests/lib/libpthread/
Dt_stack.c282 void *addr, *guard; in checkguardaccessthread() local
297 guard = (char *)addr + size; in checkguardaccessthread()
299 guard = (char *)addr - guardsize; in checkguardaccessthread()
311 checksigsegv(guard); in checkguardaccessthread()
312 checksigsegv((char *)guard + guardsize - 1); in checkguardaccessthread()
/netbsd/src/external/lgpl3/gmp/dist/
Dylwrap43 guard () function
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/crypto/external/bsd/heimdal/dist/
Dylwrap43 guard () function
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/build-aux/
Dylwrap43 guard ()
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/external/bsd/am-utils/dist/
Dylwrap43 guard () function
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
Dylwrap.amd43 guard () function
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/netbsd/src/tests/lib/libc/string/
Dt_memmem.c111 char *guard = mmap(src + pg, pg, in ATF_TC_BODY() local
113 printf("%p\n", guard); in ATF_TC_BODY()
123 munmap(guard, pg); in ATF_TC_BODY()
/netbsd/src/lib/libpthread/
Dpthread_attr.c166 pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guard) in pthread_attr_getguardsize() argument
174 *guard = pthread__guardsize; in pthread_attr_getguardsize()
176 *guard = p->ptap_guardsize; in pthread_attr_getguardsize()
183 pthread_attr_setguardsize(pthread_attr_t *attr, size_t guard) in pthread_attr_setguardsize() argument
194 p->ptap_guardsize = guard; in pthread_attr_setguardsize()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dextension.c719 std::lock_guard guard (ext_lang_mutex); in scoped_disable_cooperative_sigint_handling()
740 std::lock_guard guard (ext_lang_mutex); in ~scoped_disable_cooperative_sigint_handling()
782 std::lock_guard guard (ext_lang_mutex); in set_active_ext_lang()
838 std::lock_guard guard (ext_lang_mutex); in restore_active_ext_lang()
872 std::lock_guard guard (ext_lang_mutex); in set_quit_flag()
897 std::lock_guard guard (ext_lang_mutex); in check_quit_flag()

12345678910>>...13