| /src/games/boggle/boggle/ |
| prtable.c | 71 int a, b, cols, loc, maxlen, nrows, z; local in function:prtable 83 nrows = (num - 1) / cols + 1; 84 for (a = 1; a <= nrows; a++) { 95 b += nrows;
|
| /src/sys/dev/wscons/ |
| wsemul_dumb.c | 74 u_int nrows, ncols, crow, ccol; member in struct:wsemul_dumb_emuldata 90 edp->nrows = type->nrows; 113 edp->nrows = type->nrows; 161 edp->nrows, edp->defattr); 187 if (edp->crow < edp->nrows - 1) { 193 edp->nrows - n); 195 edp->nrows - n, n, edp->defattr); 237 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, [all...] |
| wsemul_sun.c | 84 u_int nrows, ncols, crow, ccol; member in struct:wsemul_sun_emuldata 113 #define ROWS_LEFT (edp->nrows - edp->crow - 1) 127 edp->nrows = type->nrows; 188 edp->nrows = type->nrows; 249 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, 290 if (edp->crow < edp->nrows - 1) { 308 edp->nrows - edp->scrolldist); 310 edp->nrows - edp->scrolldist, edp->scrolldist [all...] |
| wscons_rops.c | 188 rcons_copyrows(void *id, int srcrow, int dstrow, int nrows) 195 ny = rc->rc_font->height * nrows; 206 rcons_eraserows(void *id, int startrow, int nrows, long fillattr) 212 ny = rc->rc_font->height * nrows;
|
| wsdisplay_vcons.c | 527 scr->scr_type->nrows = ri->ri_rows; 906 t->nrows = scr->scr_ri.ri_rows; 1122 vcons_copyrows_buffer(void *cookie, int srcrow, int dstrow, int nrows) 1141 len = ri->ri_cols * nrows; 1152 vcons_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 1157 vcons_copyrows_buffer(cookie, srcrow, dstrow, nrows); 1167 scr->scr_vd->private->copyrows(cookie, srcrow, dstrow, nrows); 1174 vcons_copyrows_noread(void *cookie, int srcrow, int dstrow, int nrows) 1193 for (l = dstrow; l < (dstrow + nrows); l++) { 1211 if (ri->ri_crow >= dstrow && ri->ri_crow < (dstrow + nrows)) [all...] |
| wsemul_vt100_subr.c | 124 n = vd->nrows - vd->crow - 1; 145 0, vd->nrows, 148 memset(&vd->dblwid[0], 0, vd->nrows); 411 m = vd->nrows - 1; /* then at the screen bottom */ 432 vd->crow = uimin(DEF1_ARG(vd, 0), vd->nrows) - 1; 498 vd->crow = uimin(DEF1_ARG(vd, 0) - 1, vd->nrows - 1); 653 vd->nrows, vd->ncols); 697 help = uimin(DEF1_ARG(vd, 0), vd->nrows) - 1; 698 n = uimin(DEFx_ARG(vd, 1, vd->nrows), vd->nrows) - help [all...] |
| vt100_base.h | 35 u_int nrows, ncols, crow, ccol; member in struct:vt100base_data
|
| wsdisplayvar.h | 98 int ncols, nrows; member in struct:wsscreen_descr
|
| wsemul_vt100.c | 151 vd->nrows = type->nrows; 300 KASSERT(type->nrows >= 0); 302 KASSERT(type->nrows <= 1024); 305 edp->bd.nrows = MAX(0, MIN(type->nrows, 1024)); 348 vd->scrreg_nrows = vd->nrows; 384 if ((vd->crow+1) < vd->nrows) 949 for (i = 0; i < vd->nrows; i++)
|
| /src/sys/dev/ic/ |
| pcdisplay_subr.c | 166 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))) 222 pcdisplay_copyrows(void *id, int srcrow, int dstrow, int nrows) 237 nrows * ncols); 240 nrows * ncols * 2); 244 pcdisplay_eraserows(void *id, int startrow, int nrows, long fillattr) 254 count = nrows * scr->type->ncols; 277 for (off = 0; off < scr->type->nrows * scr->type->ncols; 288 for (off = 0; off < scr->type->nrows * scr->type->ncols; 308 if (off >= scr->type->ncols * scr->type->nrows) 338 if (off >= (scr->type->ncols * scr->type->nrows)) [all...] |
| vga_raster.c | 350 else if (scr->nrows > 30) 450 type->nrows * type->ncols * type->fontheight; 463 if (cpos < 0 || cpos >= type->nrows * type->ncols) 720 type->ncols * type->nrows, M_DEVBUF, M_WAITOK); 721 vga_raster_eraserows(scr, 0, type->nrows, *defattrp); 1134 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))) 1301 vga_raster_copyrows(void *id, int srcrow, int dstrow, int nrows) 1322 if (dstrow == 0 && (srcrow + nrows == scr->type->nrows)) { 1338 nrows * ncols * fheight) [all...] |
| vga.c | 455 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; 464 if (cpos < 0 || cpos >= type->nrows * type->ncols) 877 malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2, 885 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, 887 pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp); 1039 oldtype->ncols * oldtype->nrows); 1057 scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows); 1131 vga_copyrows(void *id, int srcrow, int dstrow, int nrows) 1143 if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) { [all...] |
| /src/lib/libform/ |
| field.c | 248 ((fp->rows + fp->nrows) > 1)) 284 *nrow = field->nrows; 400 && ((field->rows + field->nrows) == 1)) 425 && ((field->rows + field->nrows) == 1)) 746 int fcol, int nrows, int nbuf) 751 (nrows < 0) || (nbuf < 0)) 766 new->nrows = nrows; 775 new_field(int rows, int cols, int frow, int fcol, int nrows, int nbuf) 782 frow, fcol, nrows, nbuf)) == NULL [all...] |
| /src/sys/arch/amiga/dev/ |
| amidisplaycc.c | 278 int nrows; member in struct:amidisplaycc_screen 463 adp->gfxheight = amidisplaycc_screentab[0].wsdescr.nrows * 509 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) 605 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) 719 row < 0 || row >= scr->nrows) 769 if (row < 0 || row >= scr->nrows || 799 amidisplaycc_copyrows(void *screen, int srcrow, int dstrow, int nrows) 823 if (srcrow < 0 || srcrow + nrows > scr->nrows || 824 dstrow < 0 || dstrow + nrows > scr->nrows [all...] |
| mntva.c | 85 static void mntva_eraserows(void *cookie, int row, int nrows, long fillattr); 86 static void mntva_copyrows(void *cookie, int srcrow, int dstrow, int nrows); 222 sc->sc_defaultscreen_descr.nrows = ri->ri_rows; 386 mntva_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 402 he = ri->ri_font->fontheight * nrows; 408 mntva_eraserows(void *cookie, int row, int nrows, long fillattr) 421 if ((row == 0) && (nrows == ri->ri_rows)) 428 he = ri->ri_font->fontheight * nrows;
|
| /src/share/examples/puffs/pgfs/ |
| pgfs_db.h | 55 unsigned int nrows; member in struct:fetchstatus
|
| /src/sys/arch/vax/uba/ |
| qv.c | 667 qv_rows_overlap(int srcrow, int dstrow, int nrows) 670 if (dstrow + nrows <= srcrow) 676 if (srcrow + nrows <= dstrow) 687 qv_copyrows(void *id, int srcrow, int dstrow, int nrows) 698 nrows * QV_COLS); 700 nrows * QV_COLS); 704 ol = qv_rows_overlap(srcrow, dstrow, nrows); 706 for (n = 0; n < nrows; n++) 710 for (n = 0; n < nrows; n++) { 721 qv_copyrows(id, dstrow + nrows - srcrow + dstrow, [all...] |
| /src/sys/dev/isa/ |
| ega.c | 346 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; 353 if (cpos < 0 || cpos >= type->nrows * type->ncols) 595 malloc(type->ncols * type->nrows * 2, M_DEVBUF, M_WAITOK); 606 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, 608 pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp); 709 oldtype->ncols * oldtype->nrows); 728 type->ncols * type->nrows); 833 ega_copyrows(void *id, int srcrow, int dstrow, int nrows) 845 if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) { [all...] |
| /src/sys/arch/evbmips/gdium/ |
| gdium_genfb.c | 94 gdium_stdscreen.nrows = ri->ri_rows;
|
| /src/sys/arch/evbppc/explora/dev/ |
| fb_elb.c | 243 stdscreen.nrows = ri->ri_rows; 408 fb_eraserows(void *v, int row, int nrows, long attr) 414 nrows *= ri->ri_font->fontheight; 416 s3_fill(fb, 0, row, ri->ri_stride, nrows, (attr >> 16)&0x0f, 0x0f); 434 fb_copyrows(void *v, int srcrow, int dstrow, int nrows) 441 nrows *= ri->ri_font->fontheight; 443 s3_copy(fb, 0, srcrow, 0, dstrow, ri->ri_stride, nrows, 0x0f);
|
| /src/sys/arch/luna68k/dev/ |
| omrasops.c | 597 om_eraserows(void *cookie, int startrow, int nrows, long attr) 615 height = ri->ri_font->fontheight * nrows; 622 for (row = startrow; row < startrow + nrows; row++) { 1105 om1_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 1113 height = ri->ri_font->fontheight * nrows; 1116 if (srcrow < dstrow && srcrow + nrows > dstrow) { 1144 om4_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 1162 if (nrows <= 0 || srcrow == dstrow) { 1168 srcrow += nrows - 1; 1169 dstrow += nrows - 1 [all...] |
| /src/sys/dev/pci/ |
| wcfb.c | 315 sc->sc_defaultscreen_descr.nrows = ri->ri_rows; 670 wcfb_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 680 sc->copyrows(ri, srcrow, dstrow, nrows); 685 for (i = 0; i < ri->ri_font->fontheight * nrows; i++) { 695 wcfb_eraserows(void *cookie, int row, int nrows, long fillattr) 705 sc->eraserows(ri, row, nrows, fillattr); 709 for (i = 0; i < ri->ri_font->fontheight * nrows; i++) { 942 wcfb_acc_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 954 height = ri->ri_font->fontheight * nrows; 960 wcfb_acc_eraserows(void *cookie, int row, int nrows, long fillattr [all...] |
| tdvfb.c | 118 static void tdvfb_eraserows(void *cookie, int row, int nrows, 120 static void tdvfb_copyrows(void *cookie, int srcrow, int dstrow, int nrows); 263 sc->sc_defaultscreen_descr.nrows = ri->ri_rows; 886 tdvfb_copyrows(void *cookie, int srcrow, int dstrow, int nrows) 902 he = ri->ri_font->fontheight * nrows; 908 tdvfb_eraserows(void *cookie, int row, int nrows, long fillattr) 922 if ((row == 0) && (nrows == ri->ri_rows)) 929 he = ri->ri_font->fontheight * nrows;
|
| /src/sys/arch/arm/fdt/ |
| arm_simplefb.c | 78 .nrows = 0, 271 arm_simplefb_stdscreen.nrows = ri->ri_rows;
|
| /src/sys/arch/zaurus/dev/ |
| w100.c | 279 if (descr->c.nrows == 0) { 283 rasops_init(rinfo, descr->c.nrows, descr->c.ncols); 286 descr->c.nrows = rinfo->ri_rows; 372 descr->c.nrows = rinfo.ri_rows; 416 rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
|