Home
last modified time | relevance | path

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

123456

/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_wch.c63 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) in __m_cc_ins()
72 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in __m_cc_ins()
76 (w->_maxx - x - width) * sizeof (**w->_line)); in __m_cc_ins()
85 w->_last[y] = w->_maxx; in __m_cc_ins()
91 x = __m_cc_first(w, y, w->_maxx-1); in __m_cc_ins()
92 if (w->_maxx < x + __m_cc_width(&w->_line[y][x])) in __m_cc_ins()
93 (void) __m_cc_erase(w, y, x, y, w->_maxx-1); in __m_cc_ins()
128 if (__m_cc_erase(w, y, x, y, w->_maxx - 1) == -1) in __m_wins_wch()
H A Dprefresh.c94 if (ns->_maxx <= smaxc) in pnoutrefresh()
95 smaxc = ns->_maxx-1; in pnoutrefresh()
97 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
110 if (pad->_maxx <= pminc + smaxc-sminc + 1) in pnoutrefresh()
111 smaxc = sminc + pad->_maxx - 1 - pminc; in pnoutrefresh()
138 ((ns->_maxx <= dx) ? ns->_maxx - 1 : (short) dx); in pnoutrefresh()
H A Dm_cc.c484 for (lp = w->_line[y]; ++x < w->_maxx; ) { in __m_cc_next()
532 if (0 < width && w->_maxx < x + width) { in __m_cc_replace()
533 (void) __m_cc_erase(w, y, x, y, w->_maxx-1); in __m_cc_replace()
586 if (w->_maxx <= x) in __m_do_scroll()
587 x = w->_maxx - 1; in __m_do_scroll()
640 if (nx >= w->_maxx) { in __m_cc_add()
644 nx = w->_maxx; in __m_cc_add()
650 if (w->_maxx <= x) { in __m_cc_add()
656 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1) in __m_cc_add()
676 if (width < 0 || w->_maxx <= x) { in __m_cc_add()
[all …]
H A Dwbrdr_st.c73 (void) wmove(w, 0, w->_maxx-1); in wborder_set()
78 (void) whline_set(w, ts, w->_maxx-2); in wborder_set()
80 (void) whline_set(w, bs, w->_maxx-2); in wborder_set()
96 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 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 Dwdelch.c74 (w->_maxx - next) * sizeof (**w->_line)); in wdelch()
80 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in wdelch()
85 w->_last[y] = w->_maxx; in wdelch()
H A Dwscrl.c89 w->_maxx - 1); in wscrl()
96 sizeof (cchar_t) * w->_maxx); in wscrl()
99 w->_bottom -1, w->_maxx - 1); in wscrl()
123 (void) __m_cc_erase(w, start, 0, finish, w->_maxx - 1); in wscrl()
H A Dwrefresh.c143 if (ns->_maxx <= nx + dx) in wnoutrefresh()
151 else if (nx + dx < ns->_maxx) in wnoutrefresh()
158 w->_first[wy] = w->_maxx; in wnoutrefresh()
166 w->_smaxx = ns->_maxx - 1; in wnoutrefresh()
H A Dmvwin.c67 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
72 parent->_begx + parent->_maxx < bx + w->_maxx) in mvwin()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dprefresh.c105 if (ns->_maxx <= smaxc)
106 smaxr = ns->_maxx-1;
108 if (pad->_maxy <= pminr || pad->_maxx <= pminc
119 if (pad->_maxx <= pminc + smaxc-sminc+1)
120 smaxc = sminc + pad->_maxx - 1 - pminc;
145 ns->_curx = dx < 0 ? 0 : ns->_maxx <= dx ? ns->_maxx-1 : dx;
H A Dwins_wch.c61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
69 (w->_maxx - x - width) * sizeof **w->_line
79 w->_last[y] = w->_maxx;
84 x = __m_cc_first(w, y, w->_maxx-1);
85 if (w->_maxx < x + __m_cc_width(&w->_line[y][x]))
86 (void) __m_cc_erase(w, y, x, y, w->_maxx-1);
128 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1)
H A Dwbrdr_st.c77 (void) wmove(w, 0, w->_maxx-1);
82 (void) whline_set(w, ts, w->_maxx-2);
84 (void) whline_set(w, bs, w->_maxx-2);
100 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 0) == -1)
104 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1)
H A Dwdelch.c75 (w->_maxx - next) * sizeof **w->_line
81 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1);
86 w->_last[y] = w->_maxx;
H A Dwchgat.c57 n = w->_maxx; in wchgat()
59 cp = &w->_line[w->_cury][w->_maxx]; in wchgat()
64 for (i = 0, x = w->_curx; x < w->_maxx; ++x, ++cp) { in wchgat()
H A Dwrefresh.c136 if (ns->_maxx <= nx + dx)
144 else if (nx + dx < ns->_maxx)
152 w->_first[wy] = w->_maxx;
160 w->_smaxx = ns->_maxx-1;
H A Dm_cc.c478 for (lp = w->_line[y]; ++x < w->_maxx; ) {
526 if (0 < width && w->_maxx < x + width) {
527 (void) __m_cc_erase(w, y, x, y, w->_maxx-1);
569 if (w->_maxx <= x) in __m_do_scroll()
570 x = w->_maxx-1; in __m_do_scroll()
627 if (w->_maxx <= x) {
633 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1)
651 if (width < 0 || w->_maxx <= x) {
689 if (w->_maxx <= lx)
690 lx = w->_maxx - 1;
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Dwborder.c81 int i, endy = win->_maxy - 1, endx = win->_maxx - 2; in wborder()
108 xend = win->_maxx-1; in wborder()
117 if ((m = xend + _curs_scrwidth[TYPE(wc)]) > win->_maxx) in wborder()
128 if (endx == win->_maxx-2) in wborder()
131 xend = win->_maxx-1; in wborder()
140 if ((m = xend + _curs_scrwidth[TYPE(wc)]) > win->_maxx) in wborder()
152 if (endx == win->_maxx-2) in wborder()
H A Dmbaddch.c62 if (ep > wcp + win->_maxx) in _mbclrch()
105 ecp = wcp + win->_maxx; in _mbvalid()
196 if (len > win->_maxx || 2*len < nbyte) in _mbaddch()
200 if ((win->_curx + len) > win->_maxx && in _mbaddch()
242 if ((x += len-1) >= win->_maxx) in _mbaddch()
243 x = win->_maxx-1; in _mbaddch()
248 if ((win->_curx += len) >= win->_maxx) { in _mbaddch()
250 win->_curx = win->_maxx-1; in _mbaddch()
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()
138 if ((pcols = (smaxx - sminx) + 1) > (y = pad->_maxx - pminx)) in _padjust()
158 (padwin->_maxy == prows) && (padwin->_maxx == pcols) && in _padjust()
167 padwin->_maxx = pcols; in _padjust()
H A Dwinsch.c91 if ((curx + n) >= win->_maxx) in winsch()
92 n = win->_maxx - curx; in winsch()
96 if (curx >= win->_maxx-1) in winsch()
122 win->_lastch[cury] = win->_maxx-1; in winsch()
H A Dwaddch.c103 (x % TABSIZE))) > win->_maxx) in waddch()
104 newx = win->_maxx; in waddch()
152 if (++x == win->_maxx) { in waddch()
157 if (x == win->_maxx) in waddch()
165 x, y, win->_maxx, in waddch()
/titanic_41/usr/src/ucblib/libcurses/
H A Dinsertln.c48 (void) memmove(win->_y[y], win->_y[y-1], win->_maxx); in winsertln()
49 (void) touchline(win, y, 0, win->_maxx - 1); in winsertln()
55 for (end = &temp[win->_maxx]; temp < end; ) in winsertln()
57 (void) touchline(win, y, 0, win->_maxx - 1); in winsertln()
H A Ddeleteln.c47 (void) memmove(win->_y[y], win->_y[y+1], win->_maxx); in wdeleteln()
48 (void) touchline(win, y, 0, win->_maxx - 1); in wdeleteln()
54 for (end = &temp[win->_maxx]; temp < end; ) in wdeleteln()
56 (void) touchline(win, y, 0, win->_maxx - 1); in wdeleteln()
H A Drefresh.c106 win->_firstch[wy] = win->_maxx + in wrefresh()
108 if (win->_lastch[wy] < win->_maxx + in wrefresh()
129 lx < win->_maxx) { in wrefresh()
161 if (wx >= win->_maxx) in makech()
168 else if (lch >= win->_maxx) in makech()
169 lch = win->_maxx - 1; in makech()
179 for (ce = &win->_y[wy][win->_maxx - 1]; *ce == ' '; ce--) in makech()
213 clsp < win->_maxx) { in makech()
240 if (wx >= win->_maxx && wy == win->_maxy - 1) in makech()
H A Dtoucholap.c44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
50 win1->_begx + win1->_maxx); in touchoverlap()
53 win2->_begx + win2->_maxx); in touchoverlap()
H A Dmvwin.c36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
52 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()

123456