Lines Matching refs:vc_x
378 uniscr->lines[vc->vc_y][vc->vc_x] = uc; in vc_uniscr_putc()
387 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_insert()
400 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_delete()
839 scr_memmovew(p + nr, p, (vc->vc_cols - vc->vc_x - nr) * 2); in insert_char()
844 vc->vc_cols - vc->vc_x); in insert_char()
852 scr_memcpyw(p, p + nr, (vc->vc_cols - vc->vc_x - nr) * 2); in delete_char()
853 scr_memsetw(p + vc->vc_cols - vc->vc_x - nr, vc->vc_video_erase_char, in delete_char()
858 vc->vc_cols - vc->vc_x); in delete_char()
877 vc->vc_sw->con_putc(vc, i, vc->vc_y, vc->vc_x); in add_softcursor()
886 vc->vc_y, vc->vc_x); in hide_softcursor()
923 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->vc_y + 2 * vc->vc_x; in set_origin()
1261 gotoxy(vc, vc->vc_x, vc->vc_y); in vc_do_resize()
1394 vc->vc_x = 0; in gotoxy()
1397 vc->vc_x = vc->vc_cols - 1; in gotoxy()
1399 vc->vc_x = new_x; in gotoxy()
1415 vc->vc_pos = vc->vc_origin + vc->vc_y * vc->vc_size_row + (vc->vc_x<<1); in gotoxy()
1468 vc->vc_pos -= vc->vc_x << 1; in cr()
1469 vc->vc_need_wrap = vc->vc_x = 0; in cr()
1475 if (vc->vc_x) { in bs()
1477 vc->vc_x--; in bs()
1495 vc_uniscr_clear_line(vc, vc->vc_x, in csi_J()
1496 vc->vc_cols - vc->vc_x); in csi_J()
1503 vc_uniscr_clear_line(vc, 0, vc->vc_x + 1); in csi_J()
1537 count = vc->vc_cols - vc->vc_x; in csi_K()
1540 offset = -vc->vc_x; in csi_K()
1541 count = vc->vc_x + 1; in csi_K()
1544 offset = -vc->vc_x; in csi_K()
1550 vc_uniscr_clear_line(vc, vc->vc_x + offset, count); in csi_K()
1563 count = (vpar > vc->vc_cols - vc->vc_x) ? (vc->vc_cols - vc->vc_x) : vpar; in csi_X()
1565 vc_uniscr_clear_line(vc, vc->vc_x, count); in csi_X()
1568 vc->vc_sw->con_clear(vc, vc->vc_y, vc->vc_x, 1, count); in csi_X()
1785 sprintf(buf, "\033[%d;%dR", vc->vc_y + (vc->vc_decom ? vc->vc_top + 1 : 1), vc->vc_x + 1); in cursor_report()
1953 if (nr > vc->vc_cols - vc->vc_x) in csi_at()
1954 nr = vc->vc_cols - vc->vc_x; in csi_at()
1974 if (nr > vc->vc_cols - vc->vc_x) in csi_P()
1975 nr = vc->vc_cols - vc->vc_x; in csi_P()
1995 vc->vc_saved_x = vc->vc_x; in save_cur()
2104 vc->vc_pos -= (vc->vc_x << 1); in do_con_trol()
2105 while (vc->vc_x < vc->vc_cols - 1) { in do_con_trol()
2106 vc->vc_x++; in do_con_trol()
2107 if (vc->vc_tab_stop[7 & (vc->vc_x >> 5)] & (1 << (vc->vc_x & 31))) in do_con_trol()
2110 vc->vc_pos += (vc->vc_x << 1); in do_con_trol()
2167 vc->vc_tab_stop[7 & (vc->vc_x >> 5)] |= (1 << (vc->vc_x & 31)); in do_con_trol()
2300 gotoxy(vc, vc->vc_x, vc->vc_y - vc->vc_par[0]); in do_con_trol()
2305 gotoxy(vc, vc->vc_x, vc->vc_y + vc->vc_par[0]); in do_con_trol()
2310 gotoxy(vc, vc->vc_x + vc->vc_par[0], vc->vc_y); in do_con_trol()
2315 gotoxy(vc, vc->vc_x - vc->vc_par[0], vc->vc_y); in do_con_trol()
2330 gotoxay(vc, vc->vc_x ,vc->vc_par[0]); in do_con_trol()
2360 vc->vc_tab_stop[7 & (vc->vc_x >> 5)] &= ~(1 << (vc->vc_x & 31)); in do_con_trol()
2733 draw_x = vc->vc_x; in do_con_write()
2736 if (vc->vc_x == vc->vc_cols - 1) { in do_con_write()
2740 vc->vc_x++; in do_con_write()
2906 myx = vc->vc_x; in vt_console_print()
2930 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
2931 vc->vc_x += cnt; in vt_console_print()
2933 vc->vc_x--; in vt_console_print()
2939 myx = vc->vc_x; in vt_console_print()
2946 myx = vc->vc_x; in vt_console_print()
2962 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
2963 vc->vc_x += cnt; in vt_console_print()
2964 if (vc->vc_x == vc->vc_cols) { in vt_console_print()
2965 vc->vc_x--; in vt_console_print()
3355 gotoxy(vc, vc->vc_x, vc->vc_y); in con_init()
4614 p[0] = vc->vc_x; in getconsxy()