HomeSort by: relevance | last modified time | path
    Searched refs:maxx (Results 1 - 25 of 58) sorted by relevancy

1 2 3

  /src/lib/libcurses/
clrtoeol.c 67 __LDATA *end, *maxx, *sp; local in function:wclrtoeol
92 end = &win->alines[y]->line[win->maxx];
94 maxx = &win->alines[y]->line[x];
96 for (sp = maxx; sp < end; sp++) {
106 maxx = sp;
119 __CTRACE(__CTRACE_ERASE, "CLRTOEOL: y = %d, minx = %d, maxx = %d, "
121 y, minx, (int)(maxx - win->alines[y]->line),
124 __touchline(win, y, x, (int)win->maxx - 1);
toucholap.c 61 endx = min(win1->maxx + win1->begx, win2->maxx + win2->begx);
66 win1->begx + win1->maxx);
69 win2->begx + win2->maxx);
mvwin.c 66 if (((win->maxx + dx) > parent->maxx) ||
85 if (*plp->lastchp < x + win->maxx)
86 *plp->lastchp = x + win->maxx;
109 bx < 0 || bx + win->maxx > win->screen->COLS)
125 if (bx < orig->begx || win->maxx + dx > orig->maxx)
clrtobot.c 67 __LDATA *sp, *end, *maxx; local in function:wclrtobot
81 maxx = NULL; /* XXX gcc -Wuninitialized */
93 end = &win->alines[y]->line[win->maxx];
98 maxx = sp;
115 (int)(maxx - win->alines[y]->line));
overlay.c 57 0, 0, win2->maxy - 1, win2->maxx - 1, TRUE);
overwrite.c 57 0, 0, win2->maxy - 1, win2->maxx - 1, FALSE);
delch.c 96 end = &win->alines[win->cury]->line[win->maxx - 1];
109 __touchline(win, (int)win->cury, (int)win->curx, (int)win->maxx - 1);
115 end = &win->alines[win->cury]->line[win->maxx - 1];
133 if (sx + cw < win->maxx) {
150 __touchline(win, (int)win->cury, sx, (int)win->maxx - 1);
insstr.c 165 if (len < win->maxx - win->curx) {
167 temp1 = &win->alines[win->cury]->line[win->maxx - 1];
187 *scp && x < len + win->curx && x < win->maxx;
214 if (win->ch_off + win->maxx - 1 > *lnp->lastchp)
215 *lnp->lastchp = win->ch_off + win->maxx - 1;
216 __touchline(win, (int)win->cury, (int)win->curx, (int)win->maxx - 1);
chgat.c 69 if (x >= win->maxx || y >= win->maxy)
74 if (count < 0 || count > win->maxx - x)
75 count = win->maxx - x;
instr.c 148 if (n < 0 || (n - 1) > win->maxx - win->curx - 1) {
149 epos = win->maxx - 1;
150 n = win->maxx - win->curx;
copywin.c 91 if (dmaxcol >= dstwin->maxx)
92 dmaxcol = dstwin->maxx - 1;
93 if (smincol + (dmaxcol - dmincol) >= srcwin->maxx)
94 dmaxcol = srcwin->maxx + dmincol - smincol - 1;
newwin.c 90 if ((new_one = __newwin(_cursesi_screen, win->maxy, win->maxx,
130 int ry, maxy, maxx; local in function:__newwin
143 maxx = ncols > 0 ? ncols : COLS - bx + ncols;
145 if ((win = __makenew(screen, maxy, maxx, by, bx, 0, ispad)) == NULL)
170 for (sp = lp->line, j = 0; j < maxx; j++, sp++) {
179 lp->hash = __hash_line(lp->line, maxx);
197 int maxy, maxx; local in function:__subwin
207 maxx = ncols > 0 ? ncols : orig->maxx + orig->begx - bx + ncols;
210 || bx + maxx > orig->maxx + orig->begx
    [all...]
ins_wstr.c 153 lstr = malloc(sizeof(wchar_t) * win->maxx);
217 if (width > win->maxx - win->curx + 1) {
303 for (i = 0; i < win->maxx; i++)
315 if (sx + width + pcw <= win->maxx) {
317 temp1 = &win->alines[y]->line[win->maxx - 1];
323 win->maxx + pcw, win->maxx - 1);
349 for (i = 0; i < win->maxx; i++)
382 for (i = 0; i < win->maxx; i++)
394 __touchline(win, (int) y, lx, (int) win->maxx - 1)
    [all...]
move.c 71 if (x > win->maxx || y >= win->maxy)
79 if (x == win->maxx)
refresh.c 89 "wnoutrefresh: win %p, begy %d, begx %d, maxy %d, maxx %d\n",
90 win, win->begy, win->begx, win->maxy, win->maxx);
93 win->maxy, win->maxx);
132 if (pmaxx > pad->maxx - pad->begx)
133 pmaxx = pad->maxx - pad->begx;
147 * (begy, begx) to (maxy, maxx) at screen position (wbegy, wbegx).
151 int maxy, int maxx)
167 begy, begx, wbegy, wbegx, maxy, maxx);
216 if (begx <= dwin->curx && dwin->curx < maxx
217 && 0 <= newx && newx < screen->__virtscr->maxx)
    [all...]
resize.c 73 if (win->begx > win->orig->begx + win->orig->maxx)
74 win->begx = win->orig->begx + win->orig->maxx - 1;
75 if (win->begx + ncols > win->orig->begx + win->orig->maxx)
78 ncols += win->orig->begx + win->orig->maxx - win->begx;
262 __CTRACE(__CTRACE_WINDOW, "resize: win->maxx = %d\n", win->maxx);
339 win->maxx = ncols;
351 for (sp = lp->line, j = 0; j < win->maxx; j++, sp++) {
370 __CTRACE(__CTRACE_WINDOW, "resize: win->maxx = %d\n", win->maxx);
    [all...]
addbytes.c 229 if (*x + newx > win->maxx - 1)
230 newx = win->maxx - *x - 1;
329 if (*x == win->maxx - 1)
401 if (*x + newx > win->maxx - 1)
402 newx = win->maxx - *x - 1;
484 if (cw > win->maxx - *x) {
498 for (tp = lp; *x < win->maxx; tp++, (*x)++) {
506 newx = win->maxx - 1 + win->ch_off;
509 __touchline(win, *y, sx, (int) win->maxx - 1);
570 __CTRACE(__CTRACE_INPUT, "_cursesi_addwchar: *x = %d, win->maxx = %d\n"
    [all...]
inchstr.c 148 if (n < 0 || (n - 1) > win->maxx - win->curx - 1)
149 epos = win->maxx - 1;
inwstr.c 150 while ((x < win->maxx) && ((n < 0) || ((n > 1) && (cnt < n - 1)))) {
156 if (x < win->maxx)
insdelln.c 115 (size_t)win->maxx * __LDATASIZE);
119 for (i = 0; i < win->maxx; i++) {
134 __touchline(win, y, 0, (int)win->maxx - 1);
159 (size_t)win->maxx * __LDATASIZE);
163 for (i = 0; i < win->maxx; i++) {
178 __touchline(win, y, 0, (int)win->maxx - 1);
ins_wch.c 128 if (wins_nwstr(win, ws, min(win->maxx - x,
145 if (cw > win->maxx - sx)
154 temp1 = &win->alines[y]->line[win->maxx - 1];
210 newx = win->maxx - 1 + win->ch_off;
213 __touchline(win, y, sx, (int)win->maxx - 1);
touchwin.c 185 (int) win->maxx - 1, 1);
189 *wlp->firstchp < win->maxx + win->ch_off)
190 *wlp->firstchp = win->maxx + win->ch_off;
192 *wlp->lastchp < win->maxx + win->ch_off)
213 _cursesi_touchline_force(win, y, 0, (int) win->maxx - 1,
  /src/lib/libmenu/
post.c 43 int maxx, maxy, i; local in function:post_menu
65 getmaxyx(menu->scrwin, maxy, maxx);
66 if ((maxx == ERR) || (maxy == ERR)) return E_SYSTEM_ERROR;
68 if ((menu->cols * menu->max_item_width + menu->cols - 1) > maxx)
  /src/usr.bin/msgc/
msg_sys.def 343 int maxx;
369 maxx = getmaxx(msg_win) - txt_x - 1;
380 off = pos - maxx;
381 if (off < 0 || len <= maxx)
387 if (npos - off > maxx)
388 off = npos - maxx;
391 if (npos > maxx)
392 npos = maxx;
521 int maxx, maxy;
525 maxx = getmaxx(msg_win)
    [all...]
  /src/sbin/wsconsctl/
mouse.c 75 { "calibration.maxx", &calibration.maxx,
104 field_by_value(&calibration.maxx)->flags & FLG_GET ||
174 field_disable_by_value(&calibration.maxx);
184 if (field_by_value(&calibration.maxx)->flags & FLG_GET)
185 calibration.maxx = tmp.maxx;
254 field_by_value(&calibration.maxx)->flags & FLG_SET ||
323 if (field_by_value(&calibration.maxx)->flags & FLG_SET)
324 tmp.maxx = calibration.maxx
    [all...]

Completed in 24 milliseconds

1 2 3