Home
last modified time | relevance | path

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

/NextBSD/sys/dev/vt/
HDvt_buf.c211 if (vb->vb_dirtyrect.tr_end.tp_row < area->tr_end.tp_row) in vtbuf_dirty_locked()
212 vb->vb_dirtyrect.tr_end.tp_row = area->tr_end.tp_row; in vtbuf_dirty_locked()
213 if (vb->vb_dirtyrect.tr_end.tp_col < area->tr_end.tp_col) in vtbuf_dirty_locked()
214 vb->vb_dirtyrect.tr_end.tp_col = area->tr_end.tp_col; in vtbuf_dirty_locked()
232 area.tr_end.tp_row = p->tp_row + 1; in vtbuf_dirty_cell_locked()
233 area.tr_end.tp_col = p->tp_col + 1; in vtbuf_dirty_cell_locked()
242 vb->vb_dirtyrect.tr_end.tp_row = vb->vb_dirtyrect.tr_end.tp_col = 0; in vtbuf_make_undirty()
270 KASSERT(r->tr_end.tp_row <= vb->vb_scr_size.tp_row, in vtbuf_copy()
272 r->tr_end.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy()
273 KASSERT(r->tr_end.tp_col <= vb->vb_scr_size.tp_col, in vtbuf_copy()
[all …]
HDvt_core.c582 rect->tr_end.tp_row = vd->vd_height; in vt_termrect()
583 rect->tr_end.tp_col = vd->vd_width; in vt_termrect()
589 rect->tr_end.tp_row /= vf->vf_height; in vt_termrect()
590 rect->tr_end.tp_col /= vf->vf_width; in vt_termrect()
623 vw->vw_draw_area.tr_end.tp_col = vd->vd_width; in vt_compute_drawable_area()
624 vw->vw_draw_area.tr_end.tp_row = vd->vd_height; in vt_compute_drawable_area()
642 vw->vw_draw_area.tr_end.tp_col = vw->vw_draw_area.tr_begin.tp_col + in vt_compute_drawable_area()
644 vw->vw_draw_area.tr_end.tp_row = vw->vw_draw_area.tr_begin.tp_row + in vt_compute_drawable_area()
1105 if (mx >= area->tr_end.tp_col || in vt_is_cursor_in_area()
1107 my >= area->tr_end.tp_row || in vt_is_cursor_in_area()
[all …]
/NextBSD/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.c106 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_fill()
107 teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row); in teken_funcs_fill()
108 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_fill()
109 teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col); in teken_funcs_fill()
118 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_copy()
119 teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row); in teken_funcs_copy()
120 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_copy()
121 teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col); in teken_funcs_copy()
122 teken_assert(p->tp_row + (r->tr_end.tp_row - r->tr_begin.tp_row) <= t->t_winsize.tp_row); in teken_funcs_copy()
123 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.h66 teken_pos_t tr_end; member
/NextBSD/sys/dev/syscons/
HDscterm-teken.c601 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill()
604 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize, in scteken_fill()
608 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_fill()
610 for (row = r->tr_begin.tp_row; row < r->tr_end.tp_row; row++) { in scteken_fill()
621 (r->tr_end.tp_row - 1) * scp->xsize + (r->tr_end.tp_col - 1)); in scteken_fill()
639 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize && in scteken_copy()
645 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_copy()
649 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize); in scteken_copy()
652 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_copy()
658 end = r->tr_end.tp_row * scp->xsize + in scteken_copy()
[all …]
/NextBSD/sys/dev/vt/hw/fb/
HDvt_fb.c279 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_bitmap()
280 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_bitmap()
282 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_bitmap()
284 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_bitmap()
285 if (x >= vw->vw_draw_area.tr_end.tp_col) in vt_fb_bitblt_bitmap()
287 width = vw->vw_draw_area.tr_end.tp_col - x; in vt_fb_bitblt_bitmap()
336 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text()
337 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_bitblt_text()
363 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in vt_fb_bitblt_text()
364 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in vt_fb_bitblt_text()
/NextBSD/sys/dev/fb/
HDcreator_vt.c198 l < height && y + l < vw->vw_draw_area.tr_end.tp_row; in creatorfb_bitblt_bitmap()
201 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in creatorfb_bitblt_bitmap()
235 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()
262 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in creatorfb_bitblt_text()
263 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in creatorfb_bitblt_text()
/NextBSD/sys/dev/vt/hw/ofwfb/
HDofwfb.c189 l < height && y + l < vw->vw_draw_area.tr_end.tp_row; in ofwfb_bitblt_bitmap()
192 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in ofwfb_bitblt_bitmap()
238 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
239 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text()
265 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in ofwfb_bitblt_text()
266 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in ofwfb_bitblt_text()
/NextBSD/sys/dev/vt/hw/vga/
HDvt_vga.c637 i < vw->vw_draw_area.tr_end.tp_col) { in vga_bitblt_one_text_pixels_block()
683 vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_one_text_pixels_block()
711 drawn_area.tr_end.tp_col = x + VT_VGA_PIXELS_BLOCK; in vga_bitblt_one_text_pixels_block()
712 drawn_area.tr_end.tp_row = y + vf->vf_height; in vga_bitblt_one_text_pixels_block()
728 vw->vw_draw_area.tr_end.tp_col - mx), in vga_bitblt_one_text_pixels_block()
816 col = area->tr_end.tp_col; in vga_bitblt_text_gfxmode()
817 row = area->tr_end.tp_row; in vga_bitblt_text_gfxmode()
825 x2 = min(x2, vw->vw_draw_area.tr_end.tp_col); in vga_bitblt_text_gfxmode()
826 y2 = min(y2, vw->vw_draw_area.tr_end.tp_row); in vga_bitblt_text_gfxmode()
864 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vga_bitblt_text_txtmode()
[all …]
/NextBSD/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()
/NextBSD/sys/kern/
HDsubr_terminal.c208 r.tr_end.tp_row = size->ws_row; in terminal_set_winsize_blank()
209 r.tr_end.tp_col = size->ws_col; in terminal_set_winsize_blank()
213 teken_set_winsize_noreset(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()
215 teken_set_winsize(&tm->tm_emulator, &r.tr_end); in terminal_set_winsize_blank()