| /freebsd-13-stable/sys/dev/syscons/ |
| HD | scterm-teken.c | 578 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill() 580 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * 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() 588 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill() 589 scp->xsize + r->tr_begin.tp_col, in scteken_fill() 596 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col); in scteken_fill() 616 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize && in scteken_copy() 617 r->tr_begin.tp_row == p->tp_row + 1) { in scteken_copy() [all …]
|
| /freebsd-13-stable/sys/teken/demo/ |
| HD | teken_demo.c | 158 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() 177 if (p->tp_row < r->tr_begin.tp_row) { in test_copy() 179 if (p->tp_col < r->tr_begin.tp_col) { in test_copy() 186 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy() 197 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy() 204 if (p->tp_col < r->tr_begin.tp_col) { in test_copy() 211 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy() [all …]
|
| /freebsd-13-stable/sys/dev/vt/ |
| HD | vt_buf.c | 271 if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row) in vtbuf_dirty() 272 vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row; in vtbuf_dirty() 273 if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col) in vtbuf_dirty() 274 vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col; in vtbuf_dirty() 286 area.tr_begin = *p; in vtbuf_dirty_cell() 296 vb->vb_dirtyrect.tr_begin = vb->vb_scr_size; in vtbuf_make_undirty() 311 const term_pos_t *p1 = &r->tr_begin; in vtbuf_copy() 316 KASSERT(r->tr_begin.tp_row < vb->vb_scr_size.tp_row, in vtbuf_copy() 318 r->tr_begin.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy() 319 KASSERT(r->tr_begin.tp_col < vb->vb_scr_size.tp_col, in vtbuf_copy() [all …]
|
| HD | vt_core.c | 651 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect() 653 rect->tr_begin.tp_row = vt_logo_sprite_height; in vt_termrect() 659 rect->tr_begin.tp_row = in vt_termrect() 660 howmany(rect->tr_begin.tp_row, vf->vf_height); in vt_termrect() 696 vw->vw_draw_area.tr_begin.tp_col = 0; in vt_compute_drawable_area() 697 vw->vw_draw_area.tr_begin.tp_row = 0; in vt_compute_drawable_area() 699 vw->vw_draw_area.tr_begin.tp_row = vt_logo_sprite_height; in vt_compute_drawable_area() 715 vw->vw_draw_area.tr_begin.tp_col = (vd->vd_width % vf->vf_width) / 2; in vt_compute_drawable_area() 716 vw->vw_draw_area.tr_begin.tp_row = (height % vf->vf_height) / 2; in vt_compute_drawable_area() 718 vw->vw_draw_area.tr_begin.tp_row += vt_logo_sprite_height; in vt_compute_drawable_area() [all …]
|
| /freebsd-13-stable/sys/teken/ |
| HD | teken_subr.h | 104 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll() 105 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 112 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll() 114 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll() 118 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 128 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll() 129 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 142 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll() 143 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 195 tr.tr_begin.tp_row = 0; in teken_subr_alignment_test() [all …]
|
| HD | teken.c | 115 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_fill() 117 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_fill() 128 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_copy() 130 teken_assert(r->tr_end.tp_col > r->tr_begin.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()
|
| HD | teken.h | 67 teken_pos_t tr_begin; member
|
| /freebsd-13-stable/sys/dev/vt/hw/fb/ |
| HD | vt_fb.c | 341 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text() 342 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_bitblt_text() 345 vw->vw_draw_area.tr_begin.tp_col; in vt_fb_bitblt_text() 347 vw->vw_draw_area.tr_begin.tp_row; in vt_fb_bitblt_text() 382 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_bitblt_text() 383 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_fb_bitblt_text() 391 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in vt_fb_bitblt_text() 392 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in vt_fb_bitblt_text() 404 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_invalidate_text() 405 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_invalidate_text()
|
| /freebsd-13-stable/sys/dev/vt/hw/vga/ |
| HD | vt_vga.c | 640 if (i < vw->vw_draw_area.tr_begin.tp_col) { in vga_bitblt_one_text_pixels_block() 646 i = vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() 658 col = (i - vw->vw_draw_area.tr_begin.tp_col) / vf->vf_width; in vga_bitblt_one_text_pixels_block() 659 row = (y - vw->vw_draw_area.tr_begin.tp_row) / vf->vf_height; in vga_bitblt_one_text_pixels_block() 691 (col * vf->vf_width + vw->vw_draw_area.tr_begin.tp_col); in vga_bitblt_one_text_pixels_block() 694 vw->vw_draw_area.tr_begin.tp_col, in vga_bitblt_one_text_pixels_block() 698 vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() 722 drawn_area.tr_begin.tp_col = x; in vga_bitblt_one_text_pixels_block() 723 drawn_area.tr_begin.tp_row = y; in vga_bitblt_one_text_pixels_block() 732 mx = vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() [all …]
|
| /freebsd-13-stable/sys/dev/vt/hw/ofwfb/ |
| HD | ofwfb.c | 258 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text() 259 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text() 262 vw->vw_draw_area.tr_begin.tp_col; in ofwfb_bitblt_text() 264 vw->vw_draw_area.tr_begin.tp_row; in ofwfb_bitblt_text() 283 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text() 284 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text() 292 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in ofwfb_bitblt_text() 293 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in ofwfb_bitblt_text()
|
| /freebsd-13-stable/stand/i386/libi386/ |
| HD | vidconsole.c | 112 for (p.tp_row = r->tr_begin.tp_row; in term_image_display() 114 for (p.tp_col = r->tr_begin.tp_col; in term_image_display() 369 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in vidc_text_fill() 371 for (p.tp_col = r->tr_begin.tp_col; in vidc_text_fill() 391 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in vidc_text_copy() 392 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in vidc_text_copy() 396 if (p->tp_row < r->tr_begin.tp_row) { in vidc_text_copy() 400 s.tp_row = r->tr_begin.tp_row + y; in vidc_text_copy() 405 s.tp_col = r->tr_begin.tp_col + x; in vidc_text_copy() 418 if (p->tp_col < r->tr_begin.tp_col) { in vidc_text_copy() [all …]
|
| /freebsd-13-stable/stand/efi/libefi/ |
| HD | efi_console.c | 153 for (p.tp_row = r->tr_begin.tp_row; in term_image_display() 155 for (p.tp_col = r->tr_begin.tp_col; in term_image_display() 265 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in efi_text_fill() 267 for (p.tp_col = r->tr_begin.tp_col; in efi_text_fill() 323 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in efi_text_copy() 324 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in efi_text_copy() 333 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in efi_text_copy() 344 s = r->tr_begin; in efi_text_copy() 347 s.tp_row = r->tr_begin.tp_row + y; in efi_text_copy() 354 s.tp_row = r->tr_begin.tp_row + y; in efi_text_copy()
|
| /freebsd-13-stable/stand/common/ |
| HD | gfx_fb.c | 998 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in gfx_fb_fill() 1001 for (p.tp_col = r->tr_begin.tp_col; in gfx_fb_fill() 1116 sx = s->tr_begin.tp_col * width; in gfx_fb_copy_area() 1117 sy = s->tr_begin.tp_row * height; in gfx_fb_copy_area() 1121 width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1); in gfx_fb_copy_area() 1195 sr.tr_begin.tp_col = s->tp_col + x; in gfx_fb_copy_line() 1196 sr.tr_begin.tp_row = s->tp_row; in gfx_fb_copy_line() 1222 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in gfx_fb_copy() 1223 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy() 1229 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in gfx_fb_copy() [all …]
|
| /freebsd-13-stable/sys/kern/ |
| HD | subr_terminal.c | 259 r.tr_begin.tp_row = r.tr_begin.tp_col = 0; in terminal_set_winsize_blank()
|