Lines Matching refs:ri_cols
325 cnt = (ri->ri_rows + WSDISPLAY_SCROLLBACK_LINES) * ri->ri_cols;
329 scr->scr_offset_to_zero = ri->ri_cols * WSDISPLAY_SCROLLBACK_LINES;
332 cnt = ri->ri_rows * ri->ri_cols;
355 size = ri->ri_cols * ri->ri_rows;
528 scr->scr_type->ncols = ri->ri_cols;
529 DPRINTF("new size %d %d\n", ri->ri_rows, ri->ri_cols);
696 for (j = 0; j < ri->ri_cols; j++) {
759 vdp->cursor_offset = ri->ri_crow * ri->ri_cols + ri->ri_ccol;
795 for (j = 0; j < ri->ri_cols; j++) {
815 vdp->cursor_offset = ri->ri_crow * ri->ri_cols + ri->ri_ccol;
907 t->ncols = scr->scr_ri.ri_cols;
983 int from = srccol + row * ri->ri_cols;
984 int to = dstcol + row * ri->ri_cols;
1037 ppos = ri->ri_cols * row + dstcol;
1067 int start = startcol + row * ri->ri_cols;
1087 int i, pos = row * ri->ri_cols + startcol;
1131 from = ri->ri_cols * srcrow;
1132 to = ri->ri_cols * dstrow;
1139 from = ri->ri_cols * srcrow + offset;
1140 to = ri->ri_cols * dstrow + offset;
1141 len = ri->ri_cols * nrows;
1191 ppos = ri->ri_cols * dstrow;
1194 for (c = 0; c < ri->ri_cols; c++) {
1225 start = ri->ri_cols * row + offset;
1226 end = ri->ri_cols * (row + nrows) + offset;
1244 int i, pos = row * ri->ri_cols, end = (row+nrows) * ri->ri_cols;
1285 (col < ri->ri_cols)) {
1286 pos = col + row * ri->ri_cols;
1306 int pos = row * ri->ri_cols + col;
1386 ofs = offset + ri->ri_crow * ri->ri_cols + ri->ri_ccol;
1395 ofs = offset + ri->ri_crow * ri->ri_cols + ri->ri_ccol;
1426 if (wsc->col < 0 || wsc->col > (ri->ri_cols * ri->ri_rows))
1429 rem = wsc->col % ri->ri_cols;
1430 wsc->row = wsc->col / ri->ri_cols;
1434 if (__predict_false(wsc->col < 0 || wsc->col >= ri->ri_cols))
1466 if (wsc->col < 0 || wsc->col > (ri->ri_cols * ri->ri_rows))
1469 rem = wsc->col % ri->ri_cols;
1470 wsc->row = wsc->col / ri->ri_cols;
1474 if (__predict_false(wsc->col < 0 || wsc->col >= ri->ri_cols))
1481 offset = ri->ri_cols * wsc->row + wsc->col;
1563 scr->scr_current_offset = scr->scr_ri.ri_cols *
1583 r_offset = scr->scr_current_offset + num * scr->scr_ri.ri_cols;
1588 for (j = 0; j < scr->scr_ri.ri_cols; j++) {