Home
last modified time | relevance | path

Searched refs:maxx (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbinsshift.c43 int x, y, maxx, mv; in _mbinsshift() local
48 maxx = win->_maxx; in _mbinsshift()
55 wp = wcp + maxx - 1; in _mbinsshift()
65 if ((wp + _curs_scrwidth[TYPE(rb)]) > (wcp + maxx)) in _mbinsshift()
67 maxx = (int)(wp - wcp); in _mbinsshift()
72 if ((mv = maxx - (x+len)) <= 0) in _mbinsshift()
81 for (wp = wcp + maxx - 1; wp >= ep; --wp) in _mbinsshift()
97 win->_lastch[y] = maxx - 1; in _mbinsshift()
H A Dwclrtoeol.c53 int maxx = win->_maxx; in wclrtoeol() local
66 if (ISMBIT(win->_y[y][maxx - 1])) { in wclrtoeol()
67 for (cx = maxx - 1; cx >= x; --cx) in wclrtoeol()
71 if (cx + _curs_scrwidth[TYPE(wc)] > maxx) in wclrtoeol()
72 maxx = cx - 1; in wclrtoeol()
77 memSset(&win->_y[y][x], win->_bkgd, maxx - x); in wclrtoeol()
78 maxx = win->_maxx; in wclrtoeol()
82 (*_y16update)(win, 1, maxx - x, y, x); in wclrtoeol()
89 _BEGNS[y] = (short) maxx; in wclrtoeol()
139 win->_lastch[y] = maxx - 1; in wclrtoeol()
H A Dwnoutref.c55 maxx, lo, hi; in wnoutrefresh() local
102 if ((maxx = win->_maxx+xorg) > scrco) in wnoutrefresh()
103 maxx = scrco; in wnoutrefresh()
104 maxx -= xorg + 1; in wnoutrefresh()
129 hi = (doall || *bch == _REDRAW || *ech > maxx) ? maxx : *ech; in wnoutrefresh()
140 for (x = lo + 1; x <= maxx; ++x) in wnoutrefresh()
143 if (x > maxx) in wnoutrefresh()
157 hi = (x+w) <= maxx+1 ? x+w-1 : x; in wnoutrefresh()
H A Dputwin.c55 int maxx, nelt; in putwin() local
67 maxx = win->_maxx; in putwin()
71 maxx, filep) != maxx) in putwin()
H A Dmvderwin.c59 short *begch, *endch, maxx; in mvderwin() local
67 maxx = win->_maxx-1; in mvderwin()
68 if ((parx + maxx) >= par->_maxx || (pary + maxy) >= par->_maxy) in mvderwin()
87 *endch = maxx; in mvderwin()
H A Dgetwin.c52 short *save_fch, win_nums[SEPARATE_READ], maxy, maxx, nelt; in getwin() local
64 SEPARATE_READ) || ((win = _makenew(maxy = win_nums[2], maxx = in getwin()
86 if (fread((char *) *wcp++, sizeof (chtype), maxx, filep) != in getwin()
87 maxx) { in getwin()
H A Dwinsnstr.c57 int x, cury, endx, maxx, len; in winsnstr() local
73 maxx = win->_maxx; in winsnstr()
74 for (x = 0; sp[x] != '\0' && x < n && endx < maxx; ++x) { in winsnstr()
98 if ((endx += len) > maxx) { in winsnstr()
155 win->_lastch[cury] = maxx - 1; in winsnstr()
H A Dwbkgd.c50 short maxx; in wbkgd() local
99 maxx = win->_maxx - 1; in wbkgd()
103 for (x = maxx, wcp = win->_y[y]; x-- >= 0; ++wcp) { in wbkgd()
117 *endch = maxx; in wbkgd()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dclrtoeol.c34 char *maxx; in wclrtoeol() local
41 maxx = &win->_y[y][x]; in wclrtoeol()
42 for (sp = maxx; sp < end; sp++) in wclrtoeol()
44 maxx = sp; in wclrtoeol()
56 " lastch = %d\n", minx, maxx - win->_y[y], win->_firstch[y], in wclrtoeol()
H A Dclrtobot.c33 char *sp, *end, *maxx; in wclrtobot() local
43 maxx = sp; in wclrtobot()
50 (int)(maxx - &win->_y[y][0])); in wclrtobot()
H A Derase.c33 char *sp, *end, *start, *maxx; in werase() local
45 maxx = sp; in werase()
52 (int)(maxx - win->_y[y])); in werase()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c1175 int i, j, winy, tsentry, maxx, maxy, redraw = 0, ret = 0; local
1200 getmaxyx(stdscr, maxy, maxx);
1371 getmaxyx(stdscr, maxy, maxx);
1386 for (j = 0 ; j < (maxx - 8 - strlen(str1)) / 2; j++)
1392 move(winy, maxx - 8);