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

1 2 3

  /src/games/hack/
def.rm.h 84 #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) > DOOR
109 unsigned typ:5; member in struct:rm
    [all...]
hack.search.c 83 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 = DOOR
    [all...]
hack.vault.c 137 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 in function:gd_move
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL)
    [all...]
hack.mklev.c 146 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 == SDOOR |
    [all...]
hack.mkmaze.c 90 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)
hack.zap.c 313 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 in function:bhit
    [all...]
hack.read.c 429 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...]
hack.apply.c 283 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...]
hack.c 171 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...]
hack.objnam.c 453 int cnt, spe, spesgn, typ, heavy; local in function:readobjnam
457 cnt = spe = spesgn = typ = heavy = 0;
575 typ = AMULET_OF_YENDOR;
612 typ = HEAVY_IRON_BALL;
633 typ = i;
641 typ = probtype(let);
645 let = objects[typ].oc_olet;
646 otmp = mksobj(typ);
650 (cnt < 4 || (let == WEAPON_SYM && typ <= ROCK && cnt < 20)))
665 else if (typ == WAN_WISHING && rn2(10)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_suppressions.cc 68 static const char *conv(ReportType typ) {
69 if (typ == ReportTypeRace)
71 else if (typ == ReportTypeVptrRace)
73 else if (typ == ReportTypeUseAfterFree)
75 else if (typ == ReportTypeVptrUseAfterFree)
77 else if (typ == ReportTypeExternalRace)
79 else if (typ == ReportTypeThreadLeak)
81 else if (typ == ReportTypeMutexDestroyLocked)
83 else if (typ == ReportTypeMutexDoubleLock)
85 else if (typ == ReportTypeMutexInvalidAccess
    [all...]
tsan_suppressions.h 33 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
34 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
tsan_debugging.cc 22 static const char *ReportTypeDescription(ReportType typ) {
23 if (typ == ReportTypeRace) return "data-race";
24 if (typ == ReportTypeVptrRace) return "data-race-vptr";
25 if (typ == ReportTypeUseAfterFree) return "heap-use-after-free";
26 if (typ == ReportTypeVptrUseAfterFree) return "heap-use-after-free-vptr";
27 if (typ == ReportTypeExternalRace) return "external-race";
28 if (typ == ReportTypeThreadLeak) return "thread-leak";
29 if (typ == ReportTypeMutexDestroyLocked) return "locked-mutex-destroy";
30 if (typ == ReportTypeMutexDoubleLock) return "mutex-double-lock";
31 if (typ == ReportTypeMutexInvalidAccess) return "mutex-invalid-access"
    [all...]
tsan_report.cc 79 static const char *ReportTypeString(ReportType typ, uptr tag) {
80 if (typ == ReportTypeRace)
82 if (typ == ReportTypeVptrRace)
84 if (typ == ReportTypeUseAfterFree)
86 if (typ == ReportTypeVptrUseAfterFree)
88 if (typ == ReportTypeExternalRace) {
92 if (typ == ReportTypeThreadLeak)
94 if (typ == ReportTypeMutexDestroyLocked)
96 if (typ == ReportTypeMutexDoubleLock)
98 if (typ == ReportTypeMutexInvalidAccess
    [all...]
tsan_rtl_report.cc 146 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) {
150 rep_->typ = typ;
374 ScopedReport::ScopedReport(ReportType typ, uptr tag)
375 : ScopedReportBase(typ, tag) {}
408 EventType typ = (EventType)(ev >> kEventPCBits); local in function:__tsan::RestoreStack
410 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc);
411 if (typ == EventTypeMop) {
413 } else if (typ == EventTypeFuncEnter)
622 ReportType typ = ReportTypeRace; local in function:__tsan::ReportRace
    [all...]
  /src/games/warp/
object.c 21 make_object(char typ, char img, int px, int py, int vx, int vy, long energ,
37 obj->type = typ;
50 if (typ != Torp && typ != Web) {
  /src/sys/arch/amigappc/include/
bus_defs.h 78 #define bsr(what, typ) \
79 typ (what)(bus_space_handle_t, bus_addr_t)
81 #define bsw(what, typ) \
84 #define bsrm(what, typ) \
85 void (what)(bus_space_handle_t, bus_size_t, typ *, bus_size_t)
87 #define bswm(what, typ) \
88 void (what)(bus_space_handle_t, bus_size_t, const typ *, bus_size_t)
90 #define bssr(what, typ) \
93 #define bscr(what, typ) \
  /src/common/lib/libprop/
prop_dictionary_util.c 79 #define TEMPLATE(name, typ) \
83 typ *valp) \
129 #define TEMPLATE(name, which, typ) \
133 typ val) \
139 #define STEMPLATE(name, typ) TEMPLATE(name, signed, typ)
140 #define UTEMPLATE(name, typ) TEMPLATE(name, unsigned, typ)
prop_array_util.c 72 #define TEMPLATE(name, typ) \
76 typ *valp) \
133 #define TEMPLATE(name, which, typ) \
137 typ val) \
145 typ val) \
151 #define STEMPLATE(name, typ) TEMPLATE(name, signed, typ)
152 #define UTEMPLATE(name, typ) TEMPLATE(name, unsigned, typ)
  /src/sys/arch/landisk/stand/boot/
biosdisk.c 142 int typ; local in function:read_label
173 typ = mbr[i].mbrp_type;
174 if (typ == 0)
177 if (typ == MBR_PTYPE_NETBSD) {
182 if (MBR_IS_EXTENDED(typ)) {
187 if (this_ext == 0 && typ == MBR_PTYPE_386BSD)
198 p->p_fstype = xlat_mbr_fstype(typ);
  /src/etc/
MAKEDEV.awk 113 typ = substr(md_deventry, RSTART + RLENGTH - 4, 3);
115 if (typ == "blk") {
305 typ = substr(line, RSTART + 1, 3);
307 if (typ == "uid") {
344 typ = substr(deventry, RSTART + RLENGTH - 4, 3);
345 if (typ == "blk") {
  /src/usr.sbin/mopd/common/
pf-linux2.c 89 pfInit(char *interface, int mode, u_short protocol, int typ)
99 prot = ((typ == TRANS_8023) ? htons(ETH_P_802_2) : htons(protocol));
115 if (setup_pf(s, protocol, typ) < 0)
138 setup_pf(int s, int typ, u_short prot)
  /src/sys/miscfs/kernfs/
kernfs.h 108 #define KERNFS_FILENO(kt, typ, cookie) \
111 : (((cookie + 1) << 6) | (typ)))
112 #define KERNFS_TYPE_FILENO(typ, cookie) \
113 (((cookie + 1) << 6) | (typ))
  /src/sys/arch/amiga/include/
bus.h 59 #define bsr(what, typ) \
60 typ (what)(bus_space_handle_t, bus_addr_t)
62 #define bsw(what, typ) \
65 #define bsrm(what, typ) \
66 void (what)(bus_space_handle_t, bus_size_t, typ *, bus_size_t)
68 #define bswm(what, typ) \
69 void (what)(bus_space_handle_t, bus_size_t, const typ *, bus_size_t)
71 #define bssr(what, typ) \
74 #define bscr(what, typ) \
  /src/sbin/init/
init.c 655 struct ttyent *typ; local in function:single_user
695 typ = getttynam("console");
697 if (typ && (from_securitylevel >=2 || (typ->ty_status
1091 new_session(session_t *sprev, int session_index, struct ttyent *typ)
1095 if ((typ->ty_status & TTY_ON) == 0 || typ->ty_name == NULL ||
1096 typ->ty_getty == NULL)
1107 (void)asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name);
1113 if (setupargv(sp, typ) == 0)
1175 struct ttyent *typ; local in function:read_ttys
1531 struct ttyent *typ; local in function:clean_ttys
    [all...]

Completed in 22 milliseconds

1 2 3