Home
last modified time | relevance | path

Searched refs:tp_row (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/vt/
H A Dvt_buf.c52 (d).tp_row = (s).tp_row; \
86 bottom + vb->vb_scr_size.tp_row - vb->vb_history_size : in vthistory_seek()
102 if (roffset >= bottom + vb->vb_scr_size.tp_row) in vthistory_seek()
133 if (vb->vb_curroffset + vb->vb_scr_size.tp_row >= vb->vb_history_size) { in vthistory_addlines()
143 cur = vb->vb_roffset + vb->vb_scr_size.tp_row + sz - 1; in vthistory_addlines()
144 if (vtbuf_in_this_range(cur, vb->vb_mark_start.tp_row, cur + offset, sz) || in vthistory_addlines()
145 vtbuf_in_this_range(cur, vb->vb_mark_end.tp_row, cur + offset, sz)) { in vthistory_addlines()
147 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row; in vthistory_addlines()
215 (vb->vb_cursor.tp_row == row) && (vb->vb_cursor.tp_col == col)) in vtbuf_iscursor()
221 vb->vb_mark_start.tp_row == vb->vb_mark_end.tp_row) in vtbuf_iscursor()
[all …]
H A Dvt_core.c251 .vb_mark_start = {.tp_row = 0, .tp_col = 0,},
252 .vb_mark_end = {.tp_row = 0, .tp_col = 0,},
254 .tp_row = _VTDEFH,
650 size->tp_row = vd->vd_height; in vt_termsize()
652 size->tp_row -= vt_logo_sprite_height; in vt_termsize()
655 size->tp_row = MIN(size->tp_row / vf->vf_height, in vt_termsize()
666 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect()
668 rect->tr_begin.tp_row = vt_logo_sprite_height; in vt_termrect()
670 rect->tr_end.tp_row = vd->vd_height; in vt_termrect()
674 rect->tr_begin.tp_row = in vt_termrect()
[all …]
/freebsd/sys/teken/
H A Dteken_subr.h94 teken_assert(t->t_cursor.tp_row <= t->t_winsize.tp_row); in teken_subr_do_scroll()
95 teken_assert(t->t_scrollreg.ts_end <= t->t_winsize.tp_row); in teken_subr_do_scroll()
104 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll()
106 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
108 tp.tp_row = t->t_scrollreg.ts_begin; 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()
119 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
128 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
130 tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll()
[all …]
H A Dteken.c91 teken_assert(t->t_cursor.tp_row < t->t_winsize.tp_row); in teken_funcs_cursor()
103 teken_assert(p->tp_row < t->t_winsize.tp_row); in teken_funcs_putchar()
115 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()
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()
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()
181 teken_pos_t tp = { .tp_row = 24, .tp_col = 80 }; in teken_init()
260 teken_assert(t->t_cursor.tp_row >= t->t_originreg.ts_begin); in teken_input_char()
261 teken_assert(t->t_cursor.tp_row < t->t_originreg.ts_end); in teken_input_char()
[all …]
H A Dteken.h63 teken_unit_t tp_row; member
/freebsd/sys/teken/demo/
H A Dteken_demo.c86 assert(p->tp_row < NROWS); in printchar()
89 px = &buffer[p->tp_col][p->tp_row]; in printchar()
123 mvaddstr(p->tp_row, p->tp_col, str); in printchar()
138 move(p->tp_row, p->tp_col); in test_cursor()
146 buffer[p->tp_col][p->tp_row].c = c; in test_putchar()
147 buffer[p->tp_col][p->tp_row].a = *a; in test_putchar()
158 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; p.tp_row++) in test_fill()
174 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in test_copy()
177 if (p->tp_row < r->tr_begin.tp_row) { in test_copy()
182 d.tp_row = p->tp_row + y; in test_copy()
[all …]
/freebsd/stand/i386/libi386/
H A Dvidconsole.c111 for (p.tp_row = r->tr_begin.tp_row; in term_image_display()
112 p.tp_row < r->tr_end.tp_row; p.tp_row++) { in term_image_display()
115 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in term_image_display()
116 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in term_image_display()
176 if (p->tp_row == TEXT_ROWS) in vidc_text_cursor()
177 row = p->tp_row - 1; in vidc_text_cursor()
179 row = p->tp_row; in vidc_text_cursor()
320 idx = p->tp_col + p->tp_row * state->tg_tp.tp_col; in vidc_text_printchar()
348 idx = p->tp_col + p->tp_row * state->tg_tp.tp_col; in vidc_text_putchar()
349 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in vidc_text_putchar()
[all …]
/freebsd/sys/dev/syscons/
H A Dscterm-teken.c293 tp.tp_row = scp->ysize; in scteken_sync_internal()
296 tp.tp_row = scp->ypos; in scteken_sync_internal()
384 sc_move_cursor(scp, p->tp_col, p->tp_row); in scteken_cursor()
548 cursor = tp->tp_row * scp->xsize + tp->tp_col; in scteken_putchar()
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()
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()
596 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col); in scteken_fill()
598 (r->tr_end.tp_row - 1) * scp->xsize + (r->tr_end.tp_col - 1)); in scteken_fill()
[all …]
/freebsd/stand/efi/libefi/
H A Defi_console.c152 for (p.tp_row = r->tr_begin.tp_row; in term_image_display()
153 p.tp_row < r->tr_end.tp_row; p.tp_row++) { in term_image_display()
156 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in term_image_display()
157 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in term_image_display()
181 row = p->tp_row; in efi_text_cursor()
182 if (p->tp_row >= state->tg_tp.tp_row) in efi_text_cursor()
[all...]
/freebsd/stand/common/
H A Dgfx_fb.c955 y = state->tg_origin.tp_row + p->tp_row * height; in gfx_fb_printchar()
971 idx = p->tp_col + p->tp_row * state->tg_tp.tp_col; in gfx_fb_putchar()
972 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_putchar()
1011 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in gfx_fb_fill()
1012 p.tp_row++) { in gfx_fb_fill()
1013 row = &screen_buffer[p.tp_row * state->tg_tp.tp_col]; in gfx_fb_fill()
1041 if (p.tp_row >= state->tg_tp.tp_row) in gfx_fb_cursor_draw()
1042 p.tp_row = state->tg_tp.tp_row - 1; in gfx_fb_cursor_draw()
1043 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in gfx_fb_cursor_draw()
1044 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_cursor_draw()
[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()
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()
395 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text()
401 vw->vw_draw_area.tr_begin.tp_row; in vt_fb_bitblt_text()
437 drawn_area.tr_begin.tp_row in vt_fb_postswitch()
[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()
269 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
275 vw->vw_draw_area.tr_begin.tp_row; in ofwfb_bitblt_text()
295 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text()
297 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height;
304 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row,
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c660 row = (y - vw->vw_draw_area.tr_begin.tp_row) / vf->vf_height; in vga_bitblt_one_text_pixels_block()
724 drawn_area.tr_begin.tp_row = y; 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()
734 my = vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row; in vga_bitblt_one_text_pixels_block()
816 row = area->tr_begin.tp_row; in vga_bitblt_text_gfxmode()
820 y1 = row * vf->vf_height + vw->vw_draw_area.tr_begin.tp_row; in vga_bitblt_text_gfxmode()
831 row = area->tr_end.tp_row; in vga_bitblt_text_gfxmode()
835 y2 = row * vf->vf_height + vw->vw_draw_area.tr_begin.tp_row; 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; ro in vga_bitblt_text_txtmode()
[all...]
/freebsd/sys/kern/
H A Dsubr_terminal.c258 r.tr_begin.tp_row = r.tr_begin.tp_col = 0; in terminal_set_winsize_blank()
259 r.tr_end.tp_row = size->ws_row; in terminal_set_winsize_blank()
454 vi->mv_row = p->tp_row; in termtty_ioctl()
458 vi->mv_rsz = p->tp_row; in termtty_ioctl()
485 p.tp_row = 0; in termtty_ioctl()
/freebsd/stand/liblua/
H A Dgfx_utils.c67 y1 = gfx_state.tg_origin.tp_row + y1 * gfx_state.tg_font.vf_height; in lua_term_putimage()
73 y2 = gfx_state.tg_origin.tp_row + in lua_term_putimage()
/freebsd/stand/ficl/
H A Dgfx_loader.c82 y1 = gfx_state.tg_origin.tp_row + y1 * gfx_state.tg_font.vf_height; in ficl_term_putimage()
88 y2 = gfx_state.tg_origin.tp_row + in ficl_term_putimage()
/freebsd/sys/dev/virtio/gpu/
H A Dvirtio_gpu.c159 y = area->tr_begin.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row; 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()