Home
last modified time | relevance | path

Searched refs:LINES (Results 1 – 25 of 71) sorted by relevance

123

/openbsd-src/games/battlestar/
H A Dfly.c42 #define MIDR (LINES/2 - 1)
86 row = rnd(LINES - 3) + 1; in visual()
190 r = rnd(LINES - 3) + 1; in screen()
194 mvaddstr(LINES - 1 - 1, 21, "TORPEDOES FUEL TIME"); in screen()
230 move(LINES - 1, 24); in blast()
232 for(n = LINES - 1 - 2; n >= MIDR + 1; n--) { in blast()
238 for (n = LINES - 1 - 2; n >= MIDR + 1; n--) { in blast()
255 if (row + dr <= LINES - 3 && row + dr > 0) in moveenemy()
274 move(LINES - 1, 24); in moveenemy()
276 move(LINES - 1, 42); in moveenemy()
[all …]
/openbsd-src/games/worm/
H A Dworm.c108 if (COLS < 18 || LINES < 5) { in main()
112 growthscale = COLS * LINES / 2000; in main()
116 start_len = strtonum(argv[1], 1, ((LINES-3) * (COLS-2)) / 3, in main()
124 tv = newwin(LINES-1, COLS-1, 1, 0); in main()
143 move(LINES-1, 0); in main()
198 head->y = LINES / 2; in life()
242 if (visible_len == (LINES-3) * (COLS-3) - 1) { in newpos()
248 bp->y = rnd(LINES-3)+ 1; in newpos()
/openbsd-src/gnu/usr.bin/perl/cpan/Text-Tabs/t/
H A DWrap-JLB.t18 OLD => { BYTES => 44, CHARS => 44, CHUNKS => 44, WORDS => 7, TABS => 3, LINES => 4 },
19 NEW => { BYTES => 44, CHARS => 44, CHUNKS => 44, WORDS => 7, TABS => 3, LINES => 4 },
22 OLD => { BYTES => 1766, CHARS => 1635, CHUNKS => 1507, WORDS => 275, TABS => 0, LINES => 2 },
23 NEW => { BYTES => 1766, CHARS => 1635, CHUNKS => 1507, WORDS => 275, TABS => 0, LINES => 24 },
26 OLD => { BYTES => 157, CHARS => 148, CHUNKS => 139, WORDS => 27, TABS => 0, LINES => 2 },
27 NEW => { BYTES => 157, CHARS => 148, CHUNKS => 139, WORDS => 27, TABS => 0, LINES => 3 },
30 OLD => { BYTES => 30, CHARS => 25, CHUNKS => 24, WORDS => 3, TABS => 4, LINES => 1 },
31 NEW => { BYTES => 30, CHARS => 25, CHUNKS => 24, WORDS => 3, TABS => 4, LINES => 1 },
105 $bad++ unless check($line_count, $., "OLD", "LINES");
123 $bad++ unless check($line_count, $., "NEW", "LINES");
[all...]
/openbsd-src/games/bcd/
H A Dbcd.c247 #define LINES 12 macro
253 char lines[LINES][1024]; in decode()
263 for (i = 0; i < LINES; i++) in decode()
270 for (i = 0; i < LINES; i++) { in decode()
280 for (i = 0; i < LINES; i++) in decode()
/openbsd-src/usr.bin/talk/
H A Dinit_disp.c70 my_win.x_nlines = LINES / 2; in init_display()
76 his_win.x_nlines = LINES / 2 - 1; in init_display()
171 (ws.ws_row == LINES && ws.ws_col == COLS)) in resize_display()
181 my_win.x_nlines = LINES / 2; in resize_display()
187 his_win.x_nlines = LINES / 2 - 1; in resize_display()
/openbsd-src/usr.bin/systat/
H A Dvmstat.c109 return (subwin(stdscr, LINES-1-1, 0, 1, 0)); in openkre()
251 if (s.intrcnt[i] == 0 || ipktsrow == LINES) in labelkre()
256 ipktsrow = MAXIMUM(j, MINIMUM(LINES - 3, VMSTATROW + 17)); in labelkre()
257 if (LINES - 1 > ipktsrow) in labelkre()
259 if (LINES - 1 > ipktsrow + 1) in labelkre()
278 if (LINES - 1 > VMSTATROW + 16) in labelkre()
280 if (LINES - 1 > VMSTATROW + 17) in labelkre()
282 if (LINES - 1 > VMSTATROW + 18) in labelkre()
367 if (LINES - 1 > ipktsrow) in showkre()
369 if (LINES - 1 > ipktsrow + 1) in showkre()
[all …]
/openbsd-src/regress/usr.bin/mandoc/mdoc/Bk/
H A Dlines.out_ascii1 BK-LINES(1) General Commands Manual BK-LINES(1)
/openbsd-src/games/hangman/
H A Dmain.c71 if (COLS < 50 || LINES < 14) { in main()
95 mvcur(0, COLS - 1, LINES - 1, 0); in die()
H A Dgetword.c80 mvcur(0, COLS - 1, LINES - 1, 0); in getword()
H A Dksyms.c81 mvcur(0, COLS - 1, LINES -1, 0); in sym_getword()
/openbsd-src/games/atc/
H A Dgraphics.c119 if (LINES < (INPUT_LINES + scp->height) || in setup_screen()
126 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in setup_screen()
127 credit = newwin(INPUT_LINES, PLANE_COLS, LINES - INPUT_LINES, in setup_screen()
129 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS); in setup_screen()
344 wmove(planes, LINES - INPUT_LINES - 1, 0); in planewin()
/openbsd-src/games/mille/
H A Dmille.c77 if ((LINES < 24) || (COLS < 80)) { in main()
148 mvcur(0, COLS - 1, LINES - 1, 0); in die()
/openbsd-src/games/robots/
H A Dmain.c146 if (LINES != Y_SIZE || COLS != X_SIZE) { in main()
147 if (LINES < Y_SIZE || COLS < X_SIZE) { in main()
/openbsd-src/usr.bin/pr/
H A Dpr.h45 #define LINES 66 macro
/openbsd-src/games/cribbage/
H A Dcribcur.h47 # define MSG_Y (LINES - (Y_SCORE_SZ + 1))
/openbsd-src/lib/libcurses/tinfo/
H A Dsetbuf.c119 buf_len = min(LINES * (COLS + 6), 2800); in NCURSES_EXPORT()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-local/yaml-roundtrip/
H A Dsequence.tml92 # THESE LINES HAVE INTENTIONAL TRAILING WHITESPACE
/openbsd-src/usr.bin/vi/cl/
H A Dcl_funcs.c318 0, LINES - 2), 1, cl_putchar); in cl_ex_adjust()
549 (void)move(LINES - 1, 0); in cl_suspend()
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A DProgressBar.py72 LINES = None #: Height of the terminal (None for unknown) variable in TerminalController
111 self.LINES = curses.tigetnum('lines')
/openbsd-src/regress/usr.bin/mandoc/tbl/layout/
H A Dlines-nogroff.out_ascii1 TBL-LAYOUT-LINES-NOGROFF(1) General Commands Manual
/openbsd-src/games/sail/
H A Dplayer.h72 #define SCROLL_B (LINES-1)
/openbsd-src/games/snake/
H A Dsnake.c190 if (!lcnt || lcnt > LINES - 2) in main()
191 lcnt = LINES - 2; in main()
634 p.line = LINES / 2 - 1; in spacewarp()
729 if (ps->line == LINES - 1) in surround()
/openbsd-src/games/phantasia/
H A Dinterplayer.c284 if (Lines > LINES - 2) { in battleplayer()
762 if ((numusers % (LINES - 10)) == 0) { in userlist()
763 more(LINES - 1); in userlist()
/openbsd-src/games/rain/
H A Drain.c91 tlines = LINES - 4; in main()
/openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/example/
H A Dtest.pl31 $ENV{LINES} = 24;

123