| /freebsd-14.2/sys/dev/vt/ |
| H A D | vt_buf.c | 52 (d).tp_col = (s).tp_col; \ 288 area.tr_end.tp_col = p->tp_col + 1; in vtbuf_dirty_cell() 328 r->tr_end.tp_col, vb->vb_scr_size.tp_col)); in vtbuf_copy() 333 KASSERT(p2->tp_col < vb->vb_scr_size.tp_col, in vtbuf_copy() 335 p2->tp_col, vb->vb_scr_size.tp_col)); in vtbuf_copy() 364 area.tr_end.tp_col = MIN(p2->tp_col + cols, vb->vb_scr_size.tp_col); in vtbuf_copy() 399 r->tr_end.tp_col, vb->vb_scr_size.tp_col)); in vtbuf_fill() 494 p.tp_col = vb->vb_scr_size.tp_col; in vtbuf_sethistory_size() 646 if (vb->vb_cursor.tp_col > p->tp_col - 1) in vtbuf_grow() 651 vb->vb_cursor.tp_col = p->tp_col - 1; in vtbuf_grow() [all …]
|
| H A D | vt_core.c | 253 .tp_col = _VTDEFW, 655 size->tp_col = MIN(size->tp_col / vf->vf_width, in vt_termsize() 677 rect->tr_end.tp_col = MIN(rect->tr_end.tp_col / vf->vf_width, in vt_termrect() 732 vw->vw_draw_area.tr_end.tp_col = vw->vw_draw_area.tr_begin.tp_col + in vt_compute_drawable_area() 1293 area.tr_end.tp_col = in vt_mark_mouse_position_as_dirty() 1304 area.tr_begin.tp_col = x; in vt_mark_mouse_position_as_dirty() 1360 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_flush_to_buffer() 1404 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_bitblt_buffer() 1435 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_bitblt_buffer() 1437 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in vt_bitblt_buffer() [all …]
|
| /freebsd-14.2/sys/teken/ |
| H A D | teken_subr.h | 107 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll() 120 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll() 131 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll() 144 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll() 398 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_character() 426 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_line() 505 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_display() 550 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_line() 554 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_line() 812 ctp.tp_col = tp->tp_col + width; in teken_subr_do_putchar() [all …]
|
| H A D | teken.c | 92 teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col); in teken_funcs_cursor() 104 teken_assert(p->tp_col < t->t_winsize.tp_col); in teken_funcs_putchar() 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() 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() 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() 263 teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col); in teken_input_char() 334 teken_assert(p->tp_col < t->t_winsize.tp_col); in teken_set_cursor() 385 if (t->t_cursor.tp_col >= new->tp_col) in teken_trim_cursor_pos() [all …]
|
| H A D | teken.h | 64 teken_unit_t tp_col; member
|
| /freebsd-14.2/sys/teken/demo/ |
| H A D | teken_demo.c | 87 assert(p->tp_col < NCOLS); in printchar() 138 move(p->tp_row, p->tp_col); in test_cursor() 159 for (p.tp_col = r->tr_begin.tp_col; p.tp_col < r->tr_end.tp_col; p.tp_col++) in test_fill() 175 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in test_copy() 179 if (p->tp_col < r->tr_begin.tp_col) { in test_copy() 184 d.tp_col = p->tp_col + x; in test_copy() 195 d.tp_col = p->tp_col + x; in test_copy() 204 if (p->tp_col < r->tr_begin.tp_col) { in test_copy() 209 d.tp_col = p->tp_col + x; in test_copy() 220 d.tp_col = p->tp_col + x; in test_copy() [all …]
|
| /freebsd-14.2/stand/i386/libi386/ |
| H A D | vidconsole.c | 114 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in term_image_display() 370 for (p.tp_col = r->tr_begin.tp_col; in vidc_text_fill() 371 p.tp_col < r->tr_end.tp_col; p.tp_col++) in vidc_text_fill() 391 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in vidc_text_copy() 403 d.tp_col = p->tp_col + x; 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() 425 d.tp_col = p->tp_col + x; in vidc_text_copy() 426 s.tp_col = r->tr_begin.tp_col + x; in vidc_text_copy() 445 d.tp_col = p->tp_col + x; in vidc_text_copy() [all …]
|
| /freebsd-14.2/stand/efi/libefi/ |
| H A D | efi_console.c | 154 for (p.tp_col = r->tr_begin.tp_col; in term_image_display() 155 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in term_image_display() 156 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in term_image_display() 186 if (p->tp_col >= state->tg_tp.tp_col) in efi_text_cursor() 223 p->tp_col == state->tg_tp.tp_col - 1) in efi_text_printchar() 266 for (p.tp_col = r->tr_begin.tp_col; in efi_text_fill() 267 p.tp_col < r->tr_end.tp_col; p.tp_col++) in efi_text_fill() 287 sp.tp_col = s->tp_col + x; in efi_text_copy_line() 288 dp.tp_col = d->tp_col + x; in efi_text_copy_line() 297 if (dp.tp_col + 1 == state->tg_tp.tp_col && in efi_text_copy_line() [all …]
|
| /freebsd-14.2/sys/dev/syscons/ |
| H A D | scterm-teken.c | 292 tp.tp_col = scp->xsize; in scteken_sync_internal() 295 tp.tp_col = scp->xpos; in scteken_sync_internal() 578 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill() 585 width = r->tr_end.tp_col - 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() 622 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_copy() 629 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_copy() 634 r->tr_begin.tp_col; in scteken_copy() 636 r->tr_end.tp_col; in scteken_copy() 648 r->tr_begin.tp_col; in scteken_copy() [all …]
|
| /freebsd-14.2/sys/dev/vt/hw/fb/ |
| H A D | vt_fb.c | 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() 363 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_argb() 364 if (x >= vw->vw_draw_area.tr_end.tp_col) in vt_fb_bitblt_argb() 366 width = vw->vw_draw_area.tr_end.tp_col - x; in vt_fb_bitblt_argb() 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() 437 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_bitblt_text() 439 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in vt_fb_bitblt_text() [all …]
|
| /freebsd-14.2/stand/common/ |
| H A D | gfx_fb.c | 944 x = state->tg_origin.tp_col + p->tp_col * width; in gfx_fb_printchar() 1004 for (p.tp_col = r->tr_begin.tp_col; in gfx_fb_fill() 1005 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in gfx_fb_fill() 1029 if (p.tp_col >= state->tg_tp.tp_col) in gfx_fb_cursor_draw() 1030 p.tp_col = state->tg_tp.tp_col - 1; in gfx_fb_cursor_draw() 1194 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line() 1198 sr.tr_begin.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() 1202 dp.tp_col = d->tp_col + x; in gfx_fb_copy_line() 1226 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy() [all …]
|
| /freebsd-14.2/sys/dev/vt/hw/vga/ |
| H A D | vt_vga.c | 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() 698 vw->vw_draw_area.tr_end.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() 816 col = area->tr_begin.tp_col; in vga_bitblt_text_gfxmode() 831 col = area->tr_end.tp_col; in vga_bitblt_text_gfxmode() 880 for (col = area->tr_begin.tp_col; in vga_bitblt_text_txtmode() 881 col < area->tr_end.tp_col; in vga_bitblt_text_txtmode() 944 for (col = area->tr_begin.tp_col; in vga_invalidate_text() [all …]
|
| /freebsd-14.2/sys/dev/vt/hw/ofwfb/ |
| H A D | ofwfb.c | 214 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in ofwfb_bitblt_bitmap() 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() 295 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text() 297 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in ofwfb_bitblt_text() 304 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in ofwfb_bitblt_text()
|
| /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() 261 r.tr_end.tp_col = size->ws_col; in terminal_set_winsize_blank() 456 vi->mv_col = p->tp_col; in termtty_ioctl() 460 vi->mv_csz = p->tp_col; in termtty_ioctl() 487 p.tp_col = 0; in termtty_ioctl()
|
| /freebsd-14.2/stand/liblua/ |
| H A D | gfx_utils.c | 66 x1 = gfx_state.tg_origin.tp_col + x1 * gfx_state.tg_font.vf_width; in lua_term_putimage() 69 x2 = gfx_state.tg_origin.tp_col + in lua_term_putimage()
|
| /freebsd-14.2/stand/ficl/ |
| H A D | gfx_loader.c | 81 x1 = gfx_state.tg_origin.tp_col + x1 * gfx_state.tg_font.vf_width; in ficl_term_putimage() 84 x2 = gfx_state.tg_origin.tp_col + in ficl_term_putimage()
|
| /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() 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()
|