Home
last modified time | relevance | path

Searched refs:_maxx (Results 1 – 25 of 134) sorted by relevance

123456

/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_wch.c61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) in __m_cc_ins()
70 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in __m_cc_ins()
74 (w->_maxx - x - width) * sizeof (**w->_line)); in __m_cc_ins()
83 w->_last[y] = w->_maxx; in __m_cc_ins()
89 x = __m_cc_first(w, y, w->_maxx-1); in __m_cc_ins()
90 if (w->_maxx < x + __m_cc_width(&w->_line[y][x])) in __m_cc_ins()
91 (void) __m_cc_erase(w, y, x, y, w->_maxx-1); in __m_cc_ins()
126 if (__m_cc_erase(w, y, x, y, w->_maxx - 1) == -1) in __m_wins_wch()
H A Dprefresh.c92 if (ns->_maxx <= smaxc) in pnoutrefresh()
93 smaxc = ns->_maxx-1; in pnoutrefresh()
95 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
108 if (pad->_maxx <= pminc + smaxc-sminc + 1) in pnoutrefresh()
109 smaxc = sminc + pad->_maxx - 1 - pminc; in pnoutrefresh()
136 ((ns->_maxx <= dx) ? ns->_maxx - 1 : (short) dx); in pnoutrefresh()
H A Dm_cc.c584 if (w->_maxx <= x) in __m_do_scroll()
585 x = w->_maxx - 1; in __m_do_scroll()
638 if (nx >= w->_maxx) { in __m_cc_add()
642 nx = w->_maxx; in __m_cc_add()
648 if (w->_maxx <= x) { in __m_cc_add()
805 if (wlx >= dx + w->_maxx) wlx = dx + w->_maxx - 1; in __m_cc_erase_in_line_sub()
829 pmin = dx + w->_maxx; in __m_cc_erase_in_line_sub()
834 if (x >= dx + w->_maxx) { in __m_cc_erase_in_line_sub()
836 wmax = w->_maxx; in __m_cc_erase_in_line_sub()
897 if (w->_maxx <= lx) in __m_cc_erase()
[all …]
H A Dwbrdr_st.c71 (void) wmove(w, 0, w->_maxx-1); in wborder_set()
76 (void) whline_set(w, ts, w->_maxx-2); in wborder_set()
78 (void) whline_set(w, bs, w->_maxx-2); in wborder_set()
94 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 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 Dwdelch.c72 (w->_maxx - next) * sizeof (**w->_line)); in wdelch()
78 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in wdelch()
83 w->_last[y] = w->_maxx; in wdelch()
H A Dwscrl.c87 w->_maxx - 1); in wscrl()
94 sizeof (cchar_t) * w->_maxx); in wscrl()
97 w->_bottom -1, w->_maxx - 1); in wscrl()
121 (void) __m_cc_erase(w, start, 0, finish, w->_maxx - 1); in wscrl()
H A Dwrefresh.c141 if (ns->_maxx <= nx + dx) in wnoutrefresh()
149 else if (nx + dx < ns->_maxx) in wnoutrefresh()
156 w->_first[wy] = w->_maxx; in wnoutrefresh()
164 w->_smaxx = ns->_maxx - 1; in wnoutrefresh()
H A Dmvwin.c65 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
70 parent->_begx + parent->_maxx < bx + w->_maxx) in mvwin()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dprefresh.c103 if (ns->_maxx <= smaxc)
104 smaxr = ns->_maxx-1;
106 if (pad->_maxy <= pminr || pad->_maxx <= pminc
117 if (pad->_maxx <= pminc + smaxc-sminc+1)
118 smaxc = sminc + pad->_maxx - 1 - pminc;
143 ns->_curx = dx < 0 ? 0 : ns->_maxx <= dx ? ns->_maxx-1 : dx;
H A Dwins_wch.c59 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
67 (w->_maxx - x - width) * sizeof **w->_line
77 w->_last[y] = w->_maxx;
82 x = __m_cc_first(w, y, w->_maxx-1);
83 if (w->_maxx < x + __m_cc_width(&w->_line[y][x]))
84 (void) __m_cc_erase(w, y, x, y, w->_maxx-1);
126 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1)
H A Dwbrdr_st.c75 (void) wmove(w, 0, w->_maxx-1);
80 (void) whline_set(w, ts, w->_maxx-2);
82 (void) whline_set(w, bs, w->_maxx-2);
98 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 0) == -1)
102 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1)
H A Dwdelch.c73 (w->_maxx - next) * sizeof **w->_line
79 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1);
84 w->_last[y] = w->_maxx;
H A Dwchgat.c55 n = w->_maxx; in wchgat()
57 cp = &w->_line[w->_cury][w->_maxx]; in wchgat()
62 for (i = 0, x = w->_curx; x < w->_maxx; ++x, ++cp) { in wchgat()
H A Dwrefresh.c134 if (ns->_maxx <= nx + dx)
142 else if (nx + dx < ns->_maxx)
150 w->_first[wy] = w->_maxx;
158 w->_smaxx = ns->_maxx-1;
H A Dm_cc.c476 for (lp = w->_line[y]; ++x < w->_maxx; ) {
524 if (0 < width && w->_maxx < x + width) {
525 (void) __m_cc_erase(w, y, x, y, w->_maxx-1);
567 if (w->_maxx <= x) in __m_do_scroll()
568 x = w->_maxx-1; in __m_do_scroll()
625 if (w->_maxx <= x) {
631 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1)
649 if (width < 0 || w->_maxx <= x) {
687 if (w->_maxx <= lx)
688 lx = w->_maxx - 1;
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwborder.c79 int i, endy = win->_maxy - 1, endx = win->_maxx - 2; in wborder()
106 xend = win->_maxx-1; in wborder()
115 if ((m = xend + _curs_scrwidth[TYPE(wc)]) > win->_maxx) in wborder()
126 if (endx == win->_maxx-2) in wborder()
129 xend = win->_maxx-1; in wborder()
138 if ((m = xend + _curs_scrwidth[TYPE(wc)]) > win->_maxx) in wborder()
150 if (endx == win->_maxx-2) in wborder()
H A Dmbaddch.c60 if (ep > wcp + win->_maxx) in _mbclrch()
103 ecp = wcp + win->_maxx; in _mbvalid()
194 if (len > win->_maxx || 2*len < nbyte) in _mbaddch()
198 if ((win->_curx + len) > win->_maxx && in _mbaddch()
240 if ((x += len-1) >= win->_maxx) in _mbaddch()
241 x = win->_maxx-1; in _mbaddch()
246 if ((win->_curx += len) >= win->_maxx) { in _mbaddch()
248 win->_curx = win->_maxx-1; in _mbaddch()
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()
136 if ((pcols = (smaxx - sminx) + 1) > (y = pad->_maxx - pminx)) in _padjust()
156 (padwin->_maxy == prows) && (padwin->_maxx == pcols) && in _padjust()
165 padwin->_maxx = pcols; in _padjust()
H A Dwinsch.c89 if ((curx + n) >= win->_maxx) in winsch()
90 n = win->_maxx - curx; in winsch()
94 if (curx >= win->_maxx-1) in winsch()
120 win->_lastch[cury] = win->_maxx-1; in winsch()
H A Dwaddch.c101 (x % TABSIZE))) > win->_maxx) { in waddch()
102 newx = win->_maxx; in waddch()
151 if (++x == win->_maxx) { in waddch()
156 if (x == win->_maxx) in waddch()
164 x, y, win->_maxx, in waddch()
/illumos-gate/usr/src/ucblib/libcurses/
H A Ddeleteln.c45 (void) memmove(win->_y[y], win->_y[y+1], win->_maxx); in wdeleteln()
46 (void) touchline(win, y, 0, win->_maxx - 1); in wdeleteln()
52 for (end = &temp[win->_maxx]; temp < end; ) in wdeleteln()
54 (void) touchline(win, y, 0, win->_maxx - 1); in wdeleteln()
H A Dinsertln.c46 (void) memmove(win->_y[y], win->_y[y-1], win->_maxx); in winsertln()
47 (void) touchline(win, y, 0, win->_maxx - 1); in winsertln()
53 for (end = &temp[win->_maxx]; temp < end; ) in winsertln()
55 (void) touchline(win, y, 0, win->_maxx - 1); in winsertln()
H A Drefresh.c104 win->_firstch[wy] = win->_maxx + in wrefresh()
106 if (win->_lastch[wy] < win->_maxx + in wrefresh()
127 lx < win->_maxx) { in wrefresh()
159 if (wx >= win->_maxx) in makech()
166 else if (lch >= win->_maxx) in makech()
167 lch = win->_maxx - 1; in makech()
177 for (ce = &win->_y[wy][win->_maxx - 1]; *ce == ' '; ce--) in makech()
211 clsp < win->_maxx) { in makech()
238 if (wx >= win->_maxx && wy == win->_maxy - 1) in makech()
H A Dtoucholap.c42 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
48 win1->_begx + win1->_maxx); in touchoverlap()
51 win2->_begx + win2->_maxx); in touchoverlap()
H A Dmvwin.c34 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
50 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()

123456