Home
last modified time | relevance | path

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

12345

/netbsd-src/usr.bin/make/unit-tests/
H A Ddirective-include-guard.mk32 LINES.variable-ifndef= \
43 LINES.variable-ifndef-reuse= \
53 LINES.variable-ifndef-zero= \
63 LINES.variable-ifndef-one= \
71 LINES.comments= \
86 LINES.variable-if= \
97 LINES.variable-if-reuse= \
107 LINES.variable-if-triple-negation= \
117 LINES.variable-if-spaced= \
127 LINES
[all...]
/netbsd-src/games/battlestar/
H A Dfly.c46 #define MIDR (LINES/2 - 1)
89 row = rnd(LINES - 3) + 1; in visual()
194 r = rnd(LINES - 3) + 1; in screen()
198 mvaddstr(LINES - 1 - 1, 21, "TORPEDOES FUEL TIME"); in screen()
234 move(LINES - 1, 24); in blast()
236 for (n = LINES - 1 - 2; n >= MIDR + 1; n--) { in blast()
242 for (n = LINES - 1 - 2; n >= MIDR + 1; n--) { in blast()
259 if (row + dr <= LINES - 3 && row + dr > 0) in moveenemy()
279 move(LINES - 1, 24); in moveenemy()
281 move(LINES - 1, 42); in moveenemy()
[all …]
/netbsd-src/lib/libcurses/
H A Dcr_put.c124 if (outline > LINES - 1) { in fgoto()
125 destline -= outline - (LINES - 1); in fgoto()
126 outline = LINES - 1; in fgoto()
129 if (destline >= LINES) { in fgoto()
131 destline = LINES - 1; in fgoto()
132 if (outline < LINES - 1) { in fgoto()
139 while (l >= LINES) { in fgoto()
286 k = (LINES - 1) - destline; in plod()
290 outline = LINES - 1; in plod()
H A Dscreen.c77 old_screen->LINES = LINES; in set_term()
94 LINES = new->LINES; in set_term()
116 LINES, COLS); in set_term()
230 LINES, COLS); in newterm()
H A Dsetterm.c84 screen->LINES = t_lines(screen->term); in _cursesi_setterm()
100 screen->LINES = 1; in _cursesi_setterm()
121 LINES = screen->LINES; in _cursesi_setterm()
128 LINES, COLS, TABSIZE); in _cursesi_setterm()
245 LINES = screen->LINES; in _cursesi_resetterm()
H A Dresize.c84 if (nlines > LINES) in wresize()
85 nlines = LINES; in wresize()
93 if (win->begy > LINES) in wresize()
95 if (win->begy + nlines > LINES) in wresize()
98 nlines += LINES - win->begy; in wresize()
139 (nlines != _cursesi_screen->LINES || in is_term_resized()
200 _cursesi_screen->LINES = nlines; in resize_term()
202 LINES = nlines; in resize_term()
205 /* tweak the flags now that we have updated the LINES and COLS */ in resize_term()
H A Dinsch.c131 if (win->cury == LINES - 1 && in winsch()
132 (win->alines[LINES - 1]->line[COLS - 1].ch != ' ' || in winsch()
133 win->alines[LINES - 1]->line[COLS - 1].attr != attr)) { in winsch()
H A Dtstp.c143 LINES = win.ws_row; in __winch_signal_handler()
276 if (win.ws_row != LINES) { in __restartwin()
277 LINES = win.ws_row; in __restartwin()
289 nlines = LINES; in __restartwin()
/netbsd-src/games/colorbars/
H A Dcolorbars.c70 if (COLS < 45 || LINES < 10) { in main()
90 labeloffsety = (LINES - 1 - labelwidth) / 2; in main()
100 for (int line = 0; line < LINES - 1; line++) in main()
114 mvprintw(LINES - 1, 0, "ANSI Color chart - Press any key to exit: "); in main()
/netbsd-src/games/cgram/
H A Dcgram.c332 int max_y = imin(LINES - 1, extent_y - offset_y); in redraw()
355 move(LINES - 1, 0); in redraw()
359 if (extent_y + 1 - offset_y < LINES - 2) in redraw()
395 if (cursor_y > offset_y + LINES - 2) in scroll_into_view()
396 offset_y = cursor_y - (LINES - 2); in scroll_into_view()
531 cursor_y -= LINES - 2; in handle_key()
534 cursor_y += LINES - 2; in handle_key()
584 move(LINES - 1, 0); in done()
/netbsd-src/games/worm/
H A Dworm.c129 if (COLS < 18 || LINES < 5) { in main()
140 if ((start_len <= 0) || (start_len > ((LINES-3) * (COLS-2)) / 3)) in main()
143 tv = newwin(LINES-1, COLS-1, 1, 0); in main()
178 head->y = LINES / 2; in life()
236 if (visible_len == (LINES-3) * (COLS-3) - 1) { in newpos()
244 bp->y = rnd(LINES-3)+ 1; in newpos()
/netbsd-src/lib/libcurses/EXAMPLES/
H A Dview.c362 if ((lptr - my_lines) < (length - LINES + 1)) in main()
399 if (length > LINES) in main()
400 lptr = my_lines + length - LINES + 1; in main()
492 sprintf(temp, "%s (%3dx%3d) col %d ", tag, LINES, COLS, shift); in show_all()
507 for (i = 1; i < LINES; i++) { in show_all()
524 setscrreg(1, LINES - 1); in show_all()
/netbsd-src/games/rain/
H A Drain.c116 if (is_term_resized(LINES, COLS)) { in main()
117 resizeterm(LINES, COLS); in main()
157 lines = LINES - 4; in winupdate()
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dtcpstat.d51 LINES = 20; line = 0;
65 line = LINES;
H A Dudpstat.d51 LINES = 20; line = 0;
65 line = LINES;
/netbsd-src/external/cddl/dtracetoolkit/dist/Net/
H A Dtcpstat.d51 LINES = 20; line = 0;
65 line = LINES;
H A Dudpstat.d51 LINES = 20; line = 0;
65 line = LINES;
/netbsd-src/lib/libcurses/PSD.doc/
H A Dtwinkle1.c89 mvcur(0, COLS - 1, LINES - 1, 0); in die()
128 if (x >= LINES && y >= NCOLS) in ison()
/netbsd-src/games/atc/
H A Dgraphics.c132 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in init_gr()
133 credit = newwin(INPUT_LINES, PLANE_COLS, LINES - INPUT_LINES, in init_gr()
135 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS); in init_gr()
363 (void)wmove(planes, LINES - INPUT_LINES - 1, 0); in planewin()
/netbsd-src/usr.bin/talk/
H A Dinit_disp.c76 my_win.x_nlines = LINES / 2; in init_display()
82 his_win.x_nlines = LINES / 2 - 1; in init_display()
/netbsd-src/games/robots/
H A Dmain.c160 if (LINES != Y_SIZE || COLS != X_SIZE) { in main()
161 if (LINES < Y_SIZE || COLS < X_SIZE) { in main()
/netbsd-src/tests/usr.bin/indent/
H A Dedge_cases.c87 use enum qw(FNAME LINES TEXT PHYSLINES CHANGED BEFORE AFTER EXTRA);
121 use enum qw (FNAME LINES TEXT PHYSLINES CHANGED BEFORE AFTER EXTRA);
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dsh_who_example.txt12 PID UID LINES FILE
26 PID UID LINES FILE
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dsh_who_example.txt12 PID UID LINES FILE
26 PID UID LINES FILE
/netbsd-src/games/sail/
H A Dpl_7.c187 move(LINES-1, 0); in cleanupscreen()
1177 for (y=1; y<LINES-11; y++) { in drawpicker()
1193 mvprintw(LINES-10 + i, 0, in drawpicker()
1238 down(&pickerpos, &pickerscroll, NSCENE, LINES-12); in pickscenario()
1317 mvaddstr(LINES-2, COLS/2, "Enter your name:"); in changename()
1318 startup_getstr(LINES-1, COLS/2, o_myname, sizeof(o_myname)); in changename()
1380 if (i >= joinscroll && i < joinscroll + LINES-1) { in drawstartmenus()
1572 numjoinable, LINES-1); in startup()

12345