Lines Matching refs:row

60 static int vtbuf_htw(const struct vt_buf *vb, int row);
61 static int vtbuf_wth(const struct vt_buf *vb, int row);
167 vtbuf_htw(const struct vt_buf *vb, int row) in vtbuf_htw() argument
176 return ((row - vb->vb_roffset + vb->vb_history_size) % in vtbuf_htw()
182 vtbuf_wth(const struct vt_buf *vb, int row) in vtbuf_wth() argument
185 return ((vb->vb_roffset + row) % vb->vb_history_size); in vtbuf_wth()
212 vtbuf_iscursor(const struct vt_buf *vb, int row, int col) in vtbuf_iscursor() argument
219 (vb->vb_cursor.tp_row == row) && (vb->vb_cursor.tp_col == col)) in vtbuf_iscursor()
240 row = vtbuf_wth(vb, row); in vtbuf_iscursor()
248 if (vtbuf_in_this_range(POS_INDEX(sc, sr), POS_INDEX(col, row), in vtbuf_iscursor()
375 term_char_t *row; in vtbuf_do_fill() local
378 row = vb->vb_rows[(vb->vb_curroffset + pr) % in vtbuf_do_fill()
381 row[pc] = c; in vtbuf_do_fill()
477 term_char_t *old, *new, **rows, **oldrows, **copyrows, *row, *oldrow; in vtbuf_grow() local
515 row = rows[r]; in vtbuf_grow()
538 memmove(row, oldrow, in vtbuf_grow()
547 row[c] = VTBUF_SPACE_CHAR(TERMINAL_NORM_ATTR); in vtbuf_grow()
553 row = rows[r]; in vtbuf_grow()
555 row[c] = VTBUF_SPACE_CHAR(TERMINAL_NORM_ATTR); in vtbuf_grow()
579 row = rows[r]; in vtbuf_grow()
595 memmove(row, oldrow, in vtbuf_grow()
604 row[c] = VTBUF_SPACE_CHAR(TERMINAL_NORM_ATTR); in vtbuf_grow()
638 term_char_t *row; in vtbuf_putchar() local
647 row = vb->vb_rows[(vb->vb_curroffset + p->tp_row) % in vtbuf_putchar()
649 if (row[p->tp_col] != c) { in vtbuf_putchar()
650 row[p->tp_col] = c; in vtbuf_putchar()
754 vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row) in vtbuf_set_mark() argument
768 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
773 vb->vb_mark_start.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
776 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
781 vtbuf_wth(vb, row); in vtbuf_set_mark()
803 vtbuf_wth(vb, row); in vtbuf_set_mark()