Lines Matching refs:ri_rows

315 			for (i = 0; i < ri->ri_rows * ri->ri_cols; i++) {  in rasops_init()
370 ri->ri_rows = ri->ri_emuwidth / ri->ri_font->fontwidth; in rasops_reconfig()
376 ri->ri_rows = ri->ri_emuheight / ri->ri_font->fontheight; in rasops_reconfig()
609 if ((src + num) > ri->ri_rows) in rasops_copyrows()
610 num = ri->ri_rows - src; in rasops_copyrows()
617 if ((dst + num) > ri->ri_rows) in rasops_copyrows()
618 num = ri->ri_rows - dst; in rasops_copyrows()
686 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops_copycols()
761 if (row < 0 || row >= ri->ri_rows) in rasops_cursor()
899 if ((row + num) > ri->ri_rows) in rasops_eraserows()
900 num = ri->ri_rows - row; in rasops_eraserows()
914 if (num == ri->ri_rows && (ri->ri_flg & RI_FULLCLEAR) != 0) { in rasops_eraserows()
966 col = ri->ri_rows - ri->ri_crow - 1; in rasops_do_cursor()
1042 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops_erasecols()
1203 r_srccol = ri->ri_rows - srcrow - 1; in rasops_copychar()
1204 r_dstcol = ri->ri_rows - dstrow - 1; in rasops_copychar()
1242 row = ri->ri_rows - row - 1; in rasops_putchar_rotated()
1385 scr->rs_bs = mallocarray(ri->ri_rows * (scr->rs_sbscreens + 1), in rasops_alloc_screen()
1392 scr->rs_visibleoffset = scr->rs_dispoffset = ri->ri_rows * in rasops_alloc_screen()
1413 ri->ri_rows * ri->ri_cols * in rasops_alloc_screen()
1416 for (i = 0; i < ri->ri_rows * ri->ri_cols; i++) { in rasops_alloc_screen()
1439 ri->ri_rows * (scr->rs_sbscreens + 1) * ri->ri_cols * in rasops_free_screen()
1471 ri->ri_eraserows(ri, 0, ri->ri_rows, scr->rs_defattr); in rasops_doswitch()
1476 for (row = 0; row < ri->ri_rows; row++) { in rasops_doswitch()
1606 if (dst == 0 && (src + num == ri->ri_rows) && scr->rs_sbscreens > 0) in rasops_vcons_copyrows()
1608 ri->ri_rows * scr->rs_sbscreens * cols in rasops_vcons_copyrows()
1950 ri->ri_eraserows(ri, 0, ri->ri_rows, scr->rs_defattr); in rasops_scrollback()
1951 for (row = 0; row < ri->ri_rows; row++) { in rasops_scrollback()