Home
last modified time | relevance | path

Searched refs:tr_end (Results 1 – 15 of 15) sorted by relevance

/freebsd-14-stable/sys/dev/vt/
HDvt_buf.c275 if (vb->vb_dirtyrect.tr_end.tp_row < area->tr_end.tp_row) in vtbuf_dirty()
276 vb->vb_dirtyrect.tr_end.tp_row = area->tr_end.tp_row; in vtbuf_dirty()
277 if (vb->vb_dirtyrect.tr_end.tp_col < area->tr_end.tp_col) in vtbuf_dirty()
278 vb->vb_dirtyrect.tr_end.tp_col = area->tr_end.tp_col; in vtbuf_dirty()
287 area.tr_end.tp_row = p->tp_row + 1; in vtbuf_dirty_cell()
288 area.tr_end.tp_col = p->tp_col + 1; in vtbuf_dirty_cell()
297 vb->vb_dirtyrect.tr_end.tp_row = vb->vb_dirtyrect.tr_end.tp_col = 0; in vtbuf_make_undirty()
323 KASSERT(r->tr_end.tp_row <= vb->vb_scr_size.tp_row, in vtbuf_copy()
325 r->tr_end.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy()
326 KASSERT(r->tr_end.tp_col <= vb->vb_scr_size.tp_col, in vtbuf_copy()
[all …]
HDvt_core.c668 rect->tr_end.tp_row = vd->vd_height; in vt_termrect()
669 rect->tr_end.tp_col = vd->vd_width; in vt_termrect()
675 rect->tr_end.tp_row = MIN(rect->tr_end.tp_row / vf->vf_height, in vt_termrect()
677 rect->tr_end.tp_col = MIN(rect->tr_end.tp_col / vf->vf_width, in vt_termrect()
713 vw->vw_draw_area.tr_end.tp_col = vd->vd_width; in vt_compute_drawable_area()
714 vw->vw_draw_area.tr_end.tp_row = vd->vd_height; in vt_compute_drawable_area()
732 vw->vw_draw_area.tr_end.tp_col = vw->vw_draw_area.tr_begin.tp_col + in vt_compute_drawable_area()
734 vw->vw_draw_area.tr_end.tp_row = vw->vw_draw_area.tr_begin.tp_row + in vt_compute_drawable_area()
1276 if (mx >= area->tr_end.tp_col || in vt_is_cursor_in_area()
1278 my >= area->tr_end.tp_row || in vt_is_cursor_in_area()
[all …]
/freebsd-14-stable/sys/teken/
HDteken_subr.h106 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
107 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
119 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
120 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
130 tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll()
131 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
136 tr.tr_end.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll()
138 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
144 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
197 tr.tr_end = t->t_winsize; in teken_subr_alignment_test()
[all …]
HDteken.c115 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_fill()
116 teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row); in teken_funcs_fill()
117 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_fill()
118 teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col); in teken_funcs_fill()
128 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_copy()
129 teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row); in teken_funcs_copy()
130 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_copy()
131 teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col); in teken_funcs_copy()
132 teken_assert(p->tp_row + (r->tr_end.tp_row - r->tr_begin.tp_row) <= t->t_winsize.tp_row); in teken_funcs_copy()
133 teken_assert(p->tp_col + (r->tr_end.tp_col - r->tr_begin.tp_col) <= t->t_winsize.tp_col); in teken_funcs_copy()
HDteken.h68 teken_pos_t tr_end; member
/freebsd-14-stable/sys/dev/vt/hw/fb/
HDvt_fb.c292 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_bitmap()
293 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_bitmap()
295 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_bitmap()
297 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_bitmap()
298 if (x >= vw->vw_draw_area.tr_end.tp_col) in vt_fb_bitblt_bitmap()
300 width = vw->vw_draw_area.tr_end.tp_col - x; in vt_fb_bitblt_bitmap()
358 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_argb()
359 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_argb()
361 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_argb()
363 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_argb()
[all …]
/freebsd-14-stable/sys/dev/syscons/
HDscterm-teken.c578 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill()
581 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize, in scteken_fill()
585 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_fill()
587 for (row = r->tr_begin.tp_row; row < r->tr_end.tp_row; row++) { in scteken_fill()
598 (r->tr_end.tp_row - 1) * scp->xsize + (r->tr_end.tp_col - 1)); in scteken_fill()
616 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize && in scteken_copy()
622 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_copy()
626 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize); in scteken_copy()
629 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_copy()
635 end = r->tr_end.tp_row * scp->xsize + in scteken_copy()
[all …]
/freebsd-14-stable/sys/dev/vt/hw/ofwfb/
HDofwfb.c211 l < height && y + l < vw->vw_draw_area.tr_end.tp_row; in ofwfb_bitblt_bitmap()
214 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in ofwfb_bitblt_bitmap()
270 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
271 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text()
297 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in ofwfb_bitblt_text()
298 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in ofwfb_bitblt_text()
/freebsd-14-stable/sys/dev/vt/hw/vga/
HDvt_vga.c652 i < vw->vw_draw_area.tr_end.tp_col) { in vga_bitblt_one_text_pixels_block()
698 vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_one_text_pixels_block()
726 drawn_area.tr_end.tp_col = x + VT_VGA_PIXELS_BLOCK; in vga_bitblt_one_text_pixels_block()
727 drawn_area.tr_end.tp_row = y + vf->vf_height; in vga_bitblt_one_text_pixels_block()
743 vw->vw_draw_area.tr_end.tp_col - mx), in vga_bitblt_one_text_pixels_block()
831 col = area->tr_end.tp_col; in vga_bitblt_text_gfxmode()
832 row = area->tr_end.tp_row; in vga_bitblt_text_gfxmode()
839 x2 = min(x2, vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_text_gfxmode()
840 y2 = min(y2, vw->vw_draw_area.tr_end.tp_row); in vga_bitblt_text_gfxmode()
879 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vga_bitblt_text_txtmode()
[all …]
/freebsd-14-stable/sys/teken/demo/
HDteken_demo.c158 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; p.tp_row++) in test_fill()
159 for (p.tp_col = r->tr_begin.tp_col; p.tp_col < r->tr_end.tp_col; p.tp_col++) in test_fill()
174 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in test_copy()
175 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in test_copy()
/freebsd-14-stable/sys/kern/
HDsubr_terminal.c260 r.tr_end.tp_row = size->ws_row; in terminal_set_winsize_blank()
261 r.tr_end.tp_col = size->ws_col; in terminal_set_winsize_blank()
265 teken_set_winsize_noreset(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()
267 teken_set_winsize(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()
/freebsd-14-stable/stand/i386/libi386/
HDvidconsole.c112 p.tp_row < r->tr_end.tp_row; p.tp_row++) { in term_image_display()
114 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in term_image_display()
368 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in vidc_text_fill()
371 p.tp_col < r->tr_end.tp_col; p.tp_col++) in vidc_text_fill()
390 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in vidc_text_copy()
391 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in vidc_text_copy()
/freebsd-14-stable/stand/efi/libefi/
HDefi_console.c153 p.tp_row < r->tr_end.tp_row; p.tp_row++) { in term_image_display()
155 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in term_image_display()
264 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in efi_text_fill()
267 p.tp_col < r->tr_end.tp_col; p.tp_col++) in efi_text_fill()
322 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in efi_text_copy()
323 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in efi_text_copy()
/freebsd-14-stable/stand/common/
HDgfx_fb.c1001 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in gfx_fb_fill()
1005 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in gfx_fb_fill()
1124 width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1); in gfx_fb_copy_area()
1194 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1200 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1201 sr.tr_end.tp_row = s->tp_row; in gfx_fb_copy_line()
1225 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in gfx_fb_copy()
1226 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy()
1646 r.tr_end.tp_col = ux2 + 1; in gfx_term_drawrect()
1647 r.tr_end.tp_row = uy2 + 1; in gfx_term_drawrect()
[all …]
/freebsd-14-stable/sys/dev/virtio/gpu/
HDvirtio_gpu.c160 width = area->tr_end.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col - x; in vtgpu_fb_bitblt_text()
161 height = area->tr_end.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row - y; in vtgpu_fb_bitblt_text()