Home
last modified time | relevance | path

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

12345

/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwinsdel.c67 if (w->_maxy < w->_cury + abs(n)) in winsdelln()
68 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1); in winsdelln()
73 (void) __m_ptr_move((void **) w->_line, w->_maxy, in winsdelln()
74 w->_cury, w->_cury - (n + 1), w->_maxy); in winsdelln()
77 row = w->_maxy + n; in winsdelln()
80 (void) __m_ptr_move((void **) w->_line, w->_maxy, in winsdelln()
81 w->_maxy - n, w->_maxy - 1, w->_cury); in winsdelln()
91 (void) wtouchln(w, w->_cury, w->_maxy - w->_cury, 1); in winsdelln()
99 w->_bottom == w->_maxy) in winsdelln()
H A Dprefresh.c92 if (ns->_maxy <= smaxr) in pnoutrefresh()
93 smaxr = ns->_maxy-1; in pnoutrefresh()
97 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
112 if (pad->_maxy <= pminr + smaxr-sminr + 1) in pnoutrefresh()
113 smaxr = sminr + pad->_maxy - 1 - pminr; in pnoutrefresh()
136 ((ns->_maxy <= dy) ? ns->_maxy - 1 : (short) dy); in pnoutrefresh()
H A Dmvwin.c67 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
71 if (parent->_begy + parent->_maxy < by + w->_maxy || in mvwin()
82 for (i = 0; i <= w->_maxy; ++i) in mvwin()
88 (void) wtouchln(w, 0, w->_maxy, 1); in mvwin()
H A Dwbrdr_st.c72 (void) wvline_set(w, ls, w->_maxy); in wborder_set()
74 (void) wvline_set(w, rs, w->_maxy); in wborder_set()
79 (void) wmove(w, w->_maxy-1, 1); in wborder_set()
98 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1) in wborder_set()
100 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1) in wborder_set()
H A Ddupwin.c61 v = __m_newwin(w->_parent, w->_maxy, w->_maxx, w->_begy, w->_begx); in dupwin()
78 (v->_maxy + v->_maxy) * sizeof (*v->_first)); in dupwin()
87 for (i = 0; i < w->_maxy; ++i) { in dupwin()
H A Dwscrl.c126 (void) __m_ptr_move((void **) w->_line, w->_maxy, in wscrl()
131 w->_top == 0 && w->_bottom == w->_maxy) in wscrl()
136 (void) wtouchln(w, 0, w->_maxy, 1); in wscrl()
137 wtouchln_hard(w, 0, w->_maxy); in wscrl()
H A Dnewwin.c98 parent->_maxy < (begy-parent->_begy) + nlines || in __m_newwin()
108 nlines = parent->_maxy - (begy - parent->_begy); in __m_newwin()
178 w->_maxy = (short) nlines; in __m_newwin()
206 w->_smaxy = w->_maxy; in __m_newwin()
228 (void) wtouchln(w, 0, w->_maxy, 0); in __m_newwin()
H A Dscr_dump.c87 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { in scr_replace()
101 for (i = 0; i < w->_maxy; ++i) in scr_replace()
H A Dtouchwin.c54 return (wtouchln(w, 0, w->_maxy, 1)); in touchwin()
62 return (wtouchln(w, 0, w->_maxy, 0)); in untouchwin()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwinsdel.c68 if (w->_maxy < w->_cury + abs(n))
69 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1);
75 (void **) w->_line, w->_maxy,
76 w->_cury, w->_cury - (n+1), w->_maxy
80 row = w->_maxy + n;
84 (void **) w->_line, w->_maxy,
85 w->_maxy - n, w->_maxy-1, w->_cury
96 (void) wtouchln(w, w->_cury, w->_maxy - w->_cury, 1);
102 && w->_top == 0 && w->_bottom == w->_maxy)
H A Dprefresh.c103 if (ns->_maxy <= smaxr)
104 smaxr = ns->_maxy-1;
108 if (pad->_maxy <= pminr || pad->_maxx <= pminc
121 if (pad->_maxy <= pminr + smaxr-sminr+1)
122 smaxr = sminr + pad->_maxy - 1 - pminr;
144 ns->_cury = dy < 0 ? 0 : ns->_maxy <= dy ? ns->_maxy-1 : dy;
H A Dmvwin.c70 if (lines < by + w->_maxy || columns < bx + w->_maxx)
74 if (parent->_begy + parent->_maxy < by + w->_maxy
84 for (i = 0; i <= w->_maxy; ++i)
90 (void) wtouchln(w, 0, w->_maxy, 1);
H A Dwbrdr_st.c76 (void) wvline_set(w, ls, w->_maxy);
78 (void) wvline_set(w, rs, w->_maxy);
83 (void) wmove(w, w->_maxy-1, 1);
102 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1)
104 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1)
H A Ddupwin.c64 v = __m_newwin(w->_parent, w->_maxy, w->_maxx, w->_begy, w->_begx);
82 (v->_maxy + v->_maxy) * sizeof *v->_first
91 for (i = 0; i < w->_maxy; ++i) {
H A Dwscrl.c84 (void) __m_ptr_move((void **) w->_line, w->_maxy, start, finish, to);
87 && w->_top == 0 && w->_bottom == w->_maxy)
92 (void) wtouchln(w, 0, w->_maxy, 1);
H A Dscr_dump.c89 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) {
102 for (i = 0; i < w->_maxy; ++i)
/titanic_41/usr/src/lib/libcurses/screen/
H A Dprefresh.c78 if ((pad->_padwin = derwin(pad, pad->_maxy, pad->_maxx, in _prefresh()
110 if ((pminy >= pad->_maxy) || (pminx >= pad->_maxx)) in _padjust()
136 if ((prows = (smaxy - sminy) + 1) > (y = pad->_maxy - pminy)) in _padjust()
158 (padwin->_maxy == prows) && (padwin->_maxx == pcols) && in _padjust()
166 padwin->_maxy = prows; in _padjust()
H A Dscr_reset.c129 (win->_maxy != curscr->_maxy) || (win->_maxx != curscr->_maxx) || in scr_reset()
283 _VIRTBOT = curscr->_maxy - 1; in scr_reset()
287 _VIRTTOP = curscr->_maxy; in scr_reset()
290 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
306 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
H A Ddelwin.c67 win->_padwin->_maxy = win->_maxy; in delwin()
72 for (i = win->_maxy; i-- > 0; ) { in delwin()
H A Dwsetscrreg.c56 if (topy < 0 || topy >= win->_maxy || boty < 0 || boty >= win->_maxy) in wsetscrreg()
H A Dmvwin.c52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
59 (void) wtouchln(win, 0, win->_maxy, -1); in mvwin()
H A Dwredrawln.c68 if (begline + numlines > win->_maxy) in wredrawln()
69 numlines = win->_maxy - begline; in wredrawln()
/titanic_41/usr/src/ucblib/libcurses/
H A Dtoucholap.c43 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in touchoverlap()
49 win1->_begy, win1->_begx, win1->_begy + win1->_maxy, in touchoverlap()
52 win2->_begy, win2->_begx, win2->_begy + win2->_maxy, in touchoverlap()
H A Dnewwin.c112 by + nl > orig->_maxy + orig->_begy || in subwin()
116 nl = orig->_maxy + orig->_begy - by; in subwin()
145 for (i = 0; i < win->_maxy; i++, j++) in _set_subwin_()
182 win->_maxy = (short)nl; in makenew()
195 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in makenew()
212 if (win->_maxy == LINES && win->_begy == 0) in _swflags_()
215 if (win->_begy + win->_maxy == LINES) in _swflags_()
H A Dmvwin.c36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
50 if (by < orig->_begy || win->_maxy + dy > orig->_maxy) in mvwin()

12345