/src/sys/netipsec/ |
key_debug.h | 58 #define KEYDEBUG_ON(lev) ((key_debug_level & (lev)) == (lev)) 60 #define KEYDEBUG_PRINTF(lev, fmt, ...) \ 62 if (KEYDEBUG_ON((lev))) \
|
ipsec.c | 1299 #define IPSEC_CHECK_DEFAULT(lev) \ 1300 (((lev) != IPSEC_LEVEL_USE && (lev) != IPSEC_LEVEL_REQUIRE \ 1301 && (lev) != IPSEC_LEVEL_UNIQUE) ? \ 1302 (ipsec_debug ? log(LOG_INFO, "fixed system default level " #lev \ 1303 ":%d->%d\n", (lev), IPSEC_LEVEL_REQUIRE) : (void)0), \ 1304 (lev) = IPSEC_LEVEL_REQUIRE, (lev) \ 1305 : (lev))
|
/src/sys/arch/mipsco/include/ |
intr.h | 58 #define CALL_INTR(lev) ((*intrtab[lev].ih_fun)(intrtab[lev].ih_arg))
|
/src/usr.bin/spell/spellprog/ |
spellprog.c | 436 suffix(char *ep, size_t lev) 442 lev += DLEV; 443 getderiv(lev + 1); 444 deriv.buf[lev] = deriv.buf[lev - 1] = 0; 455 if ((*t->p1)(ep - t->n1, t->d1, t->a1, lev + 1)) 458 deriv.buf[lev] = deriv.buf[lev + 1] = NULL; 459 return (*t->p2)(ep - t->n2, t->d2, t->a2, lev); 469 nop(char *ep, const char *d, const char *a, size_t lev) [all...] |
/src/games/hack/ |
hack.lev.c | 1 /* $NetBSD: hack.lev.c,v 1.14 2011/08/06 20:32:25 dholland Exp $ */ 66 __RCSID("$NetBSD: hack.lev.c,v 1.14 2011/08/06 20:32:25 dholland Exp $"); 85 savelev(int fd, xchar lev) 94 if (lev >= 0 && lev <= MAXLEVEL) 95 level_exists[lev] = TRUE; 98 bwrite(fd, &lev, sizeof(lev)); 209 getlev(int fd, int pid, xchar lev) 224 if ((pid && pid != hpid) || (lev && dlvl != lev)) [all...] |
hack.apply.c | 334 struct rm *lev; local in function:dig 371 lev = &levl[dpx][dpy]; 375 } else if (!lev->typ || lev->typ == SCORR) { 376 lev->typ = CORR; 378 } else if (lev->typ == HWALL || lev->typ == VWALL 379 || lev->typ == SDOOR) { 380 lev->typ = xdnstair ? DOOR : ROOM; 442 struct rm *lev; local in function:use_pick_axe [all...] |
hack.read.c | 418 struct rm *lev; local in function:doread 428 lev = &(levl[zx][zy]); 429 if ((num = lev->typ) == 0) 432 lev->typ = CORR; 433 lev->scrsym = CORR_SYM; 435 lev->typ = DOOR; 436 lev->scrsym = '+'; 438 } else if (lev->seen) 444 lev->seen = lev->new = 1 [all...] |
hack.mkshop.c | 331 struct rm *lev; local in function:nexttodoor 334 if ((lev = &levl[sx + dx][sy + dy])->typ == DOOR || 335 lev->typ == SDOOR || lev->typ == LDOOR)
|
hack.c | 83 struct rm *lev; local in function:unsee 100 lev = &levl[x][y]; 101 if (!lev->lit && lev->scrsym == '.') { 102 lev->scrsym = ' '; 103 lev->new = 1; 123 struct rm *lev; local in function:seeoff 139 lev = &levl[x][y]; 140 if (!lev->lit && lev->scrsym == '.' [all...] |
hack.zap.c | 501 struct rm *lev; local in function:buzz 522 if ((lev = &levl[sx][sy])->typ) 551 if (lev->typ == POOL && abstype == 1 /* fire */ ) { 553 lev->typ = ROOM; 613 if (!ZAP_POS(lev->typ)) {
|
Makefile | 12 hack.lev.c hack.main.c hack.makemon.c hack.mhitu.c hack.mklev.c \
|
/src/usr.bin/logger/ |
logger.c | 159 int fac, lev; local in function:pencode 173 lev = decode(s, prioritynames); 174 if (lev < 0) 176 return ((lev & LOG_PRIMASK) | (fac & LOG_FACMASK));
|
/src/sys/dev/mvme/ |
pcctwo.c | 190 pcctwointr_evcnt(int lev) 193 return ((*sys_pcctwo->sc_isrevcnt)(sys_pcctwo->sc_isrcookie, lev));
|
/src/games/larn/ |
global.c | 16 * makemonst(lev) function to return monster number for a randomly 196 makemonst(lev) 197 int lev; 203 makemonst(int lev) 206 if (lev < 1) 207 lev = 1; 208 if (lev > 12) 209 lev = 12; 211 if (lev < 5) 213 tmp = rnd((x = monstlevel[lev - 1]) ? x : 1) [all...] |
monster.c | 78 * newobject(lev,i) Routine to return a randomly selected new object 79 * int lev,*i; 1365 * newobject(lev,i) Routine to return a randomly selected new object 1366 * int lev,*i; 1382 newobject(int lev, int *i) 1387 if (lev > 6) 1389 else if (lev > 4) 1409 *i = rnd((lev + 1) * 10) + lev * 10 + 10; 1415 *i = lev; [all...] |
scores.c | 80 short lev; /* player level */ member in struct:log_fmt 693 logg.lev = c[LEVEL]; 789 lprintf(" Experience Level: %ld, AC: %ld, HP: %ld/%ld, Elapsed Time: %ld minutes\n", (long) (logg.lev), (long) (logg.ac), (long) (logg.hp), (long) (logg.hpmax), (long) (logg.elapsedtime));
|
object.c | 1195 readbook(int lev) 1198 if (lev <= 3) 1199 i = rund((tmp = splev[lev]) ? tmp : 1); 1201 i = rnd((tmp = splev[lev] - 9) ? tmp : 1) + 9;
|
/src/sys/dev/usb/ |
ehcivar.h | 146 #define EHCI_IQHIDX(lev, pos) \ 147 ((((pos) & ((1 << (lev)) - 1)) | (1 << (lev))) - 1) 148 #define EHCI_ILEV_IVAL(lev) (1 << (lev))
|
/src/usr.bin/m4/ |
main.c | 744 record(struct position *t, int lev) 746 if (lev < MAXRECORD) { 747 t[lev].name = CURRENT_NAME; 748 t[lev].line = CURRENT_LINE; 753 dump_stack(struct position *t, int lev) 757 for (i = 0; i < lev; i++) {
|
/src/sys/dev/iscsi/ |
iscsi_globals.h | 541 #define DEB(lev,x) { if (iscsi_debug_level >= lev) printf x ;} 542 #define DEBC(conn,lev,x) { if (iscsi_debug_level >= lev) { printf("S%dC%d: ", \ 551 #define DEB(lev,x) 552 #define DEBC(conn,lev,x)
|
/src/lib/libc/regex/ |
engine.c | 115 static const char *backref(struct match *m, const char *start, const char *stop, sopno startst, sopno stopst, sopno lev, int); 638 == const char *stop, sopno startst, sopno stopst, sopno lev); 647 sopno lev, /* PLUS nesting level */ 798 return(backref(m, sp+len, stop, ss+1, stopst, lev, rec)); 800 dp = backref(m, sp, stop, ss+1, stopst, lev, rec); 803 return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev, rec)); 806 assert(lev+1 <= m->g->nplus); 807 m->lastpos[lev+1] = sp; 808 return(backref(m, sp, stop, ss+1, stopst, lev+1, rec)); 810 if (sp == m->lastpos[lev]) /* last pass matched null * [all...] |
/src/sys/arch/emips/stand/common/ |
ace.c | 91 #define DBGME(lev,x) \ 93 if (lev >= acedebug) { \ 98 #define DBGME(lev,x)
|
/src/sbin/iscsid/ |
iscsid_globals.h | 387 #define DEB(lev,x) { if (debug_level >= lev) iscsid_log x ; }
|
/src/usr.sbin/acpitools/aml/ |
aml_common.c | 268 aml_showtree(struct aml_name * aname, int lev) 274 for (i = 0; i < lev; i++) { 286 aml_showtree(ptr, lev + 1);
|
/src/sbin/resize_ffs/ |
resize_ffs.c | 1128 markiblk(mark_callback_t fn, union dinode * di, off_t bn, off_t o, int lev) 1140 if (lev < 0) 1144 lev >= 0; 1145 j *= FFS_NINDIR(newsb), lev--); 1149 readat(FFS_FSBTODB(newsb, bn), indirblks[lev], newsb->fs_bsize); 1152 indirblks[lev][k] = bswap32(indirblks[lev][k]); 1155 j = markiblk(fn, di, indirblks[lev][i], o, lev - 1);
|