Lines Matching full:row

673 rasops_copycols(void *cookie, int row, int src, int dst, int num)  in rasops_copycols()  argument
686 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops_copycols()
710 row *= ri->ri_yscale; in rasops_copycols()
713 sp = ri->ri_bits + row + src * ri->ri_xscale; in rasops_copycols()
714 dp = ri->ri_bits + row + dst * ri->ri_xscale; in rasops_copycols()
740 rasops_cursor(void *cookie, int on, int row, int col) in rasops_cursor() argument
761 if (row < 0 || row >= ri->ri_rows) in rasops_cursor()
766 ri->ri_crow = row; in rasops_cursor()
885 rasops_eraserows(void *cookie, int row, int num, uint32_t attr) in rasops_eraserows() argument
894 if (row < 0) { in rasops_eraserows()
895 num += row; in rasops_eraserows()
896 row = 0; in rasops_eraserows()
899 if ((row + num) > ri->ri_rows) in rasops_eraserows()
900 num = ri->ri_rows - row; in rasops_eraserows()
924 dp = (int32_t *)(ri->ri_bits + row * ri->ri_yscale); in rasops_eraserows()
959 int full1, height, cnt, slop1, slop2, row, col; in rasops_do_cursor() local
965 row = ri->ri_ccol; in rasops_do_cursor()
969 row = ri->ri_cols - ri->ri_ccol - 1; in rasops_do_cursor()
974 row = ri->ri_crow; in rasops_do_cursor()
978 rp = ri->ri_bits + row * ri->ri_yscale + col * ri->ri_xscale; in rasops_do_cursor()
1033 rasops_erasecols(void *cookie, int row, int col, int num, uint32_t attr) in rasops_erasecols() argument
1042 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops_erasecols()
1058 rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + col*ri->ri_xscale); in rasops_erasecols()
1232 rasops_putchar_rotated(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops_putchar_rotated() argument
1242 row = ri->ri_rows - row - 1; in rasops_putchar_rotated()
1247 rc = ri->ri_real_ops.putchar(cookie, col, row, uc, in rasops_putchar_rotated()
1253 rp = ri->ri_bits + col * ri->ri_yscale + row * ri->ri_xscale; in rasops_putchar_rotated()
1272 rasops_erasecols_rotated(void *cookie, int row, int col, int num, uint32_t attr) in rasops_erasecols_rotated() argument
1278 rc = rasops_putchar_rotated(cookie, row, i, ' ', attr); in rasops_erasecols_rotated()
1309 rasops_copycols_rotated(void *cookie, int row, int src, int dst, int num) in rasops_copycols_rotated() argument
1315 rasops_copychar(cookie, row, row, src + coff, in rasops_copycols_rotated()
1319 rasops_copychar(cookie, row, row, src + coff, in rasops_copycols_rotated()
1327 rasops_eraserows_rotated(void *cookie, int row, int num, uint32_t attr) in rasops_eraserows_rotated() argument
1335 for (rn = row; rn < row + num; rn++) in rasops_eraserows_rotated()
1467 int row, col; in rasops_doswitch() local
1476 for (row = 0; row < ri->ri_rows; row++) { in rasops_doswitch()
1478 int off = row * scr->rs_ri->ri_cols + col + in rasops_doswitch()
1481 ri->ri_putchar(ri, row, col, scr->rs_bs[off].uc, in rasops_doswitch()
1493 rasops_getchar(void *v, int row, int col, struct wsdisplay_charcell *cell) in rasops_getchar() argument
1501 *cell = scr->rs_bs[row * ri->ri_cols + col + scr->rs_dispoffset]; in rasops_getchar()
1506 rasops_vcons_cursor(void *cookie, int on, int row, int col) in rasops_vcons_cursor() argument
1510 scr->rs_crow = on ? row : -1; in rasops_vcons_cursor()
1516 return rasops_cursor(scr->rs_ri, on, row, col); in rasops_vcons_cursor()
1528 rasops_vcons_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops_vcons_putchar() argument
1531 int off = row * scr->rs_ri->ri_cols + col + scr->rs_dispoffset; in rasops_vcons_putchar()
1542 return scr->rs_ri->ri_putchar(scr->rs_ri, row, col, uc, attr); in rasops_vcons_putchar()
1546 rasops_vcons_copycols(void *cookie, int row, int src, int dst, int num) in rasops_vcons_copycols() argument
1553 memmove(&scr->rs_bs[row * cols + dst + scr->rs_dispoffset], in rasops_vcons_copycols()
1554 &scr->rs_bs[row * cols + src + scr->rs_dispoffset], in rasops_vcons_copycols()
1561 return ri->ri_copycols(ri, row, src, dst, num); in rasops_vcons_copycols()
1564 int off = row * cols + col + scr->rs_dispoffset; in rasops_vcons_copycols()
1566 rc = ri->ri_putchar(ri, row, col, in rasops_vcons_copycols()
1576 rasops_vcons_erasecols(void *cookie, int row, int col, int num, uint32_t attr) in rasops_vcons_erasecols() argument
1583 int off = row * cols + col + i + scr->rs_dispoffset; in rasops_vcons_erasecols()
1592 return scr->rs_ri->ri_erasecols(scr->rs_ri, row, col, num, attr); in rasops_vcons_erasecols()
1601 int row, col, rc; in rasops_vcons_copyrows() local
1627 row = srcofs > 0 ? dst + move : dst + num - 1 - move; in rasops_vcons_copyrows()
1629 int off = row * cols + col + scr->rs_dispoffset; in rasops_vcons_copyrows()
1638 rc = ri->ri_putchar(ri, row, col, newc, newa); in rasops_vcons_copyrows()
1648 rasops_vcons_eraserows(void *cookie, int row, int num, uint32_t attr) in rasops_vcons_eraserows() argument
1655 int off = row * cols + i + scr->rs_dispoffset; in rasops_vcons_eraserows()
1664 return scr->rs_ri->ri_eraserows(scr->rs_ri, row, num, attr); in rasops_vcons_eraserows()
1685 rasops_wronly_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops_wronly_putchar() argument
1688 int off = row * ri->ri_cols + col; in rasops_wronly_putchar()
1693 return ri->ri_putchar(ri, row, col, uc, attr); in rasops_wronly_putchar()
1697 rasops_wronly_copycols(void *cookie, int row, int src, int dst, int num) in rasops_wronly_copycols() argument
1703 memmove(&ri->ri_bs[row * cols + dst], &ri->ri_bs[row * cols + src], in rasops_wronly_copycols()
1707 int off = row * cols + col; in rasops_wronly_copycols()
1709 rc = ri->ri_putchar(ri, row, col, in rasops_wronly_copycols()
1719 rasops_wronly_erasecols(void *cookie, int row, int col, int num, uint32_t attr) in rasops_wronly_erasecols() argument
1726 int off = row * cols + col + i; in rasops_wronly_erasecols()
1732 return ri->ri_erasecols(ri, row, col, num, attr); in rasops_wronly_erasecols()
1740 int row, col, rc; in rasops_wronly_copyrows() local
1745 for (row = dst; row < dst + num; row++) { in rasops_wronly_copyrows()
1747 int off = row * cols + col; in rasops_wronly_copyrows()
1749 rc = ri->ri_putchar(ri, row, col, in rasops_wronly_copyrows()
1760 rasops_wronly_eraserows(void *cookie, int row, int num, uint32_t attr) in rasops_wronly_eraserows() argument
1767 int off = row * cols + i; in rasops_wronly_eraserows()
1773 return ri->ri_eraserows(ri, row, num, attr); in rasops_wronly_eraserows()
1929 int row, col, oldvoff; in rasops_scrollback() local
1951 for (row = 0; row < ri->ri_rows; row++) { in rasops_scrollback()
1953 int off = row * scr->rs_ri->ri_cols + col + in rasops_scrollback()
1956 ri->ri_putchar(ri, row, col, scr->rs_bs[off].uc, in rasops_scrollback()