/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.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...] |
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.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...] |
/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/sys/net/ |
if_arcsubr.c | 351 u_char src, dst, typ; local in function:arc_defrag 364 typ = ah->arc_type; 366 if (!arc_isphds(typ)) 424 if (typ != ah1->arc_type) { 434 /* typ, seqid and dst are ok here. */
|
/src/games/larn/ |
display.c | 178 int typ; member in struct:bot_side_def 207 idx = bot_data[i].typ; 267 idx = bot_data[i].typ;
|
/src/sys/dev/acpi/ |
acpi_cpu.c | 373 ACPI_OBJECT_TYPE typ; local in function:acpicpu_object 378 rv = AcpiGetType(hdl, &typ); 379 if (typ != ACPI_TYPE_PROCESSOR) {
|
fujbp_acpi.c | 635 ACPI_OBJECT_TYPE typ; local in function:fujitsu_bp_cap 642 if (ACPI_FAILURE(AcpiGetType(hdl, &typ))) 645 if (typ != ACPI_TYPE_METHOD && typ != type)
|
fujhk_acpi.c | 436 ACPI_OBJECT_TYPE typ; local in function:fujitsu_hk_cap 443 if (ACPI_FAILURE(AcpiGetType(hdl, &typ))) 446 if (typ != ACPI_TYPE_METHOD && typ != type)
|
acpi_display.c | 2106 ACPI_OBJECT_TYPE typ; local in function:acpidisp_has_method 2113 if (ACPI_FAILURE(AcpiGetType(hdl, &typ))) 2116 if (typ != ACPI_TYPE_METHOD && typ != type)
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_report.h | 110 ReportType typ; member in class:__tsan::ReportDesc
|
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/lib/libc/nameser/ |
ns_print.c | 511 u_int typ, algorithm, labels, footprint; local in function:ns_sprintrrf 520 typ = ns_get16(rdata); rdata += NS_INT16SZ; 525 p_type((int)typ), algorithm, labels, t));
|
/src/libexec/getty/ |
main.c | 634 struct ttyent *typ; local in function:clearscreen 640 typ = getttynam(rawttyn); 642 if ((typ == NULL) || (typ->ty_type == NULL) || 643 (typ->ty_type[0] == 0)) 646 if (setupterm(typ->ty_type, 0, &err) == ERR)
|
/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...] |
/src/sys/arch/i386/stand/lib/ |
biosdisk.c | 588 int typ; local in function:read_minix_subp 602 typ = mbr[i].mbrp_type; 603 if (typ == 0) 611 p->p_fstype = xlat_mbr_fstype(typ); 658 int typ; local in function:read_label 692 typ = mbr[i].mbrp_type; 693 if (typ == 0) 697 printf("ptn type %d in sector %u\n", typ, sector); 699 if (typ == MBR_PTYPE_MINIX_14B) { 706 if (typ == MBR_PTYPE_NETBSD) [all...] |
/src/sys/dev/ |
ipmi.c | 1817 int typ, idx, dupcnt, c; local in function:add_child_sensors 1822 typ = ipmi_sensor_type(sensor_type, ext_type, entity); 1823 if (typ == -1) { 1843 psensor->i_envtype = typ; 1881 typ, s1->entity_id, s1->entity_instance,
|
/src/lib/libc/time/ |
localtime.c | 757 unsigned char typ = *p++; local in function:tzloadbody 758 if (sp->typecnt <= typ) 761 sp->types[timecnt++] = typ;
|