Home
last modified time | relevance | path

Searched refs:nrows (Results 1 – 25 of 121) sorted by relevance

12345

/netbsd-src/sys/dev/wscons/
H A Dwsemul_dumb.c74 u_int nrows, ncols, crow, ccol; member
90 edp->nrows = type->nrows; in wsemul_dumb_cnattach()
113 edp->nrows = type->nrows; in wsemul_dumb_attach()
161 edp->nrows, edp->defattr); in wsemul_dumb_output()
187 if (edp->crow < edp->nrows - 1) { in wsemul_dumb_output()
193 edp->nrows - n); in wsemul_dumb_output()
195 edp->nrows - n, n, edp->defattr); in wsemul_dumb_output()
237 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, in wsemul_dumb_resetop()
H A Dwsemul_sun.c84 u_int nrows, ncols, crow, ccol; member
113 #define ROWS_LEFT (edp->nrows - edp->crow - 1)
127 edp->nrows = type->nrows; in wsemul_sun_cnattach()
188 edp->nrows = type->nrows; in wsemul_sun_attach()
249 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, in wsemul_sun_output_normal()
290 if (edp->crow < edp->nrows - 1) { in wsemul_sun_output_normal()
308 edp->nrows - edp->scrolldist); in wsemul_sun_output_normal()
310 edp->nrows - edp->scrolldist, edp->scrolldist, in wsemul_sun_output_normal()
379 edp->crow = uimin(NORMALIZE_ARG(1), edp->nrows) - 1; in wsemul_sun_control()
398 if (dst < edp->nrows) { in wsemul_sun_control()
[all …]
H A Dwsemul_vt100_subr.c124 n = vd->nrows - vd->crow - 1; in wsemul_vt100_ed()
145 0, vd->nrows, in wsemul_vt100_ed()
148 memset(&vd->dblwid[0], 0, vd->nrows); in wsemul_vt100_ed()
411 m = vd->nrows - 1; /* then at the screen bottom */ in wsemul_vt100_handle_csi()
432 vd->crow = uimin(DEF1_ARG(vd, 0), vd->nrows) - 1; in wsemul_vt100_handle_csi()
498 vd->crow = uimin(DEF1_ARG(vd, 0) - 1, vd->nrows - 1); in wsemul_vt100_handle_csi()
603 vd->nrows, vd->ncols); in wsemul_vt100_handle_csi()
647 help = uimin(DEF1_ARG(vd, 0), vd->nrows) - 1; in wsemul_vt100_handle_csi()
648 n = uimin(DEFx_ARG(vd, 1, vd->nrows), vd->nrows) - help; in wsemul_vt100_handle_csi()
H A Dwscons_rops.c188 rcons_copyrows(void *id, int srcrow, int dstrow, int nrows) in rcons_copyrows() argument
195 ny = rc->rc_font->height * nrows; in rcons_copyrows()
206 rcons_eraserows(void *id, int startrow, int nrows, long fillattr) in rcons_eraserows() argument
212 ny = rc->rc_font->height * nrows; in rcons_eraserows()
H A Dwsdisplay_vcons.c514 scr->scr_type->nrows = ri->ri_rows; in vcons_load_font()
893 t->nrows = scr->scr_ri.ri_rows; in vcons_alloc_screen()
1109 vcons_copyrows_buffer(void *cookie, int srcrow, int dstrow, int nrows) in vcons_copyrows_buffer()
1128 len = ri->ri_cols * nrows; in vcons_copyrows()
1139 vcons_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in vcons_copyrows()
1144 vcons_copyrows_buffer(cookie, srcrow, dstrow, nrows); in vcons_copyrows()
1154 scr->scr_vd->private->copyrows(cookie, srcrow, dstrow, nrows); in vcons_copyrows_noread()
1161 vcons_copyrows_noread(void *cookie, int srcrow, int dstrow, int nrows) in vcons_copyrows_noread()
1180 for (l = dstrow; l < (dstrow + nrows); l++) { in vcons_copyrows_noread()
1198 if (ri->ri_crow >= dstrow && ri->ri_crow < (dstrow + nrows)) in vcons_eraserows_buffer()
1095 vcons_copyrows_buffer(void * cookie,int srcrow,int dstrow,int nrows) vcons_copyrows_buffer() argument
1125 vcons_copyrows(void * cookie,int srcrow,int dstrow,int nrows) vcons_copyrows() argument
1147 vcons_copyrows_noread(void * cookie,int srcrow,int dstrow,int nrows) vcons_copyrows_noread() argument
1191 vcons_eraserows_buffer(void * cookie,int row,int nrows,long fillattr) vcons_eraserows_buffer() argument
1211 vcons_eraserows_cached(void * cookie,int row,int nrows,long fillattr) vcons_eraserows_cached() argument
1228 vcons_eraserows(void * cookie,int row,int nrows,long fillattr) vcons_eraserows() argument
[all...]
H A Dwsemul_vt100.c151 vd->nrows = type->nrows; in wsemul_vt100_init()
300 KASSERT(type->nrows >= 0); in wsemul_vt100_resize()
302 KASSERT(type->nrows <= 1024); in wsemul_vt100_resize()
305 edp->bd.nrows = MAX(0, MIN(type->nrows, 1024)); in wsemul_vt100_resize()
348 vd->scrreg_nrows = vd->nrows; in wsemul_vt100_reset()
384 if ((vd->crow+1) < vd->nrows) in wsemul_vt100_nextline()
949 for (i = 0; i < vd->nrows; i++) in wsemul_vt100_output_esc_hash()
/netbsd-src/sys/dev/ic/
H A Dpcdisplay_subr.c166 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))) in pcdisplay_putchar()
222 pcdisplay_copyrows(void *id, int srcrow, int dstrow, int nrows) in pcdisplay_copyrows() argument
237 nrows * ncols); in pcdisplay_copyrows()
240 nrows * ncols * 2); in pcdisplay_copyrows()
244 pcdisplay_eraserows(void *id, int startrow, int nrows, long fillattr) in pcdisplay_eraserows() argument
254 count = nrows * scr->type->ncols; in pcdisplay_eraserows()
277 for (off = 0; off < scr->type->nrows * scr->type->ncols; in pcdisplay_replaceattr()
288 for (off = 0; off < scr->type->nrows * scr->type->ncols; in pcdisplay_replaceattr()
308 if (off >= scr->type->ncols * scr->type->nrows) in pcdisplay_getwschar()
338 if (off >= (scr->type->ncols * scr->type->nrows)) in pcdisplay_putwschar()
H A Dvga_raster.c350 else if (scr->nrows > 30) in vga_cnattach()
450 type->nrows * type->ncols * type->fontheight; in vga_raster_init_screen()
463 if (cpos < 0 || cpos >= type->nrows * type->ncols) in vga_raster_init_screen()
720 type->ncols * type->nrows, M_DEVBUF, M_WAITOK); in vga_raster_alloc_screen()
721 vga_raster_eraserows(scr, 0, type->nrows, *defattrp); in vga_raster_alloc_screen()
1134 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))) in vga_raster_putchar()
1301 vga_raster_copyrows(void *id, int srcrow, int dstrow, int nrows) in vga_raster_copyrows() argument
1322 if (dstrow == 0 && (srcrow + nrows == scr->type->nrows)) { in vga_raster_copyrows()
1338 nrows * ncols * fheight); in vga_raster_copyrows()
1352 nrows * ncols * fheight); in vga_raster_copyrows()
[all …]
H A Dvga.c455 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; in vga_init_screen()
464 if (cpos < 0 || cpos >= type->nrows * type->ncols) in vga_init_screen()
877 malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2, in vga_alloc_screen()
885 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, in vga_alloc_screen()
887 pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp); in vga_alloc_screen()
1039 oldtype->ncols * oldtype->nrows); in vga_doswitch()
1057 scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows); in vga_doswitch()
1131 vga_copyrows(void *id, int srcrow, int dstrow, int nrows) in vga_copyrows() argument
1143 if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) { in vga_copyrows()
1158 memh, scr->mindispoffset, nrows * ncols); in vga_copyrows()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/preproc/tbl/
H A Dmain.cpp619 int nrows; member
632 format::format(int nr, int nc) : nrows(nr), ncolumns(nc) in format()
642 entry = new entry_format *[nrows]; in format()
643 for (i = 0; i < nrows; i++) in format()
645 vline = new char*[nrows]; in format()
646 for (i = 0; i < nrows; i++) { in format()
657 vline = new char*[nrows + n]; in add_rows()
658 for (i = 0; i < nrows; i++) in add_rows()
662 vline[nrows + i] = new char[ncolumns + 1]; in add_rows()
664 vline[nrows + i][j] = 0; in add_rows()
[all …]
H A Dtable.cpp1202 : flags(f), nrows(0), ncolumns(nc), linesize(ls), decimal_point_char(dpc), in table()
1221 for (int i = 0; i < nrows; i++) { in ~table()
1302 if (r >= nrows) { in allocate()
1328 while (nrows <= r) { in allocate()
1329 entry[nrows] = new table_entry*[ncolumns]; in allocate()
1332 entry[nrows][i] = 0; in allocate()
1333 vline[nrows] = new char[ncolumns+1]; in allocate()
1335 vline[nrows][i] = 0; in allocate()
1336 nrows++; in allocate()
1343 assert(r >= 0 && c >= 0 && r < nrows && c < ncolumns); in do_hspan()
[all …]
/netbsd-src/sys/arch/amiga/dev/
H A Damidisplaycc.c278 int nrows; member
463 adp->gfxheight = amidisplaycc_screentab[0].wsdescr.nrows * in amidisplaycc_attach()
509 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) in amidisplaycc_cursor()
605 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols) in amidisplaycc_putchar()
719 row < 0 || row >= scr->nrows) in amidisplaycc_copycols()
769 if (row < 0 || row >= scr->nrows || in amidisplaycc_erasecols()
799 amidisplaycc_copyrows(void *screen, int srcrow, int dstrow, int nrows) in amidisplaycc_copyrows() argument
823 if (srcrow < 0 || srcrow + nrows > scr->nrows || in amidisplaycc_copyrows()
824 dstrow < 0 || dstrow + nrows > scr->nrows) in amidisplaycc_copyrows()
842 srcbmapoffset += rowbytes * (nrows - 1); in amidisplaycc_copyrows()
[all …]
H A Dmntva.c85 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; in mntva_attach()
386 mntva_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in mntva_copyrows() argument
402 he = ri->ri_font->fontheight * nrows; in mntva_copyrows()
408 mntva_eraserows(void *cookie, int row, int nrows, long fillattr) in mntva_eraserows() argument
421 if ((row == 0) && (nrows == ri->ri_rows)) in mntva_eraserows()
428 he = ri->ri_font->fontheight * nrows; in mntva_eraserows()
/netbsd-src/games/boggle/boggle/
H A Dprtable.c71 int a, b, cols, loc, maxlen, nrows, z; in prtable() local
83 nrows = (num - 1) / cols + 1; in prtable()
84 for (a = 1; a <= nrows; a++) { in prtable()
95 b += nrows; in prtable()
/netbsd-src/sys/arch/vax/uba/
H A Dqv.c667 qv_rows_overlap(int srcrow, int dstrow, int nrows) in qv_rows_overlap() argument
670 if (dstrow + nrows <= srcrow) in qv_rows_overlap()
676 if (srcrow + nrows <= dstrow) in qv_rows_overlap()
687 qv_copyrows(void *id, int srcrow, int dstrow, int nrows) in qv_copyrows() argument
698 nrows * QV_COLS); in qv_copyrows()
700 nrows * QV_COLS); in qv_copyrows()
704 ol = qv_rows_overlap(srcrow, dstrow, nrows); in qv_copyrows()
706 for (n = 0; n < nrows; n++) in qv_copyrows()
710 for (n = 0; n < nrows; n++) { in qv_copyrows()
721 qv_copyrows(id, dstrow + nrows - srcrow + dstrow, in qv_copyrows()
[all …]
/netbsd-src/lib/libform/
H A Dfield.c248 ((fp->rows + fp->nrows) > 1)) in set_field_just()
284 *nrow = field->nrows; in field_info()
400 && ((field->rows + field->nrows) == 1)) in set_field_printf()
425 && ((field->rows + field->nrows) == 1)) in set_field_buffer()
746 int fcol, int nrows, int nbuf) in _formi_create_field() argument
751 (nrows < 0) || (nbuf < 0)) in _formi_create_field()
766 new->nrows = nrows; in _formi_create_field()
775 new_field(int rows, int cols, int frow, int fcol, int nrows, int nbuf) in new_field() argument
782 frow, fcol, nrows, nbuf)) == NULL) in new_field()
841 frow, fcol, (int) field->nrows, in dup_field()
[all …]
H A Dinternals.c292 ((field->rows + field->nrows) != 1)) { in _formi_init_field_xpos()
359 if ((field->rows + field->nrows) == 1) { in check_field_size()
363 + field->nrows)); in check_field_size()
510 if ((field->rows + field->nrows) == 1) { in _formi_wrap_field()
516 if ((field->drows + field->nrows) == 1) { in _formi_wrap_field()
669 field->row_count > (field->rows + field->nrows)) || in _formi_wrap_field()
1522 if ((cur->rows + cur->nrows) == 1) { in _formi_redraw_field()
1904 if ((field->rows + field->nrows) == 1) { in _formi_add_char()
1964 if (((field->rows + field->nrows) != 1) || in _formi_set_cursor_xpos()
2112 ((cur->rows + cur->nrows) == 1)) in _formi_manipulate_field()
[all …]
/netbsd-src/sys/dev/isa/
H A Dega.c346 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; in ega_init_screen()
353 if (cpos < 0 || cpos >= type->nrows * type->ncols) in ega_init_screen()
595 malloc(type->ncols * type->nrows * 2, M_DEVBUF, M_WAITOK); in ega_alloc_screen()
606 scr->pcs.mem = malloc(type->ncols * type->nrows * 2, in ega_alloc_screen()
608 pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp); in ega_alloc_screen()
709 oldtype->ncols * oldtype->nrows); in ega_doswitch()
728 type->ncols * type->nrows); in ega_doswitch()
833 ega_copyrows(void *id, int srcrow, int dstrow, int nrows) in ega_copyrows() argument
845 if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) { in ega_copyrows()
861 nrows * ncols); in ega_copyrows()
[all …]
/netbsd-src/sys/arch/evbppc/explora/dev/
H A Dfb_elb.c243 stdscreen.nrows = ri->ri_rows; in fb_init()
408 fb_eraserows(void *v, int row, int nrows, long attr) in fb_eraserows() argument
414 nrows *= ri->ri_font->fontheight; in fb_eraserows()
416 s3_fill(fb, 0, row, ri->ri_stride, nrows, (attr >> 16)&0x0f, 0x0f); in fb_eraserows()
434 fb_copyrows(void *v, int srcrow, int dstrow, int nrows) in fb_copyrows() argument
441 nrows *= ri->ri_font->fontheight; in fb_copyrows()
443 s3_copy(fb, 0, srcrow, 0, dstrow, ri->ri_stride, nrows, 0x0f); in fb_copyrows()
/netbsd-src/sys/arch/luna68k/dev/
H A Domrasops.c597 om_eraserows(void *cookie, int startrow, int nrows, long attr) in om_eraserows() argument
615 height = ri->ri_font->fontheight * nrows; in om_eraserows()
622 for (row = startrow; row < startrow + nrows; row++) { in om_eraserows()
1105 om1_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in om1_copyrows() argument
1113 height = ri->ri_font->fontheight * nrows; in om1_copyrows()
1116 if (srcrow < dstrow && srcrow + nrows > dstrow) { in om1_copyrows()
1144 om4_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in om4_copyrows() argument
1162 if (nrows <= 0 || srcrow == dstrow) { in om4_copyrows()
1168 srcrow += nrows - 1; in om4_copyrows()
1169 dstrow += nrows in om4_copyrows()
[all...]
/netbsd-src/sys/dev/pci/
H A Dwcfb.c316 sc->sc_defaultscreen_descr.nrows = ri->ri_rows; in wcfb_attach()
671 wcfb_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in wcfb_copyrows() argument
681 sc->copyrows(ri, srcrow, dstrow, nrows); in wcfb_copyrows()
686 for (i = 0; i < ri->ri_font->fontheight * nrows; i++) { in wcfb_copyrows()
696 wcfb_eraserows(void *cookie, int row, int nrows, long fillattr) in wcfb_eraserows() argument
706 sc->eraserows(ri, row, nrows, fillattr); in wcfb_eraserows()
710 for (i = 0; i < ri->ri_font->fontheight * nrows; i++) { in wcfb_eraserows()
943 wcfb_acc_copyrows(void *cookie, int srcrow, int dstrow, int nrows) in wcfb_acc_copyrows() argument
955 height = ri->ri_font->fontheight * nrows; in wcfb_acc_copyrows()
961 wcfb_acc_eraserows(void *cookie, int row, int nrows, long fillattr) in wcfb_acc_eraserows() argument
[all …]
/netbsd-src/sys/arch/zaurus/dev/
H A Dw100.c279 if (descr->c.nrows == 0) { in w100_setup_rasops()
283 rasops_init(rinfo, descr->c.nrows, descr->c.ncols); in w100_setup_rasops()
286 descr->c.nrows = rinfo->ri_rows; in w100_setup_rasops()
372 descr->c.nrows = rinfo.ri_rows;
416 rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols); in w100_alloc_screen()
/netbsd-src/sys/arch/vax/vsa/
H A Dlcg.c640 lcg_copyrows(void *id, int srcrow, int dstrow, int nrows) in lcg_copyrows() argument
645 nrows * lcg_cols * sizeof(ss->ss_image[0])); in lcg_copyrows()
650 &lcgaddr[srcrow * lcg_onerow], nrows * lcg_onerow); in lcg_copyrows()
653 (lcg_cols * lcg_font.fontwidth), (nrows * lcg_font.fontheight)); in lcg_copyrows()
658 lcg_eraserows(void *id, int startrow, int nrows, long fillattr) in lcg_eraserows() argument
663 bzero(&ss->ss_image[startrow * lcg_cols], nrows * lcg_cols * in lcg_eraserows()
665 for (i = startrow * lcg_cols; i < (startrow + nrows) * lcg_cols; ++i) in lcg_eraserows()
670 memset(&lcgaddr[startrow * lcg_onerow], 0, nrows * lcg_onerow); in lcg_eraserows()
673 (nrows * lcg_font.fontheight), (fillattr & LCG_BG_MASK) >> 4); in lcg_eraserows()
1091 lcg_stdscreen.nrows = lcg_rows; in lcg_init_common()
/netbsd-src/sys/arch/arm/iomd/
H A Dvidcvideo.c301 vidcvideo_stdscreen.nrows = ri->ri_rows; in vidcvideoinit_screen()
783 static void vv_copyrows(void *id, int srcrow, int dstrow, int nrows) in vv_copyrows() argument
792 height = ri->ri_font->fontheight * nrows; in vv_copyrows()
798 int scrollup = (srcrow + nrows >= ri->ri_rows); in vv_copyrows()
799 int scrolldown = (dstrow + nrows >= ri->ri_rows); in vv_copyrows()
832 static void vv_eraserows(void *id, int startrow, int nrows, long attr) in vv_eraserows() argument
841 height = ri->ri_font->fontheight * nrows * ri->ri_stride; in vv_eraserows()
/netbsd-src/sys/arch/usermode/dev/
H A Dvncfb.c256 vncfb_defaultscreen.nrows = ri->ri_rows; in vncfb_attach()
390 vncfb_copyrows(void *priv, int srcrow, int dstrow, int nrows) in vncfb_copyrows() argument
404 ops->copyrows(ri, srcrow, dstrow, nrows); in vncfb_copyrows()
410 h = nrows * fontheight; in vncfb_copyrows()
419 vncfb_eraserows(void *priv, int row, int nrows, long fillattr) in vncfb_eraserows() argument
427 ops->eraserows(ri, row, nrows, fillattr); in vncfb_eraserows()
430 h = nrows * ri->ri_font->fontheight; in vncfb_eraserows()

12345