Searched refs:screen_lines (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/ncurses/ncurses/tty/ |
| H A D | hardscroll.c | 155 # undef screen_lines 156 # define screen_lines(sp) MAXLINES macro 198 assert(screen_lines(SP_PARM) > 0); in NCURSES_SP_NAME() 200 || (OLDNUM_SIZE(SP_PARM) < screen_lines(SP_PARM))) { in NCURSES_SP_NAME() 201 int need_lines = ((OLDNUM_SIZE(SP_PARM) < screen_lines(SP_PARM)) in NCURSES_SP_NAME() 202 ? screen_lines(SP_PARM) in NCURSES_SP_NAME() 216 if (SP_PARM->hashtab_len < screen_lines(SP_PARM)) { in NCURSES_SP_NAME() 231 for (i = 0; i < screen_lines(SP_PARM);) { in NCURSES_SP_NAME() 232 while (i < screen_lines(SP_PARM) in NCURSES_SP_NAME() 235 if (i >= screen_lines(SP_PARM)) in NCURSES_SP_NAME() [all …]
|
| H A D | hashmap.c | 88 # undef screen_lines 89 # define screen_lines(sp) MAXLINES macro 214 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 216 for (; i < screen_lines(sp); i = next_hunk) { in grow_hunks() 225 while (i < screen_lines(sp) in grow_hunks() 230 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 234 if (i >= screen_lines(sp) || OLDNUM(sp, i) >= i) in grow_hunks() 291 if (screen_lines(SP_PARM) > lines_alloc(SP_PARM)) { in NCURSES_SP_NAME() 295 ((size_t) screen_lines(SP_PARM) + 1) * 2); in NCURSES_SP_NAME() 303 lines_alloc(SP_PARM) = screen_lines(SP_PARM); in NCURSES_SP_NAME() [all …]
|
| H A D | tty_update.c | 456 screen_lines(SP_PARM) - 1, in PutCharLR() 460 screen_lines(SP_PARM) - 1, in PutCharLR() 463 NewScreen(SP_PARM)->_line[screen_lines(SP_PARM) - 1].text + in PutCharLR() 516 if (SP_PARM->_cursrow == screen_lines(SP_PARM) - 1 && in PutChar() 854 for (i = 0; i < screen_lines(SP_PARM); i++) { in TINFO_DOUPDATE() 904 for (m = i; m < screen_lines(SP_PARM); m++) { in TINFO_DOUPDATE() 967 for (p = i; p < screen_lines(SP_PARM); p++) { in TINFO_DOUPDATE() 1016 nonempty = Min(screen_lines(SP_PARM), NewScreen(SP_PARM)->_maxy + 1); in TINFO_DOUPDATE() 1146 int nonempty = Min(screen_lines(SP_PARM), in ClrUpdate() 1222 screen_lines(SP_PARM) - row, in ClrToEOS() [all …]
|
| H A D | lib_mvcur.c | 302 0, screen_lines(SP_PARM) - 1)); in reset_scroll_region() 496 TINFO_MVCUR(NCURSES_SP_ARGx -1, -1, screen_lines(SP_PARM) - 1, 0); in NCURSES_SP_NAME() 881 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur() 933 screen_lines(SP_PARM) - 1, 0, in onscreen_mvcur() 1022 if (yold >= screen_lines(SP_PARM)) in _nc_real_mvcur() 1023 l -= (yold - screen_lines(SP_PARM) - 1); in _nc_real_mvcur() 1044 if (yold > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1045 yold = screen_lines(SP_PARM) - 1; in _nc_real_mvcur() 1046 if (ynew > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1047 ynew = screen_lines(SP_PARM) - 1; in _nc_real_mvcur()
|
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | resizeterm.c | 84 screen_lines(sp), screen_columns(sp)); in show_window_sizes() 109 && (ToLines != screen_lines(SP_PARM) in NCURSES_SP_NAME() 358 (SP_PARM == NULL) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME() 367 was_stolen = (screen_lines(SP_PARM) - SP_PARM->_lines_avail); in NCURSES_SP_NAME() 369 int myLines = CurLines = screen_lines(SP_PARM); in NCURSES_SP_NAME() 378 if (ToLines > screen_lines(SP_PARM)) { in NCURSES_SP_NAME() 407 screen_lines(SP_PARM) = (NCURSES_SIZE_T) ToLines; in NCURSES_SP_NAME() 477 (SP_PARM == NULL) ? -1 : screen_lines(SP_PARM), in NCURSES_SP_NAME()
|
| H A D | safe_sprintf.c | 252 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 D | lib_newwin.c | 309 : (num_lines == screen_lines(SP_PARM) in NCURSES_SP_NAME() 362 if (begx == 0 && num_lines == screen_lines(SP_PARM) && begy == 0) in NCURSES_SP_NAME() 365 if (begy + num_lines == screen_lines(SP_PARM)) in NCURSES_SP_NAME()
|
| H A D | lib_mvwin.c | 106 if (by + win->_maxy > screen_lines(SP_PARM) - 1 in NCURSES_EXPORT()
|
| H A D | lib_pad.c | 184 if (smaxrow >= screen_lines(sp) in pnoutrefresh()
|
| /freebsd/contrib/ncurses/ncurses/win32con/ |
| H A D | win32_driver.c | 383 Height = screen_lines(sp); in wcon_doupdate()
|
| /freebsd/contrib/ncurses/ncurses/ |
| H A D | curses.priv.h | 2372 #define screen_lines(sp) (sp)->_lines macro
|
| /freebsd/contrib/ncurses/ |
| H A D | NEWS | 10364 where it used screen_lines (report by Philippe Blain). 13999 + use screen_lines or MAXLINES as needed where LINES was coded,
|