Searched refs:Snprintf (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/games/hack/ |
H A D | hack.objnam.c | 72 #define Snprintf (void) snprintf macro 97 Snprintf(buf, sizeof(buf), (a < 0) ? "%d" : "+%d", a); in sitoa() 131 Snprintf(buf+bufpos, sizeof(buf)-bufpos, in typename() 136 Snprintf(buf+bufpos, sizeof(buf)-bufpos, in typename() 146 Snprintf(buf+bufpos, sizeof(buf)-bufpos, in typename() 155 Snprintf(buf+bufpos, sizeof(buf)-bufpos, " of %s", an); in typename() 159 Snprintf(buf+bufpos, sizeof(buf)-bufpos, " called %s", un); in typename() 163 Snprintf(buf+bufpos, sizeof(buf)-bufpos, " (%s)", dn); in typename() 222 Snprintf(buf, bufmax, "%sheavy iron ball", in xname() 267 Snprintf(buf, bufmax, "wand"); in xname() [all …]
|
H A D | hack.end.c | 74 #define Snprintf (void) snprintf macro 138 Snprintf(buf, sizeof(buf), in done_in_by() 142 Snprintf(buf, sizeof(buf), "%s called %s", in done_in_by() 146 Snprintf(buf, sizeof(buf), "invisible %s", mtmp->data->mname); in done_in_by() 516 Snprintf(linebuf+pos, sizeof(linebuf)-pos, "%3d", rank); in outentry() 518 Snprintf(linebuf+pos, sizeof(linebuf)-pos, " "); in outentry() 521 Snprintf(linebuf+pos, sizeof(linebuf)-pos, " %6ld %8s", in outentry() 526 Snprintf(linebuf+pos, sizeof(linebuf)-pos, " "); in outentry() 528 Snprintf(linebuf+pos, sizeof(linebuf)-pos, "-%c ", t1->plchar); in outentry() 533 Snprintf(linebuf+pos, sizeof(linebuf)-pos, in outentry() [all …]
|