Home
last modified time | relevance | path

Searched refs:win (Results 51 – 75 of 276) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/ucblib/libcurses/
H A Dclrtobot.c30 wclrtobot(WINDOW *win) in wclrtobot() argument
37 startx = win->_curx; in wclrtobot()
38 for (y = win->_cury; y < win->_maxy; y++) { in wclrtobot()
40 end = &win->_y[y][win->_maxx]; in wclrtobot()
41 for (sp = &win->_y[y][startx]; sp < end; sp++) in wclrtobot()
45 minx = sp - win->_y[y]; in wclrtobot()
49 (void) touchline(win, y, (int)minx, in wclrtobot()
50 (int)(maxx - &win->_y[y][0])); in wclrtobot()
H A Dscroll.c29 scroll(WINDOW *win) in scroll() argument
34 fprintf(outf, "SCROLL(%0.2o)\n", win); in scroll()
37 if (!win->_scroll) in scroll()
40 getyx(win, oy, ox); in scroll()
41 (void) wmove(win, 0, 0); in scroll()
42 (void) wdeleteln(win); in scroll()
43 (void) wmove(win, oy, ox); in scroll()
45 if (win == curscr) { in scroll()
48 win->_curx = 0; in scroll()
H A Derase.c30 werase(WINDOW *win) in werase() argument
37 fprintf(outf, "WERASE(%0.2o)\n", win); in werase()
39 for (y = 0; y < win->_maxy; y++) { in werase()
41 start = win->_y[y]; in werase()
42 end = &start[win->_maxx]; in werase()
51 (void) touchline(win, y, (int)minx, in werase()
52 (int)(maxx - win->_y[y])); in werase()
54 win->_curx = win->_cury = 0; in werase()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmvwin.c48 mvwin(WINDOW *win, int by, int bx) in mvwin() argument
50 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
54 win->_begy = (short) by; in mvwin()
56 win->_begx = (short) bx; in mvwin()
57 (void) wtouchln(win, 0, win->_maxy, -1); in mvwin()
58 return (win->_immed ? wrefresh(win) : OK); in mvwin()
H A Dwmoveprevch.c32 wmoveprevch(WINDOW *win) in wmoveprevch() argument
43 (void) wadjcurspos(win); in wmoveprevch()
44 x = win->_curx; in wmoveprevch()
47 _yy = win->_y[win->_cury]; in wmoveprevch()
51 win->_curx = x; in wmoveprevch()
52 win->_flags |= _WINMOVED; in wmoveprevch()
53 return (win->_immed ? wrefresh(win): OK); in wmoveprevch()
H A Ddupwin.c56 dupwin(WINDOW *win) in dupwin() argument
59 int i, ncolumns = win->_maxx, nlines = win->_maxy; in dupwin()
70 (void) memcpy(new, win, sizeof (WINDOW)); in dupwin()
77 win->_lastch = win->_firstch + nlines; in dupwin()
103 wincp = win->_y; in dupwin()
130 wc = win->_bkgd; in dupwin()
137 (void) memcpy((char *)new->_firstch, (char *)win->_firstch, in dupwin()
150 new->_index = win->_index; in dupwin()
151 new->_nbyte = win->_nbyte; in dupwin()
152 new->_insmode = win->_insmode; in dupwin()
[all …]
H A Dwadjcurspos.c30 wadjcurspos(WINDOW *win) in wadjcurspos() argument
39 x = win->_curx; in wadjcurspos()
40 _yy = win->_y[win->_cury]; in wadjcurspos()
42 if (win->_curx != x) { in wadjcurspos()
43 win->_curx = x; in wadjcurspos()
44 return (win->_immed ? wrefresh(win): OK); in wadjcurspos()
H A Dmbinch.c41 *wmbinch(WINDOW *win, int y, int x) in wmbinch() argument
49 savx = win->_curx; in wmbinch()
50 savy = win->_cury; in wmbinch()
52 if (wmbmove(win, y, x) == ERR) in wmbinch()
54 wp = win->_y[win->_cury] + win->_curx; in wmbinch()
69 win->_curx = savx; in wmbinch()
70 win->_cury = savy; in wmbinch()
H A Dmbinsshift.c41 _mbinsshift(WINDOW *win, int len) in _mbinsshift() argument
46 y = win->_cury; in _mbinsshift()
47 x = win->_curx; in _mbinsshift()
48 maxx = win->_maxx; in _mbinsshift()
49 wcp = win->_y[y]; in _mbinsshift()
77 (void) _mbclrch(win, y, x + mv - 1); in _mbinsshift()
88 *ep = win->_bkgd; in _mbinsshift()
94 if (x < win->_firstch[y]) in _mbinsshift()
96 win->_firstch[y] = (short)x; in _mbinsshift()
97 win->_lastch[y] = maxx - 1; in _mbinsshift()
H A Dwinnstr.c51 winnstr(WINDOW *win, char *str, int ncols) in winnstr() argument
54 int cy = win->_cury; in winnstr()
55 chtype *ptr = &(win->_y[cy][win->_curx]), in winnstr()
56 *pmax = &(win->_y[cy][win->_maxx]); in winnstr()
87 if (++cy == win->_maxy) in winnstr()
90 ptr = &(win->_y[cy][0]); in winnstr()
91 pmax = ptr + win->_maxx; in winnstr()
H A Dwinnwstr.c42 winnwstr(WINDOW *win, wchar_t *wstr, int ncols) in winnwstr() argument
45 int cy = win->_cury; in winnwstr()
46 chtype *ptr = &(win->_y[cy][win->_curx]), in winnwstr()
47 *pmax = &(win->_y[cy][win->_maxx]); in winnwstr()
82 if (++cy == win->_maxy) in winnwstr()
85 ptr = &(win->_y[cy][0]); in winnwstr()
86 pmax = ptr + win->_maxx; in winnwstr()
H A Dwsyncdown.c48 wsyncdown(WINDOW *win) in wsyncdown() argument
54 py = win->_pary; in wsyncdown()
55 px = win->_parx; in wsyncdown()
56 endy = win->_maxy; in wsyncdown()
57 endx = win->_maxx - 1; in wsyncdown()
59 for (par = win->_parent; par != NULL; par = par->_parent) { in wsyncdown()
62 wbch = win->_firstch; in wsyncdown()
63 wech = win->_lastch; in wsyncdown()
82 win->_flags |= _WINCHANGED; in wsyncdown()
H A Dwinwch.c40 winwch(WINDOW *win) in winwch() argument
45 a = (win->_y[win->_cury][win->_curx]) & A_WATTRIBUTES; in winwch()
47 (void) _curs_mbtowc(&wchar, wmbinch(win, win->_cury, win->_curx), in winwch()
H A Dmouse.c113 wmouse_position(WINDOW *win, int *x, int *y) in wmouse_position() argument
117 if (win->_begy > MOUSE_Y_POS || win->_begx > MOUSE_X_POS || in wmouse_position()
118 win->_begy+win->_maxy < MOUSE_Y_POS || in wmouse_position()
119 win->_begx+win->_maxx < MOUSE_X_POS) { in wmouse_position()
122 *x = MOUSE_X_POS - win->_begx; in wmouse_position()
123 *y = MOUSE_Y_POS - win->_begy; in wmouse_position()
H A Dwinstr.c46 winstr(WINDOW *win, char *str) in winstr() argument
49 int cy = win->_cury; in winstr()
50 chtype *ptr = &(win->_y[cy][win->_curx]), in winstr()
51 *pmax = &(win->_y[cy][win->_maxx]); in winstr()
52 chtype *p1st = &(win->_y[cy][0]); in winstr()
H A Dwinwstr.c37 winwstr(WINDOW *win, wchar_t *wstr) in winwstr() argument
40 int cy = win->_cury; in winwstr()
41 chtype *ptr = &(win->_y[cy][win->_curx]), in winwstr()
42 *pmax = &(win->_y[cy][win->_maxx]); in winwstr()
43 chtype *p1st = &(win->_y[cy][0]); in winwstr()
H A Dwredrawln.c58 wredrawln(WINDOW *win, int begline, int numlines) in wredrawln() argument
66 if (begline + numlines > win->_maxy) in wredrawln()
67 numlines = win->_maxy - begline; in wredrawln()
69 firstch = win->_firstch + begline; in wredrawln()
74 return (win->_immed ? wrefresh(win) : OK); in wredrawln()
H A Dwattroff.c46 wattroff(WINDOW *win, chtype a) in wattroff() argument
53 ((a & A_COLOR) != (win->_attrs & A_COLOR))) in wattroff()
61 win->_attrs &= ~a & A_ATTRIBUTES; in wattroff()
69 if ((a & A_COLOR) && ((a & A_COLOR) != (win->_bkgd & A_COLOR))) in wattroff()
70 win->_attrs |= (win->_bkgd & A_COLOR); in wattroff()
H A Dslk_refresh.c61 WINDOW *win; in _slk_update() local
68 win = slk->_win; in _slk_update()
71 if (win) in _slk_update()
72 (void) mvwaddstr(win, 0, slk->_labx[i], in _slk_update()
80 if (!win) { in _slk_update()
93 return (win ? TRUE : FALSE); in _slk_update()
H A Dwbkgdset.c37 wbkgdset(WINDOW *win, chtype c) in wbkgdset() argument
39 win->_attrs = (win->_attrs & ~(win->_bkgd & A_ATTRIBUTES)) | in wbkgdset()
41 win->_bkgd = c; in wbkgdset()
H A Dwechochar.c55 wechochar(WINDOW *win, chtype ch) in wechochar() argument
57 bool saveimm = win->_immed; in wechochar()
60 immedok(win, TRUE); in wechochar()
61 rv = waddch(win, ch); in wechochar()
62 win->_immed = saveimm; in wechochar()
H A Dwechowchar.c46 wechowchar(WINDOW *win, chtype ch) in wechowchar() argument
48 bool saveimm = win->_immed; in wechowchar()
51 immedok(win, TRUE); in wechowchar()
52 rv = waddwch(win, ch); in wechowchar()
53 win->_immed = saveimm; in wechowchar()
H A Dwsetscrreg.c52 wsetscrreg(WINDOW *win, int topy, int boty) in wsetscrreg() argument
54 if (topy < 0 || topy >= win->_maxy || boty < 0 || boty >= win->_maxy) in wsetscrreg()
58 win->_tmarg = (short) topy; in wsetscrreg()
60 win->_bmarg = (short) boty; in wsetscrreg()
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/
H A DMakefile.com34 alt%koi8.c alt%mac.c alt%win.c alt%win5.c dhn%dos2.c dhn%ib2.c dhn%is2.c dhn%iso2.c dhn%maz.c dhn%w…
36 is2%wi2.c iso%alt.c iso%koi.c iso%mac.c iso%win.c iso2%dhn.c iso2%dos2.c iso2%maz.c iso2%win2.c iso…
37 iso5%mac.c iso5%win5.c koi%alt.c koi%iso.c koi%mac.c koi%win.c koi8%alt.c koi8%iso5.c koi8%mac.c ko…
38 mac%iso.c mac%iso5.c mac%koi.c mac%koi8.c mac%win.c mac%win5.c maz%dhn.c maz%dos2.c maz%ib2.c maz%i…
40 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table.dhn.wi2.c tab…
42 table.iso.mac.c table.iso.win.c table.koi.alt.c table.koi.iso.c table.koi.mac.c table.koi.win.c tab…
43 table.mac.koi.c table.mac.win.c table.maz.dhn.c table.maz.ib2.c table.maz.is2.c table.maz.wi2.c tab…
44 table.wi2.is2.c table.wi2.maz.c table.win.alt.c table.win.iso.c table.win.koi.c table.win.mac.c wi2…
45 wi2%maz.c win%alt.c win%iso.c win%koi.c win%mac.c win2%dhn.c win2%dos2.c win2%iso2.c win2%maz.c win…
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/
H A DMakefile97 alt%win.c \
112 iso%win.c \
116 koi%win.c \
119 mac%win.c \
127 win%alt.c \
128 win%iso.c \
129 win%koi.c \
130 win%mac.c
144 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table.dhn.wi2.c tab…
146 table.iso.mac.c table.iso.win.c table.koi.alt.c table.koi.iso.c table.koi.mac.c table.koi.win.c tab…
[all …]

12345678910>>...12