Lines Matching defs:ncols
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)))
1194 rasoff = scr->dispoffset + row * scr->type->ncols * fheight + col;
1210 rasoff += scr->type->ncols;
1223 rasoff2 += scr->type->ncols;
1231 rasoff += scr->type->ncols;
1252 rasoff2 += scr->type->ncols;
1258 vga_raster_copycols(void *id, int row, int srccol, int dstcol, int ncols)
1269 srcoff = row * scr->type->ncols + srccol;
1270 dstoff = row * scr->type->ncols + dstcol;
1271 rassrcoff = scr->dispoffset + row * scr->type->ncols * fheight + srccol;
1272 rasdstoff = scr->dispoffset + row * scr->type->ncols * fheight + dstcol;
1275 ncols * sizeof(struct vga_scrmem));
1281 rassrcoff + i * scr->type->ncols, memh,
1282 rasdstoff + i * scr->type->ncols, ncols);
1288 vga_raster_erasecols(void *id, int row, int startcol, int ncols, long fillattr)
1296 for (i = startcol; i < startcol + ncols; i++)
1307 int ncols;
1312 ncols = scr->type->ncols;
1315 srcoff = srcrow * ncols;
1316 dstoff = dstrow * ncols;
1331 if ((scr->dispoffset + srcrow * ncols * fheight)
1333 scr->dispoffset += srcrow * ncols * fheight;
1338 nrows * ncols * fheight);
1352 nrows * ncols * fheight);
1355 nrows * ncols * sizeof(struct vga_scrmem));
1369 off = startrow * scr->type->ncols;
1370 count = nrows * scr->type->ncols;
1379 if (scr->type->ncols % 4 == 0) {
1445 for (j = 0; j < type->ncols; j++) {
1446 off = i * type->ncols + j;
1476 for (off = 0; off < type->nrows * type->ncols; off++) {