/src/usr.bin/banner/ |
banner.h | 25 #define WIDTH 8 /* width of characters */
|
banner.c | 97 for (scnwidth = WIDTH; --scnwidth;) { 146 for (j = WIDTH; --j;) 154 if (nchrs++ >= PW/(WIDTH+1)-1)
|
/src/usr.sbin/lpr/common_source/ |
lp.local.h | 66 #define WIDTH 8 /* width of characters */
|
/src/games/hunt/huntd/ |
makemaze.c | 155 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) 172 for (x = 0; x < WIDTH; x++) { 181 if (x + 1 < WIDTH && Maze[y][x + 1] != SPACE) 222 while (sp < &Maze[HEIGHT - 1][WIDTH]) 225 x = rand_num(WIDTH / 2) * 2 + 1;
|
answer.c | 261 for (x = 0; x < WIDTH; x++) 268 for ( ; x < WIDTH; x++) 272 for (x = 0; x < WIDTH; x++) 276 x = rand_num(WIDTH - 1) + 1; 317 x = rand_num(WIDTH - 1) + 1; 327 x = rand_num(WIDTH - 1) + 1;
|
draw.c | 54 outstr(pp, pp->p_maze[0], WIDTH); 56 endp = &pp->p_maze[y][WIDTH]; 69 outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH);
|
driver.c | 520 x = rand_num(WIDTH - 1) + 1; 685 x = (WIDTH - len) / 2; 780 x = rand_num(WIDTH / 2) + WIDTH / 4; 794 x = rand_num(WIDTH / 2) + WIDTH / 4;
|
shots.c | 584 else if (x > WIDTH - 2) { 585 x = (WIDTH - 2) - (x - (WIDTH - 2)); 601 PLUS_DELTA(x, WIDTH - 2); 698 if (x < 0 || x >= WIDTH) 956 if (y < 0 || x < 0 || y >= HEIGHT || x >= WIDTH)
|
expl.c | 60 if (x < 0 || x >= WIDTH)
|
/src/games/hunt/include/ |
hunt_common.h | 94 #define WIDTH 51 95 #define WIDTH2 64 /* Next power of 2 >= WIDTH (for fast access) */ 100 #define RBOUND (WIDTH - 1)
|
/src/usr.sbin/etcupdate/ |
etcupdate | 54 WIDTH="${WIDTH:="${SWIDTH}"}" 87 Usage: ${PROG} [-alv] [-d DESTDIR] [-p PAGER] [-s SRC_ARG] [-t TEMPROOT] [-w WIDTH] 107 -w WIDTH Screen width. [80] 271 ss Show differences side by side (\"sdiff -w${WIDTH}\")" 408 --width=${WIDTH} \ 420 [sS]s) DIFF_COMMAND="sdiff -w${WIDTH}" ;; 540 WIDTH="${OPTARG} [all...] |
/src/games/hunt/hunt/ |
playit.c | 326 static char buf[WIDTH + WIDTH % 2];
|
otto.c | 378 for (c = col + 1; c < WIDTH; c++) 535 dist = WIDTH;
|
/src/usr.sbin/traceroute6/ |
traceroute6.c | 1011 #define WIDTH 16 1013 if (i % WIDTH == 0) 1018 if (i % WIDTH == WIDTH - 1) 1021 if (cc % WIDTH != 0)
|
/src/usr.bin/sdiff/ |
sdiff.c | 31 #define WIDTH 130 63 size_t line_width; /* width of a line (two columns and divider) */ 64 size_t width; /* width of each column */ variable in typeref:typename:size_t 87 { "width", required_argument, NULL, 'w' }, 158 size_t diffargc = 0, wflag = WIDTH; 238 errx(2, "width is %s: %s", errstr, optarg); 284 width = (wflag - 3) / 2; 286 if (width > (SIZE_T_MAX - 3) / 2) 287 errx(2, "width is too large: %zu", width) [all...] |
/src/usr.sbin/lpr/lpd/ |
printjob.c | 115 static char pxwidth[10] = "-x"; /* page width in pixels */ 118 static char width[10] = "-w"; /* page width in static characters */ variable in typeref:typename:char[10] 356 (void)snprintf(&width[2], sizeof(width) - 2, "%ld", PW); 469 case 'W': /* page width */ 470 strlcpy(width+2, line+1, sizeof(width) - 2); 579 av[1] = width; 595 execl(_PATH_PR, "pr", width, length [all...] |