Symbol: BSZ
games/gomoku/bdinit.c
130
game.user_x = 1 + (BSZ - 1) / 2;
games/gomoku/bdinit.c
131
game.user_y = 1 + (BSZ - 1) / 2;
games/gomoku/bdinit.c
134
for (int i = 0; i < 1 + BSZ + 1; i++, sp++) {
games/gomoku/bdinit.c
142
for (int row = 1; row <= BSZ; row++, sp++) {
games/gomoku/bdinit.c
143
for (int col = 1; col <= BSZ; col++, sp++) {
games/gomoku/bdinit.c
153
for (int i = 0; i < BSZ + 1; i++, sp++) {
games/gomoku/bdinit.c
76
if (col > BSZ - 4) {
games/gomoku/bdinit.c
83
} else if (col == BSZ - 4) {
games/gomoku/bdisp.c
101
for (int col = 1; col <= BSZ; col++) {
games/gomoku/bdisp.c
102
mvaddch(scr_y(BSZ + 1), scr_x(col), letters[col]);
games/gomoku/bdisp.c
107
for (int row = BSZ; row >= 1; row--) {
games/gomoku/bdisp.c
109
mvprintw(scr_y(row), scr_x(BSZ) + 2, "%d", row);
games/gomoku/bdisp.c
126
int available = 3 + (1 + scr_x(BSZ) - scr_x(1)) + 3;
games/gomoku/bdisp.c
146
mvhline(BSZ + 2, 0, ' ', available);
games/gomoku/bdisp.c
147
mvprintw(BSZ + 2, x, "BLACK/%.*s (*) vs. WHITE/%.*s (O)",
games/gomoku/bdisp.c
172
for (int row = BSZ + 1; --row > 0; ) {
games/gomoku/bdisp.c
173
for (int col = 1; col <= BSZ; col++) {
games/gomoku/bdisp.c
211
for (int row = BSZ + 1; --row > 0; ) {
games/gomoku/bdisp.c
214
for (int col = 1; col <= BSZ; col++) {
games/gomoku/bdisp.c
262
mvaddstr(BSZ + 4, 0, str);
games/gomoku/bdisp.c
264
move(BSZ + 4, len);
games/gomoku/bdisp.c
338
ev.y >= scr_y(BSZ) && ev.y <= scr_y(1) &&
games/gomoku/bdisp.c
339
ev.x >= scr_x(1) && ev.x <= scr_x(BSZ) &&
games/gomoku/bdisp.c
362
mvprintw(BSZ + 3, 6, "(%c %d) ", letters[x], y);
games/gomoku/bdisp.c
457
(void)mvhline(BSZ + 3, 6, ' ', 6);
games/gomoku/bdisp.c
463
x = 1 + (x + BSZ - 1) % BSZ;
games/gomoku/bdisp.c
464
y = 1 + (y + BSZ - 1) % BSZ;
games/gomoku/bdisp.c
51
#define scr_y(by) (1 + (BSZ - 1) - ((by) - 1))
games/gomoku/bdisp.c
54
#define TRANSCRIPT_COL (3 + (2 * BSZ - 1) + 3 + 3)
games/gomoku/bdisp.c
86
move(BSZ + 4, 0);
games/gomoku/gomoku.h
252
spot_index moves[BSZ * BSZ]; /* log of all played moves */
games/gomoku/gomoku.h
51
#define BAREA ((1 + BSZ + 1) * (BSZ + 1) + 1)
games/gomoku/gomoku.h
57
#define FAREA (2 * BSZ * (BSZ - 4) + 2 * (BSZ - 4) * (BSZ - 4))
games/gomoku/gomoku.h
71
#define PT(x, y) ((x) + (BSZ + 1) * (y))
games/gomoku/main.c
188
mvprintw(BSZ + 3, 0, "Black moves first. ");
games/gomoku/main.c
206
move(BSZ + 3, 0);
games/gomoku/main.c
255
move(BSZ + 3, 0);
games/gomoku/main.c
452
return 1 <= u && u <= BSZ;
games/gomoku/makemove.c
43
-(BSZ + 1) + 1, /* down + right */
games/gomoku/makemove.c
44
-(BSZ + 1), /* down */
games/gomoku/makemove.c
45
-(BSZ + 1) - 1 /* down + left */
games/gomoku/makemove.c
56
for (int y = 1; y <= BSZ; y++)
games/gomoku/makemove.c
57
for (int x = 1; x <= BSZ; x++)
games/gomoku/pickmove.c
122
spot_index os = PT(BSZ, BSZ); /* our spot */
games/gomoku/pickmove.c
123
spot_index ts = PT(BSZ, BSZ); /* their spot */
games/gomoku/pickmove.c
124
for (spot_index s = PT(BSZ, BSZ); s-- > PT(1, 1); ) {
games/gomoku/pickmove.c
362
for (spot_index s = PT(BSZ, BSZ) + 1; s-- > PT(1, 1); ) {
games/gomoku/pickmove.c
577
for (spot_index s = PT(BSZ, BSZ) + 1; s-- > PT(1, 1); ) {
games/gomoku/pickmove.c
92
return PT((BSZ + 1) / 2, (BSZ + 1) / 2);
games/gomoku/pickmove.c
95
for (spot_index s = PT(BSZ, BSZ) + 1; s-- > PT(1, 1); ) {
games/gomoku/stoc.c
60
letters[s % (BSZ + 1)], s / (BSZ + 1));
games/gomoku/stoc.c
78
while (x <= BSZ && letters[x] != letter)
games/gomoku/stoc.c
80
if (x > BSZ)
usr.bin/fsplit/fsplit.c
277
for (ptr = buf; ptr < &buf[BSZ]; ) {
usr.bin/fsplit/fsplit.c
289
warnx("Line truncated to %d characters.", BSZ);
usr.bin/fsplit/fsplit.c
85
static char buf[BSZ];
usr.bin/tail/reverse.c
190
(tl->l = malloc(BSZ)) == NULL) {
usr.bin/tail/reverse.c
212
len < BSZ && (ch = getc(fp)) != EOF; ++len)