/src/sys/dev/wscons/ |
wsemul_dumb.c | 74 u_int nrows, ncols, crow, ccol; member in struct:wsemul_dumb_emuldata 91 edp->ncols = type->ncols; 114 edp->ncols = type->ncols; 153 edp->ncols - edp->ccol - 1); 177 if (edp->ccol < edp->ncols)
|
vt100_base.h | 35 u_int nrows, ncols, crow, ccol; member in struct:vt100base_data 83 if ((d)->ccol > ((d)->ncols >> 1) - 1) \ 84 (d)->ccol = ((d)->ncols >> 1) - 1; \ 88 #define NCOLS(d) ((d)->ncols >> (d)->dw) 89 #define COLS_LEFT(d) (NCOLS(d) - (d)->ccol - 1)
|
wsemul_sun.c | 84 u_int nrows, ncols, crow, ccol; member in struct:wsemul_sun_emuldata 112 #define COLS_LEFT (edp->ncols - edp->ccol - 1) 128 edp->ncols = type->ncols; 189 edp->ncols = type->ncols; 280 if (edp->ccol < edp->ncols) 350 if (dst < edp->ncols) { 352 src, dst, edp->ncols - dst); 380 edp->ccol = uimin(NORMALIZE_ARG(0), edp->ncols) - 1 [all...] |
wsdisplayvar.h | 98 int ncols, nrows; member in struct:wsscreen_descr
|
/src/lib/libcurses/ |
tstp.c | 256 int nlines, ncols; local in function:__restartwin 290 ncols = COLS; 291 if (curscr->maxy != nlines || curscr->maxx != ncols) 292 wresize(curscr, nlines, ncols); 293 if (stdscr->maxy != nlines || stdscr->maxx != ncols) 294 wresize(stdscr, nlines, ncols);
|
resize.c | 45 static int __resizeterm(WINDOW *win, int nlines, int ncols); 46 static int __resizewin(WINDOW *win, int nlines, int ncols); 56 int ncols = req_ncols; local in function:wresize 62 win, nlines, ncols); 75 if (win->begx + ncols > win->orig->begx + win->orig->maxx) 76 ncols = 0; 77 if (ncols <= 0) 78 ncols += win->orig->begx + win->orig->maxx - win->begx; 79 if (ncols < 1) 80 ncols = 1 [all...] |
/src/sys/dev/ic/ |
pcdisplay_subr.c | 66 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) * 2 100 off = scr->cursorrow * scr->type->ncols + scr->cursorcol; 114 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol); 136 + row * scr->type->ncols + col; 163 off = row * scr->type->ncols + col; 166 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))) 179 pcdisplay_copycols(void *id, int row, int srccol, int dstcol, int ncols) 186 srcoff = dstoff = row * scr->type->ncols; 194 ncols); 196 memcpy(&scr->mem[dstoff], &scr->mem[srcoff], ncols * 2) 227 int ncols = scr->type->ncols; local in function:pcdisplay_copyrows [all...] |
hd44780_subr.c | 144 hlcd_copycols(void *id, int row, int srccol, int dstcol, int ncols) 148 if ((dstcol + ncols - 1) > hdscr->hlcd_sc->sc_cols) 149 ncols = hdscr->hlcd_sc->sc_cols - srccol; 154 ncols); 156 memmove(&hdscr->image[dstcol], &hdscr->image[srccol], ncols); 164 hlcd_erasecols(void *id, int row, int startcol, int ncols, long fillattr) 168 if ((startcol + ncols) > hdscr->hlcd_sc->sc_cols) 169 ncols = hdscr->hlcd_sc->sc_cols - startcol; 173 ' ', ncols); 175 memset(&hdscr->image[startcol], ' ', ncols); 183 int ncols = hdscr->hlcd_sc->sc_cols; local in function:hlcd_copyrows 195 int ncols = hdscr->hlcd_sc->sc_cols; local in function:hlcd_eraserows [all...] |
vga.c | 455 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; 464 if (cpos < 0 || cpos >= type->nrows * type->ncols) 487 scr->pcs.cursorrow = cpos / type->ncols; 488 scr->pcs.cursorcol = cpos % type->ncols; 877 malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2, 885 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, 1039 oldtype->ncols * oldtype->nrows); 1057 scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows); 1136 int ncols = scr->pcs.type->ncols; local in function:vga_copyrows [all...] |
vga_raster.c | 450 type->nrows * type->ncols * type->fontheight; 463 if (cpos < 0 || cpos >= type->nrows * type->ncols) 501 scr->cursorrow = cpos / type->ncols; 502 scr->cursorcol = cpos % type->ncols; 720 type->ncols * type->nrows, M_DEVBUF, M_WAITOK); 1048 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) + 1072 off = scr->cursorrow * scr->type->ncols + scr->cursorcol; 1094 off = scr->cursorrow * scr->type->ncols + scr->cursorcol; 1132 off = row * scr->type->ncols + col; 1134 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows)) 1307 int ncols; local in function:vga_raster_copyrows [all...] |
/src/usr.bin/sort/ |
init.c | 83 int ncols = 0; variable in typeref:typename:int 101 p = realloc(clist, (ncols + 2) * sizeof(*clist)); 105 memset(&clist[ncols], 0, sizeof(clist[ncols])); 107 for (i = 0; i < ncols; i++) 111 memmove(clist+i+1, clist+i, sizeof(COLDESC)*(ncols-i)); 113 ncols++; 116 for (i = 0; i < ncols; i++) 120 memmove(clist+i+1, clist+i,sizeof(COLDESC)*(ncols-i)); 122 ncols++ [all...] |
/src/games/boggle/boggle/ |
mach.c | 67 static int ncols; variable in typeref:typename:int 133 prtable(pword, npwords, 0, ncols, prword, prwidth); 140 prtable(mword, nmwords, 0, ncols, prword, prwidth); 573 ncols = COLS;
|
/src/usr.bin/column/ |
column.c | 218 char **cols, **ncols; local in function:maketbl 227 ncols = erealloc(cols, (maxcols + 228 DEFCOLS) * sizeof(*ncols)); 231 cols = ncols;
|
/src/sys/dev/isa/ |
ega.c | 346 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; 353 if (cpos < 0 || cpos >= type->nrows * type->ncols) 368 scr->pcs.cursorrow = cpos / type->ncols; 369 scr->pcs.cursorcol = cpos % type->ncols; 595 malloc(type->ncols * type->nrows * 2, M_DEVBUF, M_WAITOK); 606 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, 709 oldtype->ncols * oldtype->nrows); 728 type->ncols * type->nrows); 838 int ncols = scr->pcs.type->ncols; local in function:ega_copyrows [all...] |
/src/usr.sbin/sunlabel/ |
sunlabel.c | 971 int ncols; local in function:screen_columns 982 ncols = 80; 988 ncols = n; 993 ncols = wsz.ws_col; 997 ncols = tsz.ts_cols; 1000 if (ncols < 20) 1001 ncols = 20; 1002 return ncols; 1019 size_t ncols; local in function:print_part 1083 ncols = screen_columns() - 2 [all...] |
/src/sys/arch/amiga/dev/ |
amidisplaycc.c | 277 int ncols; member in struct:amidisplaycc_screen 461 adp->gfxwidth = amidisplaycc_screentab[0].wsdescr.ncols * 509 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) 605 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) 702 amidisplaycc_copycols(void *screen, int row, int srccol, int dstcol, int ncols) 717 if (srccol < 0 || srccol + ncols > scr->ncols || 718 dstcol < 0 || dstcol + ncols > scr->ncols || 734 for (i = ncols - 1 ; i >= 0 ; i-- [all...] |