Home
last modified time | relevance | path

Searched refs:_curx (Results 1 – 25 of 128) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinsnstr.c72 endx = win->_curx; in winsnstr()
105 if ((len = endx - win->_curx) <= 0) in winsnstr()
118 wcp = win->_y[cury] + win->_curx; in winsnstr()
121 savx = win->_curx; in winsnstr()
133 wcp = win->_y[cury] + win->_curx; in winsnstr()
137 (void) _mbclrch(win, cury, win->_curx); in winsnstr()
146 win->_curx += (*sp < ' ' || *sp == _CTRL('?')) ? 2 : 1; in winsnstr()
149 win->_curx = savx; in winsnstr()
153 if (win->_firstch[cury] > win->_curx) in winsnstr()
154 win->_firstch[cury] = win->_curx; in winsnstr()
H A Dwaddnstr.c52 curx = win->_curx; in waddnstr()
84 curx = win->_curx; in waddnstr()
110 curx = win->_curx; in waddnstr()
133 win->_curx = curx; in waddnstr()
140 curx = win->_curx; in waddnstr()
144 win->_curx = curx; in waddnstr()
148 win->_curx = curx; in waddnstr()
H A Dpechochar.c68 padwin->_curx = pad->_curx - padwin->_parx; in pechochar()
71 pad->_curx = padwin->_curx + padwin->_parx; in pechochar()
H A Dpechowchar.c59 padwin->_curx = pad->_curx - padwin->_parx; in pechowchar()
62 pad->_curx = padwin->_curx + padwin->_parx; in pechowchar()
H A Dmbaddch.c97 x = win->_curx; in _mbvalid()
134 win->_curx = (short)(wp-wcp); in _mbvalid()
198 if ((win->_curx + len) > win->_maxx && in _mbaddch()
203 x = win->_curx; in _mbaddch()
246 if ((win->_curx += len) >= win->_maxx) { in _mbaddch()
248 win->_curx = win->_maxx-1; in _mbaddch()
253 win->_curx = 0; in _mbaddch()
H A Dquick_echo.c57 short SPx = (win->_curx - 1) + win->_begx; in _quick_echo()
74 if ((SPy != curscr->_cury) || (SPx != curscr->_curx)) { in _quick_echo()
75 (void) mvcur(curscr->_cury, curscr->_curx, SPy, SPx); in _quick_echo()
78 curscr->_curx = SPx + 1; in _quick_echo()
H A Dwadjcurspos.c39 x = win->_curx; in wadjcurspos()
42 if (win->_curx != x) { in wadjcurspos()
43 win->_curx = x; in wadjcurspos()
H A Dwaddch.c53 short x = win->_curx; in waddch()
91 win->_curx = x; in waddch()
117 x = win->_curx; in waddch()
132 x = win->_curx; in waddch()
195 win->_curx = x; in waddch()
H A Dmbinch.c49 savx = win->_curx; in wmbinch()
54 wp = win->_y[win->_cury] + win->_curx; in wmbinch()
69 win->_curx = savx; in wmbinch()
H A Dwclrtobot.c51 short curx = win->_curx; in wclrtobot()
65 win->_curx = 0; in wclrtobot()
68 win->_curx = curx; in wclrtobot()
H A Dprefresh.c142 if (((padwin->_curx = pad->_curx - pminx) < 0) || in _padjust()
143 (padwin->_curx >= pcols)) in _padjust()
144 padwin->_curx = 0; in _padjust()
H A Dwinsch.c51 short curx = win->_curx; in winsch()
69 curx = win->_curx; in winsch()
81 win->_curx = 0; in winsch()
H A Dwinwch.c45 a = (win->_y[win->_cury][win->_curx]) & A_WATTRIBUTES; in winwch()
47 (void) _curs_mbtowc(&wchar, wmbinch(win, win->_cury, win->_curx), in winwch()
/illumos-gate/usr/src/ucblib/libcurses/
H A Drefresh.c65 lx = curscr->_curx; in wrefresh()
77 curscr->_curx = 0; in wrefresh()
85 if (win->_curx != 0) in wrefresh()
119 domvcur(ly, lx, win->_cury, win->_curx); in wrefresh()
123 curscr->_curx = lx; in wrefresh()
129 win->_curx = lx; in wrefresh()
132 win->_cury = win->_curx = 0; in wrefresh()
135 win->_curx + win->_begx); in wrefresh()
137 curscr->_curx = win->_curx + win->_begx; in wrefresh()
259 lx = win->_begx+win->_curx; in makech()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwinchn.c53 eol = (n < 0 || w->_maxx < w->_curx + n) ? w->_maxx : w->_curx + n; in winchnstr()
55 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++x, ++chs) { in winchnstr()
64 if (n < 0 || eol < w->_curx + n) in winchnstr()
H A Dwin_wchn.c55 eol = (n < 0 || w->_maxx < w->_curx + n) ? w->_maxx : w->_curx + n; in win_wchnstr()
57 for (x = w->_curx; x < eol; ++ccs) { in win_wchnstr()
68 if (n < 0 || eol < w->_curx + n) { in win_wchnstr()
H A Dwadd_wch.c53 int xsave = w->_curx; in __m_wadd_wch()
58 w->_curx = (short) xsave; in __m_wadd_wch()
82 x = w->_curx; in wadd_wch()
98 w->_curx = (short) x; in wadd_wch()
120 w->_curx = (short) x; in wadd_wch()
H A Dwchgat.c59 cp = &w->_line[w->_cury][w->_curx]; in wchgat()
64 for (i = 0, x = w->_curx; x < w->_maxx; ++x, ++cp) { in wchgat()
72 if (w->_curx < w->_first[w->_cury]) in wchgat()
73 w->_first[w->_cury] = w->_curx; in wchgat()
H A Dwhln_st.c55 n += w->_curx; in whline_set()
59 for (x = w->_curx; x < n; x += width) in whline_set()
81 if (__m_cc_replace(w, y, w->_curx, v, 0) == -1) in wvline_set()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwinchn.c57 eol = (n < 0 || w->_maxx < w->_curx + n) ? w->_maxx : w->_curx + n;
59 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++x, ++chs) {
67 if (n < 0 || eol < w->_curx + n)
H A Dwin_wchn.c57 eol = (n < 0 || w->_maxx < w->_curx + n) ? w->_maxx : w->_curx + n;
59 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++ccs) {
69 if (n < 0 || eol < w->_curx + n)
H A Dwadd_wch.c63 __m_trace("wadd_wch(%p, %p) at (%d, %d)", w, cc, w->_cury, w->_curx);
67 x = w->_curx;
101 w->_curx = x;
H A Dwhln_st.c59 n += w->_curx;
63 for (x = w->_curx; x < n; x += width)
92 if (__m_cc_replace(w, y, w->_curx, v, 0) == -1)
H A Ddoupdate.c71 #define GOTO(r,c) (__m_mvcur(curscr->_cury, curscr->_curx,r,c,__m_outc),\
72 curscr->_cury = r, curscr->_curx = c)
204 curscr->_curx = 0;
331 curscr->_curx = col;
349 curscr->_curx = col;
382 curscr->_curx = col;
435 if (COLS <= curscr->_curx) {
436 --curscr->_curx;
443 curscr->_curx = 0;
995 GOTO(newscr->_cury, newscr->_curx); in doupdate()
H A Dclrbot.c56 __m_trace("clrtobot(void) from (%d, %d)", stdscr->_cury, stdscr->_curx); in clrtobot()
59 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtobot()

123456