Lines Matching refs:tr_begin
270 if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row) in vtbuf_dirty()
271 vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row; in vtbuf_dirty()
272 if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col) in vtbuf_dirty()
273 vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col; in vtbuf_dirty()
285 area.tr_begin = *p; in vtbuf_dirty_cell()
295 vb->vb_dirtyrect.tr_begin = vb->vb_scr_size; in vtbuf_make_undirty()
310 const term_pos_t *p1 = &r->tr_begin; in vtbuf_copy()
315 KASSERT(r->tr_begin.tp_row < vb->vb_scr_size.tp_row, in vtbuf_copy()
317 r->tr_begin.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy()
318 KASSERT(r->tr_begin.tp_col < vb->vb_scr_size.tp_col, in vtbuf_copy()
320 r->tr_begin.tp_col, vb->vb_scr_size.tp_col)); in vtbuf_copy()
336 rows = r->tr_end.tp_row - r->tr_begin.tp_row; in vtbuf_copy()
337 rdiff = r->tr_begin.tp_row - p2->tp_row; in vtbuf_copy()
338 cols = r->tr_end.tp_col - r->tr_begin.tp_col; in vtbuf_copy()
339 if (r->tr_begin.tp_row > p2->tp_row && r->tr_begin.tp_col == 0 && in vtbuf_copy()
361 area.tr_begin = *p2; in vtbuf_copy()
373 for (pr = r->tr_begin.tp_row; pr < r->tr_end.tp_row; pr++) { in vtbuf_do_fill()
376 for (pc = r->tr_begin.tp_col; pc < r->tr_end.tp_col; pc++) { in vtbuf_do_fill()
386 KASSERT(r->tr_begin.tp_row < vb->vb_scr_size.tp_row, in vtbuf_fill()
388 r->tr_begin.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_fill()
389 KASSERT(r->tr_begin.tp_col < vb->vb_scr_size.tp_col, in vtbuf_fill()
391 r->tr_begin.tp_col, vb->vb_scr_size.tp_col)); in vtbuf_fill()
425 rect.tr_begin.tp_row = rect.tr_begin.tp_col = 0; in vtbuf_do_clearhistory()
708 area.tr_begin.tp_col = 0; in vtbuf_flush_mark()
709 area.tr_begin.tp_row = MIN(s, e); in vtbuf_flush_mark()