Searched refs:typ (Results 1 - 25 of 92) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/games/hack/
H A Ddef.rm.h84 #define IS_WALL(typ) ((typ) <= VWALL)
85 #define IS_ROCK(typ) ((typ) < POOL) /* absolutely nonaccessible */
86 #define ACCESSIBLE(typ) ((typ) >= DOOR) /* good position */
87 #define IS_ROOM(typ) ((typ) >= ROOM) /* ROOM or STAIRS */
88 #define ZAP_POS(typ) ((typ) > DOO
109 unsigned typ:5; member in struct:rm
[all...]
H A Dhack.search.c83 for (lx = u.ux; (num = levl[lx - 1][u.uy].typ) && num != CORR; lx--);
84 for (hx = u.ux; (num = levl[hx + 1][u.uy].typ) && num != CORR; hx++);
85 for (ly = u.uy; (num = levl[u.ux][ly - 1].typ) && num != CORR; ly--);
86 for (hy = u.uy; (num = levl[u.ux][hy + 1].typ) && num != CORR; hy++);
90 if (levl[zx][zy].typ == SDOOR) {
91 levl[zx][zy].typ = DOOR;
94 } else if (levl[zx][zy].typ == SCORR) {
95 levl[zx][zy].typ = CORR;
131 if (levl[x][y].typ == SDOOR) {
134 levl[x][y].typ
[all...]
H A Dhack.vault.c137 crm->typ = egd->fakecorr[fcbeg].ftyp;
138 if (!crm->typ)
196 if (levl[x][y].typ == CORR)
211 while (levl[x][y].typ == ROOM) {
260 egd->fakecorr[0].ftyp = levl[x][y].typ;
261 levl[x][y].typ = DOOR;
269 int x, y, dx, dy, gx, gy, nx, ny, typ; local
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ !
[all...]
H A Dhack.mklev.c146 levl[xdnstair][ydnstair].typ = STAIRS;
156 levl[xupstair][yupstair].typ = STAIRS;
396 if (levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR)
411 if (levl[x - 1][y].typ == DOOR || levl[x + 1][y].typ == DOOR ||
412 levl[x][y + 1].typ == DOOR || levl[x][y - 1].typ == DOOR ||
413 levl[x - 1][y].typ == SDOOR || levl[x + 1][y].typ
[all...]
H A Dhack.mkmaze.c90 levl[x][y].typ = (x % 2 && y % 2) ? 0 : HWALL;
98 levl[x][y].typ =
124 switch (levl[x][y].typ) {
155 levl[xupstair][yupstair].typ = STAIRS;
164 levl[x][y].typ = ROOM;
174 levl[x][y].typ = ROOM;
204 if (x < 3 || y < 3 || x > COLNO - 3 || y > ROWNO - 3 || levl[x][y].typ != 0)
H A Dhack.zap.c313 if (room->typ == HWALL ||
314 room->typ == VWALL) {
315 room->typ = ROOM;
318 } else if (room->typ == HWALL || room->typ == VWALL ||
319 room->typ == SDOOR || room->typ == LDOOR) {
320 room->typ = DOOR;
322 } else if (room->typ == SCORR || !room->typ) {
398 int typ; local
[all...]
H A Dhack.read.c429 if ((num = lev->typ) == 0)
432 lev->typ = CORR;
435 lev->typ = DOOR;
553 if (u.uswallow || !xdnstair || levl[u.ux][u.uy].typ == CORR ||
572 if (levl[u.ux][u.uy].typ == CORR) {
589 if (levl[u.ux][u.uy].typ == DOOR) {
590 if (IS_ROOM(levl[u.ux][u.uy + 1].typ))
592 else if (IS_ROOM(levl[u.ux][u.uy - 1].typ))
596 if (IS_ROOM(levl[u.ux + 1][u.uy].typ))
598 else if (IS_ROOM(levl[u.ux - 1][u.uy].typ))
[all...]
H A Dhack.apply.c283 if (!ZAP_POS(levl[bchx][bchy].typ)) {
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;
389 if (IS_WALL(levl[dpx][dpy].typ)) {
461 (IS_ROCK(levl[rx][ry].typ)
[all...]
H A Dhack.c171 IS_ROCK(levl[u.ux + u.dx][u.uy + u.dy].typ));
224 if (IS_ROCK(tmpr->typ) ||
225 (u.dx && u.dy && (tmpr->typ == DOOR || ust->typ == DOOR))) {
234 if (isok(rx, ry) && !IS_ROCK(levl[rx][ry].typ) &&
235 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) &&
255 if (levl[rx][ry].typ == POOL) {
256 levl[rx][ry].typ = ROOM;
286 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][u.uy + u.dy].typ)
287 && IS_ROCK(levl[u.ux + u.dx][u.uy].typ)))) {
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/ppc/
H A Dtest1xcoff32.d23 AUX val 8 prmhsh 0 snhsh 0 typ 1 algn 2 clss 1 stb 0 snstb 0
25 AUX val 96 prmhsh 0 snhsh 0 typ 1 algn 2 clss 0 stb 0 snstb 0
27 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
29 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
31 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
33 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
35 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
37 AUX val 12 prmhsh 0 snhsh 0 typ 1 algn 2 clss 5 stb 0 snstb 0
39 AUX val 0 prmhsh 0 snhsh 0 typ 1 algn 2 clss 15 stb 0 snstb 0
41 AUX val 4 prmhsh 0 snhsh 0 typ
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/amigappc/include/
H A Dbus_defs.h73 #define bsr(what, typ) \
74 typ (what)(bus_space_handle_t, bus_addr_t)
76 #define bsw(what, typ) \
79 #define bsrm(what, typ) \
80 void (what)(bus_space_handle_t, bus_size_t, typ *, bus_size_t)
82 #define bswm(what, typ) \
83 void (what)(bus_space_handle_t, bus_size_t, const typ *, bus_size_t)
85 #define bssr(what, typ) \
88 #define bscr(what, typ) \
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dip6.h275 * with type "typ".
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
292 (val) = (typ)(mtod(_t, char *) + _tmp); \
294 (val) = (typ)NULL; \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
304 (val) = (typ)mtod((m), void *); \
310 (val) = (typ)mtod(_t, void *); \
312 (val) = (typ)NULL; \
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/config/
H A Dxtensa-relax.h122 OpType typ; /* CONSTANT: op_data is a constant. member in struct:precondition
134 OpType typ; member in struct:build_op
157 InstrType typ; member in struct:build_instr
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint1/
H A Dscan.l484 tspec_t typ;
525 typ = contypes[u_suffix][l_suffix];
541 switch (typ) {
546 typ = UINT;
548 typ = LONG;
550 typ = ULONG;
556 if (typ == UINT || typ == ULONG) {
558 typ = LONG;
570 typ
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/landisk/stand/boot/
H A Dbiosdisk.c141 int typ; local
172 typ = mbr[i].mbrp_type;
173 if (typ == 0)
176 if (typ == MBR_PTYPE_NETBSD) {
181 if (MBR_IS_EXTENDED(typ)) {
186 if (this_ext == 0 && typ == MBR_PTYPE_386BSD)
197 p->p_fstype = xlat_mbr_fstype(typ);
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/Clients/
H A Ddns-sd.c892 const char *nam, const char *typ, const char *dom, const char *host, const char *port, int argc, char **argv)
904 printf("Registering Service %s.%s%s%s", nam[0] ? nam : "<<Default>>", typ, dom[0] ? "." : "", dom);
930 return(DNSServiceRegister(sdref, flags, opinterface, nam, typ, dom, host, registerPort.NotAnInteger, (uint16_t) (ptr-txt), txt, reg_reply, NULL));
934 static char *gettype(char *buffer, char *typ) argument
936 if (!typ || !*typ || (typ[0] == '.' && typ[1] == 0)) typ = "_http._tcp";
937 if (!strchr(typ, '
891 RegisterService(DNSServiceRef *sdref, const char *nam, const char *typ, const char *dom, const char *host, const char *port, int argc, char **argv) argument
944 char buffer[TypeBufferSize], *typ, *dom; local
[all...]
/netbsd-6-1-5-RELEASE/sys/miscfs/kernfs/
H A Dkernfs.h111 #define KERNFS_FILENO(kt, typ, cookie) \
114 : (((cookie + 1) << 6) | (typ)))
115 #define KERNFS_TYPE_FILENO(typ, cookie) \
116 (((cookie + 1) << 6) | (typ))
/netbsd-6-1-5-RELEASE/etc/
H A DMAKEDEV.awk268 typ = substr(line, RSTART + 1, 3);
270 if (typ == "uid") {
307 typ = substr(deventry, RSTART + RLENGTH - 4, 3);
308 if (typ == "blk") {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dtasn_new.c327 ASN1_TYPE *typ; local
357 typ = OPENSSL_malloc(sizeof(ASN1_TYPE));
358 if (!typ)
360 typ->value.ptr = NULL;
361 typ->type = -1;
362 *pval = (ASN1_VALUE *)typ;
H A Dtasn_fre.c220 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; local
221 utype = typ->type;
222 pval = &typ->value.asn1_value;
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/
H A Dbiosdisk.c414 int typ; local
428 typ = mbr[i].mbrp_type;
429 if (typ == 0)
437 p->p_fstype = xlat_mbr_fstype(typ);
451 int typ; local
485 typ = mbr[i].mbrp_type;
486 if (typ == 0)
490 printf("ptn type %d in sector %u\n", typ, sector);
492 if (typ == MBR_PTYPE_MINIX_14B) {
499 if (typ
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/amiga/include/
H A Dbus.h53 #define bsr(what, typ) \
54 typ (what)(bus_space_handle_t, bus_addr_t)
56 #define bsw(what, typ) \
59 #define bsrm(what, typ) \
60 void (what)(bus_space_handle_t, bus_size_t, typ *, bus_size_t)
62 #define bswm(what, typ) \
63 void (what)(bus_space_handle_t, bus_size_t, const typ *, bus_size_t)
65 #define bssr(what, typ) \
68 #define bscr(what, typ) \
/netbsd-6-1-5-RELEASE/sbin/init/
H A Dinit.c647 struct ttyent *typ; local
687 typ = getttynam("console");
689 if (typ && (from_securitylevel >=2 || (typ->ty_status
1083 new_session(session_t *sprev, int session_index, struct ttyent *typ) argument
1087 if ((typ->ty_status & TTY_ON) == 0 || typ->ty_name == NULL ||
1088 typ->ty_getty == NULL)
1099 (void)asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name);
1105 if (setupargv(sp, typ)
1126 setupargv(session_t *sp, struct ttyent *typ) argument
1167 struct ttyent *typ; local
1513 struct ttyent *typ; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/arch/amd64/
H A Dcode.c140 int typ, ssz, rno; local
150 if ((typ = argtyp(t, sp->sdf, sp->sap)) == STRREG || typ == STRCPX) {
158 if (typ == STRCPX) {
175 } else if (typ == STRMEM) {
201 int i, rno, typ; local
224 switch (typ = argtyp(sp->stype, sp->sdf, sp->sap)) {
227 if (typ == SSE)
279 if (typ == STRCPX) {
292 regno(r) = (typ
492 mkstkref(int off, TWORD typ) argument
680 int typ, r, ssz; local
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/roff/troff/
H A Dcolumn.cpp116 symbol typ; member in class:vjustify_output_line
128 return typ;
226 : position_output_line(d), typ(t)
351 void column::vjustify(vunits pos, symbol typ) argument
354 add_output_line(new vjustify_output_line(pos - bottom, typ));
655 symbol typ; member in class:vjustify_node
665 : typ(t)
671 return new vjustify_node(typ, div_nest_level);
681 return typ == ((vjustify_node *)nd)->typ;
[all...]

Completed in 322 milliseconds

1234