/src/games/hack/ |
hack.do_name.c | 123 size_t lth; local in function:do_mname 153 lth = strlen(buf) + 1; 154 if (lth > 63) { 156 lth = 63; 158 mtmp2 = newmonst(mtmp->mxlth + lth); 162 mtmp2->mnamelth = lth; 177 size_t lth; local in function:do_oname 184 lth = strlen(buf) + 1; 185 if (lth > 63) { 187 lth = 63 [all...] |
hack.engrave.c | 138 size_t lth; local in function:wipe_engr_at 144 lth = strlen(ep->engr_txt); 145 if (lth && cnt > 0) { 147 pos = rn2(lth); 153 while (lth && ep->engr_txt[lth - 1] == ' ') 154 ep->engr_txt[--lth] = 0; 367 unsigned lth; local in function:rest_engravings 370 mread(fd, <h, sizeof(unsigned)); 371 if (lth == 0 [all...] |
hack.pager.c | 307 int curline, lth; local in function:cornline 313 lth = CO - maxlen - 2; /* Use full screen width */ 314 if (linect < LI && lth >= 10) { /* in a corner */ 320 curs(lth, curline); 327 curs(lth, curline); 332 docorner(lth, curline - 1);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_bios.c | 265 static int parse_lvds_manufacturer_table_header(struct drm_device *dev, struct nvbios *bios, struct lvdstableheader *lth) 277 memset(lth, 0, sizeof(struct lvdstableheader)); 314 lth->lvds_ver = lvds_ver; 315 lth->headerlen = headerlen; 316 lth->recordlen = recordlen; 354 struct lvdstableheader lth; local in function:parse_fp_mode_table 405 ret = parse_lvds_manufacturer_table_header(dev, bios, <h); 409 if (lth.lvds_ver == 0x30 || lth.lvds_ver == 0x40) { 411 lth.headerlen + 1 528 struct lvdstableheader lth; local in function:nouveau_bios_parse_lvds_table [all...] |