Home
last modified time | relevance | path

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

/freebsd/sys/dev/vt/
H A Dvt_buf.c274 if (vb->vb_dirtyrect.tr_end.tp_row < area->tr_end.tp_row) in vtbuf_dirty()
275 vb->vb_dirtyrect.tr_end.tp_row = area->tr_end.tp_row; in vtbuf_dirty()
276 if (vb->vb_dirtyrect.tr_end.tp_col < area->tr_end.tp_col) in vtbuf_dirty()
277 vb->vb_dirtyrect.tr_end.tp_col = area->tr_end.tp_col; in vtbuf_dirty()
286 area.tr_end.tp_row = p->tp_row + 1; in vtbuf_dirty_cell()
287 area.tr_end.tp_col = p->tp_col + 1; in vtbuf_dirty_cell()
296 vb->vb_dirtyrect.tr_end.tp_row = vb->vb_dirtyrect.tr_end.tp_col = 0; in vtbuf_make_undirty()
322 KASSERT(r->tr_end.tp_row <= vb->vb_scr_size.tp_row, in vtbuf_copy()
324 r->tr_end.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy()
325 KASSERT(r->tr_end.tp_col <= vb->vb_scr_size.tp_col, in vtbuf_copy()
[all …]
H A Dvt_core.c670 rect->tr_end.tp_row = vd->vd_height; in vt_termrect()
671 rect->tr_end.tp_col = vd->vd_width; in vt_termrect()
677 rect->tr_end.tp_row = MIN(rect->tr_end.tp_row / vf->vf_height, in vt_termrect()
679 rect->tr_end.tp_col = MIN(rect->tr_end.tp_col / vf->vf_width, in vt_termrect()
715 vw->vw_draw_area.tr_end.tp_col = vd->vd_width; in vt_compute_drawable_area()
716 vw->vw_draw_area.tr_end.tp_row = vd->vd_height; in vt_compute_drawable_area()
734 vw->vw_draw_area.tr_end.tp_col = vw->vw_draw_area.tr_begin.tp_col + in vt_compute_drawable_area()
736 vw->vw_draw_area.tr_end.tp_row = vw->vw_draw_area.tr_begin.tp_row + in vt_compute_drawable_area()
1278 if (mx >= area->tr_end.tp_col || in vt_is_cursor_in_area()
1280 my >= area->tr_end.tp_row || in vt_is_cursor_in_area()
[all …]
/freebsd/sys/teken/
H A Dteken_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 …]
H A Dteken.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()
H A Dteken.h68 teken_pos_t tr_end; member
/freebsd/sys/dev/syscons/
H A Dscterm-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/sys/dev/vt/hw/fb/
H A Dvt_fb.c291 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_bitmap()
292 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_bitmap()
294 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_bitmap()
296 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_bitmap()
297 if (x >= vw->vw_draw_area.tr_end.tp_col) in vt_fb_bitblt_bitmap()
299 width = vw->vw_draw_area.tr_end.tp_col - x; in vt_fb_bitblt_bitmap()
357 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_text()
358 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_text()
360 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_text()
362 if (x + width > vw->vw_draw_area.tr_end in vt_fb_bitblt_text()
[all...]
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c210 l < height && y + l < vw->vw_draw_area.tr_end.tp_row; in ofwfb_bitblt_bitmap()
213 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in ofwfb_bitblt_bitmap()
269 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
270 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text()
296 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in ofwfb_bitblt_text()
297 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height;
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c651 i < vw->vw_draw_area.tr_end.tp_col) { in vga_bitblt_one_text_pixels_block()
697 vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_one_text_pixels_block()
725 drawn_area.tr_end.tp_col = x + VT_VGA_PIXELS_BLOCK; in vga_bitblt_one_text_pixels_block()
726 drawn_area.tr_end.tp_row = y + vf->vf_height; in vga_bitblt_one_text_pixels_block()
742 vw->vw_draw_area.tr_end.tp_col - mx), in vga_bitblt_one_text_pixels_block()
830 col = area->tr_end.tp_col; in vga_bitblt_text_gfxmode()
831 row = area->tr_end.tp_row; in vga_bitblt_text_gfxmode()
838 x2 = min(x2, vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_text_gfxmode()
839 y2 = min(y2, vw->vw_draw_area.tr_end.tp_row); in vga_bitblt_text_gfxmode()
878 for (row = area->tr_begin.tp_row; row < area->tr_end in vga_bitblt_text_txtmode()
[all...]
/freebsd/sys/teken/demo/
H A Dteken_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/sys/kern/
H A Dsubr_terminal.c259 r.tr_end.tp_row = size->ws_row; in terminal_set_winsize_blank()
260 r.tr_end.tp_col = size->ws_col; in terminal_set_winsize_blank()
264 teken_set_winsize_noreset(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()
266 teken_set_winsize(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()
/freebsd/stand/i386/libi386/
H A Dvidconsole.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/stand/efi/libefi/
H A Defi_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/stand/common/
H A Dgfx_fb.c1011 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in gfx_fb_fill()
1015 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in gfx_fb_fill()
1134 width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1); in gfx_fb_copy_area()
1204 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1210 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1211 sr.tr_end.tp_row = s->tp_row; in gfx_fb_copy_line()
1235 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in gfx_fb_copy()
1236 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy()
1656 r.tr_end.tp_col = ux2 + 1; in gfx_term_drawrect()
1657 r.tr_end.tp_row = uy2 + 1; in gfx_term_drawrect()
[all …]
/freebsd/sys/dev/virtio/gpu/
H A Dvirtio_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()