| /freebsd-14.2/sys/dev/syscons/ |
| H A D | scterm-teken.c | 585 width = r->tr_end.tp_col - r->tr_begin.tp_col; 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() 617 r->tr_begin.tp_row == p->tp_row + 1) { in scteken_copy() 631 if (p->tp_row < r->tr_begin.tp_row) { in scteken_copy() 633 src = r->tr_begin.tp_row * scp->xsize + in scteken_copy() 634 r->tr_begin.tp_col; in scteken_copy() 648 r->tr_begin.tp_col; in scteken_copy() 649 end = r->tr_begin.tp_row * scp->xsize + in scteken_copy() [all …]
|
| /freebsd-14.2/sys/teken/demo/ |
| H A D | 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-14.2/sys/dev/vt/ |
| H A D | 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() 311 const term_pos_t *p1 = &r->tr_begin; in vtbuf_copy() 340 if (r->tr_begin.tp_row > p2->tp_row && r->tr_begin.tp_col == 0 && in vtbuf_copy() 362 area.tr_begin = *p2; in vtbuf_copy() 426 rect.tr_begin.tp_row = rect.tr_begin.tp_col = 0; in vtbuf_do_clearhistory() 709 area.tr_begin.tp_col = 0; in vtbuf_flush_mark() [all …]
|
| H A D | vt_core.c | 664 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect() 672 rect->tr_begin.tp_row = in vt_termrect() 709 vw->vw_draw_area.tr_begin.tp_col = 0; in vt_compute_drawable_area() 710 vw->vw_draw_area.tr_begin.tp_row = 0; in vt_compute_drawable_area() 1304 area.tr_begin.tp_col = x; in vt_mark_mouse_position_as_dirty() 1305 area.tr_begin.tp_row = y; in vt_mark_mouse_position_as_dirty() 1330 if (area->tr_begin.tp_row > 0) in vt_set_border() 1332 area->tr_begin.tp_row - 1, 1, c); in vt_set_border() 1335 if (area->tr_begin.tp_col > 0) in vt_set_border() 1435 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_bitblt_buffer() [all …]
|
| /freebsd-14.2/sys/teken/ |
| H A D | teken_subr.h | 105 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 118 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll() 129 tr.tr_begin.tp_col = 0; 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() 196 tr.tr_begin.tp_col = 0; in teken_subr_alignment_test() 424 tr.tr_begin.tp_col = 0; in teken_subr_delete_line() 504 r.tr_begin.tp_col = 0; in teken_subr_erase_display() 514 r.tr_begin.tp_row = 0; in teken_subr_erase_display() 518 r.tr_begin.tp_row = 0; in teken_subr_erase_display() [all …]
|
| H A D | 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()
|
| H A D | teken.h | 67 teken_pos_t tr_begin; member
|
| /freebsd-14.2/sys/dev/vt/hw/fb/ |
| H A D | vt_fb.c | 396 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text() 397 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_bitblt_text() 400 vw->vw_draw_area.tr_begin.tp_col; in vt_fb_bitblt_text() 402 vw->vw_draw_area.tr_begin.tp_row; in vt_fb_bitblt_text() 437 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_bitblt_text() 438 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_fb_bitblt_text() 446 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in vt_fb_bitblt_text() 447 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in vt_fb_bitblt_text() 459 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_invalidate_text() 460 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_invalidate_text()
|
| /freebsd-14.2/sys/dev/vt/hw/vga/ |
| H A D | vt_vga.c | 642 if (i < vw->vw_draw_area.tr_begin.tp_col) { in vga_bitblt_one_text_pixels_block() 648 i = vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() 696 vw->vw_draw_area.tr_begin.tp_col, in vga_bitblt_one_text_pixels_block() 700 vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() 724 drawn_area.tr_begin.tp_col = x; in vga_bitblt_one_text_pixels_block() 725 drawn_area.tr_begin.tp_row = y; in vga_bitblt_one_text_pixels_block() 734 mx = vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block() 816 col = area->tr_begin.tp_col; in vga_bitblt_text_gfxmode() 817 row = area->tr_begin.tp_row; in vga_bitblt_text_gfxmode() 880 for (col = area->tr_begin.tp_col; in vga_bitblt_text_txtmode() [all …]
|
| /freebsd-14.2/sys/dev/vt/hw/ofwfb/ |
| H A D | ofwfb.c | 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() 274 vw->vw_draw_area.tr_begin.tp_col; in ofwfb_bitblt_text() 276 vw->vw_draw_area.tr_begin.tp_row; in ofwfb_bitblt_text() 295 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text() 296 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text() 304 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in ofwfb_bitblt_text() 305 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in ofwfb_bitblt_text()
|
| /freebsd-14.2/stand/i386/libi386/ |
| H A D | vidconsole.c | 111 for (p.tp_row = r->tr_begin.tp_row; in term_image_display() 370 for (p.tp_col = r->tr_begin.tp_col; in vidc_text_fill() 390 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in vidc_text_copy() 395 if (p->tp_row < r->tr_begin.tp_row) { in vidc_text_copy() 399 s.tp_row = r->tr_begin.tp_row + y; in vidc_text_copy() 404 s.tp_col = r->tr_begin.tp_col + x; in vidc_text_copy() 417 if (p->tp_col < r->tr_begin.tp_col) { in vidc_text_copy() 421 s.tp_row = r->tr_begin.tp_row + y; in vidc_text_copy() 426 s.tp_col = r->tr_begin.tp_col + x; in vidc_text_copy() 441 s.tp_row = r->tr_begin.tp_row + y; in vidc_text_copy() [all …]
|
| /freebsd-14.2/stand/efi/libefi/ |
| H A D | efi_console.c | 152 for (p.tp_row = r->tr_begin.tp_row; in term_image_display() 154 for (p.tp_col = r->tr_begin.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() 266 for (p.tp_col = r->tr_begin.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() 332 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in efi_text_copy() 343 s = r->tr_begin; in efi_text_copy() 346 s.tp_row = r->tr_begin.tp_row + y; in efi_text_copy() 353 s.tp_row = r->tr_begin.tp_row + y; in efi_text_copy()
|
| /freebsd-14.2/sys/dev/virtio/gpu/ |
| H A D | virtio_gpu.c | 158 x = area->tr_begin.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col; in vtgpu_fb_bitblt_text() 159 y = area->tr_begin.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row; in vtgpu_fb_bitblt_text() 160 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()
|
| /freebsd-14.2/stand/common/ |
| H A D | gfx_fb.c | 1004 for (p.tp_col = r->tr_begin.tp_col; in gfx_fb_fill() 1119 sx = s->tr_begin.tp_col * width; in gfx_fb_copy_area() 1120 sy = s->tr_begin.tp_row * height; in gfx_fb_copy_area() 1198 sr.tr_begin.tp_col = s->tp_col + x; in gfx_fb_copy_line() 1199 sr.tr_begin.tp_row = s->tp_row; in gfx_fb_copy_line() 1232 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in gfx_fb_copy() 1243 s = r->tr_begin; in gfx_fb_copy() 1246 s.tp_row = r->tr_begin.tp_row + y; in gfx_fb_copy() 1253 s.tp_row = r->tr_begin.tp_row + y; in gfx_fb_copy() 1644 r.tr_begin.tp_col = ux1; in gfx_term_drawrect() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_terminal.c | 259 r.tr_begin.tp_row = r.tr_begin.tp_col = 0; in terminal_set_winsize_blank()
|