Home
last modified time | relevance | path

Searched refs:screen_lines (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/ncurses/ncurses/tty/
H A Dhardscroll.c155 # undef screen_lines
156 # define screen_lines(sp) MAXLINES macro
198 assert(screen_lines(SP_PARM) > 0); in NCURSES_SP_NAME()
202 ? screen_lines(SP_PARM) in NCURSES_SP_NAME()
226 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME()
229 if (i >= screen_lines(SP_PARM)) in NCURSES_SP_NAME()
236 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME()
248 screen_lines(SP_PARM) - 1) == ERR) { in NCURSES_SP_NAME()
282 screen_lines(SP_PARM) - 1) == ERR) { in NCURSES_SP_NAME()
312 for (n = 0; n < screen_lines(SP_PARM); n++) in NCURSES_SP_NAME()
[all …]
H A Dhashmap.c88 # undef screen_lines
89 # define screen_lines(sp) MAXLINES macro
226 while (i < screen_lines(sp) in grow_hunks()
317 (size_t) screen_lines(SP_PARM)); in NCURSES_SP_NAME()
320 (size_t) screen_lines(SP_PARM)); in NCURSES_SP_NAME()
396 if (i >= screen_lines(SP_PARM)) in NCURSES_SP_NAME()
401 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME()
537 for (n = 0; n < screen_lines(sp); n++) in main()
539 for (n = 0; n < screen_lines(sp); n++) in main()
547 for (n = 0; n < screen_lines(sp); n++) in main()
[all …]
H A Dtty_update.c447 screen_lines(SP_PARM) - 1, in PutCharLR()
451 screen_lines(SP_PARM) - 1, in PutCharLR()
839 for (i = 0; i < screen_lines(SP_PARM); i++) { in TINFO_DOUPDATE()
1131 int nonempty = min(screen_lines(SP_PARM), in ClrUpdate()
1207 screen_lines(SP_PARM) - row, in ClrToEOS()
1404 && lineno + 1 < screen_lines(SP_PARM) in TransformLine()
1671 screen_lines(SP_PARM), in ClearScreen()
1676 for (i = 0; i < screen_lines(SP_PARM); i++) { in ClearScreen()
1684 for (i = 0; i < screen_lines(SP_PARM); i++) { in ClearScreen()
1692 for (i = 0; i < screen_lines(SP_PARM); i++) { in ClearScreen()
[all …]
H A Dlib_mvcur.c283 0, screen_lines(SP_PARM) - 1)); in reset_scroll_region()
474 TINFO_MVCUR(NCURSES_SP_ARGx -1, -1, screen_lines(SP_PARM) - 1, 0); in NCURSES_SP_NAME()
862 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur()
914 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur()
1003 if (yold >= screen_lines(SP_PARM)) in _nc_real_mvcur()
1004 l -= (yold - screen_lines(SP_PARM) - 1); in _nc_real_mvcur()
1025 if (yold > screen_lines(SP_PARM) - 1) in _nc_real_mvcur()
1026 yold = screen_lines(SP_PARM) - 1; in _nc_real_mvcur()
1027 if (ynew > screen_lines(SP_PARM) - 1) in _nc_real_mvcur()
1028 ynew = screen_lines(SP_PARM) - 1; in _nc_real_mvcur()
/freebsd/contrib/ncurses/ncurses/base/
H A Dresizeterm.c84 screen_lines(sp), screen_columns(sp)); in show_window_sizes()
108 && (ToLines != screen_lines(SP_PARM) in NCURSES_SP_NAME()
357 (SP_PARM == 0) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME()
366 was_stolen = (screen_lines(SP_PARM) - SP_PARM->_lines_avail); in NCURSES_SP_NAME()
368 int myLines = CurLines = screen_lines(SP_PARM); in NCURSES_SP_NAME()
377 if (ToLines > screen_lines(SP_PARM)) { in NCURSES_SP_NAME()
406 screen_lines(SP_PARM) = (NCURSES_SIZE_T) ToLines; in NCURSES_SP_NAME()
476 (SP_PARM == 0) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME()
H A Dsafe_sprintf.c252 if (screen_lines(SP_PARM) > MyRows || screen_columns(SP_PARM) > MyCols) { in NCURSES_SP_NAME()
253 if (screen_lines(SP_PARM) > MyRows) in NCURSES_SP_NAME()
254 MyRows = screen_lines(SP_PARM); in NCURSES_SP_NAME()
H A Dlib_newwin.c313 : (num_lines == screen_lines(SP_PARM) in NCURSES_SP_NAME()
366 if (begx == 0 && num_lines == screen_lines(SP_PARM) && begy == 0) in NCURSES_SP_NAME()
369 if (begy + num_lines == screen_lines(SP_PARM)) in NCURSES_SP_NAME()
H A Dlib_mvwin.c106 if (by + win->_maxy > screen_lines(SP_PARM) - 1 in NCURSES_EXPORT()
H A Dlib_pad.c184 if (smaxrow >= screen_lines(sp) in pnoutrefresh()
/freebsd/contrib/ncurses/ncurses/win32con/
H A Dwin32_driver.c395 Height = screen_lines(sp); in wcon_doupdate()
H A Dwin_driver.c488 Height = screen_lines(sp); in wcon_doupdate()
/freebsd/contrib/ncurses/ncurses/
H A Dcurses.priv.h2457 #define screen_lines(sp) (sp)->_lines macro
/freebsd/contrib/ncurses/
H A DNEWS8630 where it used screen_lines (report by Philippe Blain).
12265 + use screen_lines or MAXLINES as needed where LINES was coded,