Home
last modified time | relevance | path

Searched refs:_maxy (Results 1 – 25 of 121) sorted by relevance

12345

/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwinsdel.c65 if (w->_maxy < w->_cury + abs(n)) in winsdelln()
66 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1); in winsdelln()
71 (void) __m_ptr_move((void **) w->_line, w->_maxy, in winsdelln()
72 w->_cury, w->_cury - (n + 1), w->_maxy); in winsdelln()
75 row = w->_maxy + n; in winsdelln()
78 (void) __m_ptr_move((void **) w->_line, w->_maxy, in winsdelln()
79 w->_maxy - n, w->_maxy - 1, w->_cury); in winsdelln()
89 (void) wtouchln(w, w->_cury, w->_maxy - w->_cury, 1); in winsdelln()
97 w->_bottom == w->_maxy) in winsdelln()
H A Dprefresh.c90 if (ns->_maxy <= smaxr) in pnoutrefresh()
91 smaxr = ns->_maxy-1; in pnoutrefresh()
95 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
110 if (pad->_maxy <= pminr + smaxr-sminr + 1) in pnoutrefresh()
111 smaxr = sminr + pad->_maxy - 1 - pminr; in pnoutrefresh()
134 ((ns->_maxy <= dy) ? ns->_maxy - 1 : (short) dy); in pnoutrefresh()
H A Dmvwin.c65 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
69 if (parent->_begy + parent->_maxy < by + w->_maxy || in mvwin()
80 for (i = 0; i <= w->_maxy; ++i) in mvwin()
86 (void) wtouchln(w, 0, w->_maxy, 1); in mvwin()
H A Dwbrdr_st.c70 (void) wvline_set(w, ls, w->_maxy); in wborder_set()
72 (void) wvline_set(w, rs, w->_maxy); in wborder_set()
77 (void) wmove(w, w->_maxy-1, 1); in wborder_set()
96 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1) in wborder_set()
98 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1) in wborder_set()
H A Ddupwin.c59 v = __m_newwin(w->_parent, w->_maxy, w->_maxx, w->_begy, w->_begx); in dupwin()
76 (v->_maxy + v->_maxy) * sizeof (*v->_first)); in dupwin()
85 for (i = 0; i < w->_maxy; ++i) { in dupwin()
H A Dwscrl.c124 (void) __m_ptr_move((void **) w->_line, w->_maxy, in wscrl()
129 w->_top == 0 && w->_bottom == w->_maxy) in wscrl()
134 (void) wtouchln(w, 0, w->_maxy, 1); in wscrl()
135 wtouchln_hard(w, 0, w->_maxy); in wscrl()
H A Dnewwin.c96 parent->_maxy < (begy-parent->_begy) + nlines || in __m_newwin()
106 nlines = parent->_maxy - (begy - parent->_begy); in __m_newwin()
176 w->_maxy = (short) nlines; in __m_newwin()
204 w->_smaxy = w->_maxy; in __m_newwin()
226 (void) wtouchln(w, 0, w->_maxy, 0); in __m_newwin()
H A Dscr_dump.c85 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { in scr_replace()
99 for (i = 0; i < w->_maxy; ++i) in scr_replace()
H A Dtouchwin.c52 return (wtouchln(w, 0, w->_maxy, 1)); in touchwin()
60 return (wtouchln(w, 0, w->_maxy, 0)); in untouchwin()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwinsdel.c66 if (w->_maxy < w->_cury + abs(n))
67 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1);
73 (void **) w->_line, w->_maxy,
74 w->_cury, w->_cury - (n+1), w->_maxy
78 row = w->_maxy + n;
82 (void **) w->_line, w->_maxy,
83 w->_maxy - n, w->_maxy-1, w->_cury
94 (void) wtouchln(w, w->_cury, w->_maxy - w->_cury, 1);
100 && w->_top == 0 && w->_bottom == w->_maxy)
H A Dprefresh.c101 if (ns->_maxy <= smaxr)
102 smaxr = ns->_maxy-1;
106 if (pad->_maxy <= pminr || pad->_maxx <= pminc
119 if (pad->_maxy <= pminr + smaxr-sminr+1)
120 smaxr = sminr + pad->_maxy - 1 - pminr;
142 ns->_cury = dy < 0 ? 0 : ns->_maxy <= dy ? ns->_maxy-1 : dy;
H A Dmvwin.c68 if (lines < by + w->_maxy || columns < bx + w->_maxx)
72 if (parent->_begy + parent->_maxy < by + w->_maxy
82 for (i = 0; i <= w->_maxy; ++i)
88 (void) wtouchln(w, 0, w->_maxy, 1);
H A Dwbrdr_st.c74 (void) wvline_set(w, ls, w->_maxy);
76 (void) wvline_set(w, rs, w->_maxy);
81 (void) wmove(w, w->_maxy-1, 1);
100 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1)
102 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1)
H A Ddupwin.c62 v = __m_newwin(w->_parent, w->_maxy, w->_maxx, w->_begy, w->_begx);
80 (v->_maxy + v->_maxy) * sizeof *v->_first
89 for (i = 0; i < w->_maxy; ++i) {
H A Dwscrl.c82 (void) __m_ptr_move((void **) w->_line, w->_maxy, start, finish, to);
85 && w->_top == 0 && w->_bottom == w->_maxy)
90 (void) wtouchln(w, 0, w->_maxy, 1);
H A Dscr_dump.c87 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) {
100 for (i = 0; i < w->_maxy; ++i)
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dprefresh.c76 if ((pad->_padwin = derwin(pad, pad->_maxy, pad->_maxx, in _prefresh()
108 if ((pminy >= pad->_maxy) || (pminx >= pad->_maxx)) in _padjust()
134 if ((prows = (smaxy - sminy) + 1) > (y = pad->_maxy - pminy)) in _padjust()
156 (padwin->_maxy == prows) && (padwin->_maxx == pcols) && in _padjust()
164 padwin->_maxy = prows; in _padjust()
H A Dscr_reset.c127 (win->_maxy != curscr->_maxy) || (win->_maxx != curscr->_maxx) || in scr_reset()
281 _VIRTBOT = curscr->_maxy - 1; in scr_reset()
285 _VIRTTOP = curscr->_maxy; in scr_reset()
288 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
304 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
H A Ddelwin.c65 win->_padwin->_maxy = win->_maxy; in delwin()
70 for (i = win->_maxy; i-- > 0; ) { in delwin()
H A Dwsetscrreg.c54 if (topy < 0 || topy >= win->_maxy || boty < 0 || boty >= win->_maxy) in wsetscrreg()
H A Dmvwin.c50 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
57 (void) wtouchln(win, 0, win->_maxy, -1); in mvwin()
H A Dwredrawln.c66 if (begline + numlines > win->_maxy) in wredrawln()
67 numlines = win->_maxy - begline; in wredrawln()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dtoucholap.c41 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in touchoverlap()
47 win1->_begy, win1->_begx, win1->_begy + win1->_maxy, in touchoverlap()
50 win2->_begy, win2->_begx, win2->_begy + win2->_maxy, in touchoverlap()
H A Dnewwin.c110 by + nl > orig->_maxy + orig->_begy || in subwin()
114 nl = orig->_maxy + orig->_begy - by; in subwin()
143 for (i = 0; i < win->_maxy; i++, j++) in _set_subwin_()
180 win->_maxy = (short)nl; in makenew()
193 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in makenew()
210 if (win->_maxy == LINES && win->_begy == 0) in _swflags_()
213 if (win->_begy + win->_maxy == LINES) in _swflags_()
H A Dmvwin.c34 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
48 if (by < orig->_begy || win->_maxy + dy > orig->_maxy) in mvwin()

12345