Home
last modified time | relevance | path

Searched refs:tr_begin (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/dev/syscons/
H A Dscterm-teken.c587 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_fill()
590 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill()
591 scp->xsize + r->tr_begin.tp_col, in scteken_fill()
598 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col); in scteken_fill()
619 r->tr_begin.tp_row == p->tp_row + 1) { in scteken_copy()
633 if (p->tp_row < r->tr_begin.tp_row) { in scteken_copy()
635 src = r->tr_begin.tp_row * scp->xsize + in scteken_copy()
636 r->tr_begin.tp_col; in scteken_copy()
650 r->tr_begin.tp_col; in scteken_copy()
651 end = r->tr_begin.tp_row * scp->xsize + in scteken_copy()
[all …]
/freebsd-12.1/sys/teken/demo/
H A Dteken_demo.c160 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; p.tp_row++) in test_fill()
161 for (p.tp_col = r->tr_begin.tp_col; p.tp_col < r->tr_end.tp_col; p.tp_col++) in test_fill()
176 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in test_copy()
177 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in test_copy()
179 if (p->tp_row < r->tr_begin.tp_row) { in test_copy()
181 if (p->tp_col < r->tr_begin.tp_col) { in test_copy()
188 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
199 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
206 if (p->tp_col < r->tr_begin.tp_col) { in test_copy()
213 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
[all …]
/freebsd-12.1/sys/dev/vt/
H A Dvt_buf.c274 if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row) in vtbuf_dirty()
275 vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row; in vtbuf_dirty()
276 if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col) in vtbuf_dirty()
277 vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col; in vtbuf_dirty()
289 area.tr_begin = *p; in vtbuf_dirty_cell()
314 const term_pos_t *p1 = &r->tr_begin; in vtbuf_copy()
343 if (r->tr_begin.tp_row > p2->tp_row && r->tr_begin.tp_col == 0 && in vtbuf_copy()
365 area.tr_begin = *p2; in vtbuf_copy()
433 rect.tr_begin.tp_row = rect.tr_begin.tp_col = 0; in vtbuf_init_early()
681 area.tr_begin.tp_col = 0; in vtbuf_flush_mark()
[all …]
H A Dvt_core.c640 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect()
648 rect->tr_begin.tp_row = in vt_termrect()
681 vw->vw_draw_area.tr_begin.tp_col = 0; in vt_compute_drawable_area()
682 vw->vw_draw_area.tr_begin.tp_row = 0; in vt_compute_drawable_area()
1213 area.tr_begin.tp_col = x / vf->vf_width; in vt_mark_mouse_position_as_dirty()
1226 area.tr_begin.tp_col = x; in vt_mark_mouse_position_as_dirty()
1227 area.tr_begin.tp_row = y; in vt_mark_mouse_position_as_dirty()
1252 if (area->tr_begin.tp_row > 0) in vt_set_border()
1254 area->tr_begin.tp_row - 1, 1, c); in vt_set_border()
1257 if (area->tr_begin.tp_col > 0) in vt_set_border()
[all …]
/freebsd-12.1/sys/teken/
H A Dteken_subr.h107 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
120 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
131 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
145 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
197 tr.tr_begin.tp_row = 0; in teken_subr_alignment_test()
198 tr.tr_begin.tp_col = 0; in teken_subr_alignment_test()
426 tr.tr_begin.tp_col = 0; in teken_subr_delete_line()
506 r.tr_begin.tp_col = 0; in teken_subr_erase_display()
516 r.tr_begin.tp_row = 0; in teken_subr_erase_display()
520 r.tr_begin.tp_row = 0; in teken_subr_erase_display()
[all …]
H A Dteken.c111 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_fill()
113 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_fill()
124 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_copy()
126 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_copy()
128 teken_assert(p->tp_row + (r->tr_end.tp_row - r->tr_begin.tp_row) <= t->t_winsize.tp_row); in teken_funcs_copy()
129 teken_assert(p->tp_col + (r->tr_end.tp_col - r->tr_begin.tp_col) <= t->t_winsize.tp_col); in teken_funcs_copy()
H A Dteken.h68 teken_pos_t tr_begin; member
/freebsd-12.1/sys/dev/fb/
H A Dcreator_vt.c235 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in creatorfb_bitblt_text()
236 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in creatorfb_bitblt_text()
239 vw->vw_draw_area.tr_begin.tp_col; in creatorfb_bitblt_text()
241 vw->vw_draw_area.tr_begin.tp_row; in creatorfb_bitblt_text()
260 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in creatorfb_bitblt_text()
261 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in creatorfb_bitblt_text()
269 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in creatorfb_bitblt_text()
270 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in creatorfb_bitblt_text()
/freebsd-12.1/sys/dev/vt/hw/fb/
H A Dvt_fb.c343 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text()
344 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_bitblt_text()
347 vw->vw_draw_area.tr_begin.tp_col; in vt_fb_bitblt_text()
349 vw->vw_draw_area.tr_begin.tp_row; in vt_fb_bitblt_text()
381 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_bitblt_text()
382 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_fb_bitblt_text()
390 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in vt_fb_bitblt_text()
391 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in vt_fb_bitblt_text()
403 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_invalidate_text()
404 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_invalidate_text()
/freebsd-12.1/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c250 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
251 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text()
254 vw->vw_draw_area.tr_begin.tp_col; in ofwfb_bitblt_text()
256 vw->vw_draw_area.tr_begin.tp_row; in ofwfb_bitblt_text()
275 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text()
276 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text()
284 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in ofwfb_bitblt_text()
285 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in ofwfb_bitblt_text()
/freebsd-12.1/sys/dev/vt/hw/vga/
H A Dvt_vga.c641 if (i < vw->vw_draw_area.tr_begin.tp_col) { in vga_bitblt_one_text_pixels_block()
647 i = vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
695 vw->vw_draw_area.tr_begin.tp_col, in vga_bitblt_one_text_pixels_block()
699 vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
723 drawn_area.tr_begin.tp_col = x; in vga_bitblt_one_text_pixels_block()
724 drawn_area.tr_begin.tp_row = y; in vga_bitblt_one_text_pixels_block()
733 mx = vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
815 col = area->tr_begin.tp_col; in vga_bitblt_text_gfxmode()
816 row = area->tr_begin.tp_row; in vga_bitblt_text_gfxmode()
879 for (col = area->tr_begin.tp_col; in vga_bitblt_text_txtmode()
[all …]
/freebsd-12.1/sys/kern/
H A Dsubr_terminal.c238 r.tr_begin.tp_row = r.tr_begin.tp_col = 0; in terminal_set_winsize_blank()