Lines Matching defs:area
297 vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area)
300 if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row)
301 vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row;
302 if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col)
303 vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col;
304 if (vb->vb_dirtyrect.tr_end.tp_row < area->tr_end.tp_row)
305 vb->vb_dirtyrect.tr_end.tp_row = area->tr_end.tp_row;
306 if (vb->vb_dirtyrect.tr_end.tp_col < area->tr_end.tp_col)
307 vb->vb_dirtyrect.tr_end.tp_col = area->tr_end.tp_col;
313 term_rect_t area;
315 area.tr_begin = *p;
316 area.tr_end.tp_row = p->tp_row + 1;
317 area.tr_end.tp_col = p->tp_col + 1;
318 vtbuf_dirty(vb, &area);
341 term_rect_t area;
391 area.tr_begin = *p2;
392 area.tr_end.tp_row = MIN(p2->tp_row + rows, vb->vb_scr_size.tp_row);
393 area.tr_end.tp_col = MIN(p2->tp_col + cols, vb->vb_scr_size.tp_col);
394 vtbuf_dirty(vb, &area);
578 * the one just after the viewable area
620 * above the current viewable area), adjust curroffset to the
621 * new viewable area.
677 * position is outside of the new screen area.
728 term_rect_t area;
737 area.tr_begin.tp_col = 0;
738 area.tr_begin.tp_row = MIN(s, e);
740 area.tr_end.tp_col = vb->vb_scr_size.tp_col;
741 area.tr_end.tp_row = MAX(s, e) + 1;
744 vtbuf_dirty(vb, &area);