Searched refs:screen_lines (Results 1 – 10 of 10) sorted by relevance
| /dragonfly/contrib/ncurses/ncurses/tty/ |
| HD | 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() 225 for (i = 0; i < 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() [all …]
|
| HD | hashmap.c | 88 # undef screen_lines 89 # define screen_lines(sp) MAXLINES macro 215 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 217 for (; i < screen_lines(sp); i = next_hunk) { in grow_hunks() 226 while (i < screen_lines(sp) in grow_hunks() 231 while (i < screen_lines(sp) && OLDNUM(sp, i) == _NEWINDEX) in grow_hunks() 235 if (i >= screen_lines(sp) || OLDNUM(sp, i) >= i) in grow_hunks() 292 if (screen_lines(SP_PARM) > lines_alloc(SP_PARM)) { in NCURSES_SP_NAME() 296 ((size_t) screen_lines(SP_PARM) + 1) * 2); in NCURSES_SP_NAME() 304 lines_alloc(SP_PARM) = screen_lines(SP_PARM); in NCURSES_SP_NAME() [all …]
|
| HD | tty_update.c | 446 screen_lines(SP_PARM) - 1, in PutCharLR() 450 screen_lines(SP_PARM) - 1, in PutCharLR() 453 NewScreen(SP_PARM)->_line[screen_lines(SP_PARM) - 1].text + in PutCharLR() 506 if (SP_PARM->_cursrow == screen_lines(SP_PARM) - 1 && in PutChar() 835 for (i = 0; i < screen_lines(SP_PARM); i++) { in TINFO_DOUPDATE() 885 for (m = i; m < screen_lines(SP_PARM); m++) { in TINFO_DOUPDATE() 948 for (p = i; p < screen_lines(SP_PARM); p++) { in TINFO_DOUPDATE() 997 nonempty = min(screen_lines(SP_PARM), NewScreen(SP_PARM)->_maxy + 1); in TINFO_DOUPDATE() 1127 int nonempty = min(screen_lines(SP_PARM), in ClrUpdate() 1203 screen_lines(SP_PARM) - row, in ClrToEOS() [all …]
|
| HD | lib_mvcur.c | 283 0, screen_lines(SP_PARM) - 1)); in reset_scroll_region() 475 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() 1004 if (yold >= screen_lines(SP_PARM)) in _nc_real_mvcur() 1005 l -= (yold - screen_lines(SP_PARM) - 1); in _nc_real_mvcur() 1034 if (yold > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1035 yold = screen_lines(SP_PARM) - 1; in _nc_real_mvcur() 1036 if (ynew > screen_lines(SP_PARM) - 1) in _nc_real_mvcur() 1037 ynew = screen_lines(SP_PARM) - 1; in _nc_real_mvcur()
|
| /dragonfly/contrib/ncurses/ncurses/base/ |
| HD | resizeterm.c | 84 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()
|
| HD | 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()
|
| HD | lib_newwin.c | 313 : (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()
|
| HD | lib_mvwin.c | 106 if (by + win->_maxy > screen_lines(SP_PARM) - 1 in NCURSES_EXPORT()
|
| HD | lib_pad.c | 184 if (smaxrow >= screen_lines(sp) in pnoutrefresh()
|
| /dragonfly/contrib/ncurses/ncurses/ |
| HD | curses.priv.h | 2425 #define screen_lines(sp) (sp)->_lines macro
|