Searched refs:screen_lines (Results 1 – 12 of 12) sorted by relevance
| /NextBSD/contrib/ncurses/ncurses/tty/ |
| HD | hardscroll.c | 154 # undef screen_lines 155 # define screen_lines(sp) MAXLINES macro 197 assert(screen_lines(SP_PARM) > 0); in NCURSES_SP_NAME() 199 || (OLDNUM_SIZE(SP_PARM) < screen_lines(SP_PARM))) { in NCURSES_SP_NAME() 200 int need_lines = ((OLDNUM_SIZE(SP_PARM) < screen_lines(SP_PARM)) in NCURSES_SP_NAME() 201 ? screen_lines(SP_PARM) in NCURSES_SP_NAME() 224 for (i = 0; i < screen_lines(SP_PARM);) { in NCURSES_SP_NAME() 225 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME() 228 if (i >= screen_lines(SP_PARM)) in NCURSES_SP_NAME() 235 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME() [all …]
|
| HD | hashmap.c | 83 # undef screen_lines 84 # define screen_lines MAXLINES macro 207 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 209 for (; i < screen_lines(sp); i = next_hunk) { in grow_hunks() 215 while (i < screen_lines(sp) in grow_hunks() 220 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 224 if (i >= screen_lines(sp) || OLDNUM(sp, i) >= i) in grow_hunks() 282 if (screen_lines(SP_PARM) > lines_alloc(SP_PARM)) { in NCURSES_SP_NAME() 286 ((size_t) screen_lines(SP_PARM) + 1) * 2); in NCURSES_SP_NAME() 294 lines_alloc(SP_PARM) = screen_lines(SP_PARM); in NCURSES_SP_NAME() [all …]
|
| HD | tty_update.c | 402 screen_lines(SP_PARM) - 1, in PutCharLR() 406 screen_lines(SP_PARM) - 1, in PutCharLR() 409 NewScreen(SP_PARM)->_line[screen_lines(SP_PARM) - 1].text + in PutCharLR() 462 if (SP_PARM->_cursrow == screen_lines(SP_PARM) - 1 && in PutChar() 763 for (i = 0; i < screen_lines(SP_PARM); i++) { in TINFO_DOUPDATE() 813 for (m = i; m < screen_lines(SP_PARM); m++) { in TINFO_DOUPDATE() 876 for (p = i; p < screen_lines(SP_PARM); p++) { in TINFO_DOUPDATE() 925 nonempty = min(screen_lines(SP_PARM), NewScreen(SP_PARM)->_maxy + 1); in TINFO_DOUPDATE() 1054 int nonempty = min(screen_lines(SP_PARM), in ClrUpdate() 1130 screen_lines(SP_PARM) - row, in ClrToEOS() [all …]
|
| HD | lib_mvcur.c | 282 0, screen_lines(SP_PARM) - 1)); in reset_scroll_region() 472 TINFO_MVCUR(NCURSES_SP_ARGx -1, -1, screen_lines(SP_PARM) - 1, 0); in NCURSES_SP_NAME() 859 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur() 911 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur() 1000 if (yold >= screen_lines(SP_PARM)) in _nc_real_mvcur() 1001 l -= (yold - screen_lines(SP_PARM) - 1); in _nc_real_mvcur() 1030 if (yold > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1031 yold = screen_lines(SP_PARM) - 1; in _nc_real_mvcur() 1032 if (ynew > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1033 ynew = screen_lines(SP_PARM) - 1; in _nc_real_mvcur()
|
| /NextBSD/contrib/ncurses/ncurses/base/ |
| HD | resizeterm.c | 77 screen_lines(sp), screen_columns(sp)); in show_window_sizes() 101 && (ToLines != screen_lines(SP_PARM) in NCURSES_SP_NAME() 347 (SP_PARM == 0) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME() 356 was_stolen = (screen_lines(SP_PARM) - SP_PARM->_lines_avail); in NCURSES_SP_NAME() 358 int myLines = CurLines = screen_lines(SP_PARM); in NCURSES_SP_NAME() 367 if (ToLines > screen_lines(SP_PARM)) { in NCURSES_SP_NAME() 396 screen_lines(SP_PARM) = (NCURSES_SIZE_T) ToLines; in NCURSES_SP_NAME() 466 (SP_PARM == 0) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME()
|
| HD | safe_sprintf.c | 251 if (screen_lines(SP_PARM) > MyRows || screen_columns(SP_PARM) > MyCols) { in NCURSES_SP_NAME() 252 if (screen_lines(SP_PARM) > MyRows) in NCURSES_SP_NAME() 253 MyRows = screen_lines(SP_PARM); in NCURSES_SP_NAME()
|
| HD | lib_newwin.c | 308 : (num_lines == screen_lines(SP_PARM) in NCURSES_SP_NAME() 361 if (begx == 0 && num_lines == screen_lines(SP_PARM) && begy == 0) in NCURSES_SP_NAME() 364 if (begy + num_lines == screen_lines(SP_PARM)) in NCURSES_SP_NAME()
|
| HD | lib_mvwin.c | 105 if (by + win->_maxy > screen_lines(SP_PARM) - 1 in NCURSES_EXPORT()
|
| HD | lib_pad.c | 183 if (smaxrow >= screen_lines(sp) in pnoutrefresh()
|
| /NextBSD/contrib/ncurses/ncurses/win32con/ |
| HD | win_driver.c | 353 Height = screen_lines(sp); in drv_doupdate()
|
| /NextBSD/contrib/ncurses/ncurses/ |
| HD | curses.priv.h | 2156 #define screen_lines(sp) (sp)->_lines macro
|
| /NextBSD/contrib/ncurses/ |
| HD | NEWS | 5414 where it used screen_lines (report by Philippe Blain). 9049 + use screen_lines or MAXLINES as needed where LINES was coded,
|