Lines Matching refs:tp_col

105 			tr.tr_begin.tp_col = 0;  in teken_subr_do_scroll()
107 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
109 tp.tp_col = 0; in teken_subr_do_scroll()
118 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
120 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
129 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
131 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
133 tp.tp_col = 0; in teken_subr_do_scroll()
143 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
144 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
162 t->t_cursor.tp_col + 1); in teken_subr_do_cpr()
188 t->t_cursor.tp_row = t->t_cursor.tp_col = 0; in teken_subr_alignment_test()
196 tr.tr_begin.tp_col = 0; in teken_subr_alignment_test()
206 if (t->t_cursor.tp_col == 0) { in teken_subr_backspace()
210 t->t_cursor.tp_col = t->t_winsize.tp_col - 1; in teken_subr_backspace()
212 t->t_cursor.tp_col--; in teken_subr_backspace()
215 if (t->t_cursor.tp_col == 0) in teken_subr_backspace()
218 t->t_cursor.tp_col--; in teken_subr_backspace()
236 t->t_cursor.tp_col = 0; in teken_subr_carriage_return()
245 if (ncols > t->t_cursor.tp_col) in teken_subr_cursor_backward()
246 t->t_cursor.tp_col = 0; in teken_subr_cursor_backward()
248 t->t_cursor.tp_col -= ncols; in teken_subr_cursor_backward()
259 if (t->t_cursor.tp_col == 0) in teken_subr_cursor_backward_tabulation()
262 t->t_cursor.tp_col--; in teken_subr_cursor_backward_tabulation()
265 if (teken_tab_isset(t, t->t_cursor.tp_col)) in teken_subr_cursor_backward_tabulation()
288 if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) in teken_subr_cursor_forward()
289 t->t_cursor.tp_col = t->t_winsize.tp_col - 1; in teken_subr_cursor_forward()
291 t->t_cursor.tp_col += ncols; in teken_subr_cursor_forward()
302 if (t->t_cursor.tp_col == t->t_winsize.tp_col - 1) in teken_subr_cursor_forward_tabulation()
305 t->t_cursor.tp_col++; in teken_subr_cursor_forward_tabulation()
308 if (teken_tab_isset(t, t->t_cursor.tp_col)) in teken_subr_cursor_forward_tabulation()
319 t->t_cursor.tp_col = 0; in teken_subr_cursor_next_line()
332 t->t_cursor.tp_col = col < t->t_winsize.tp_col ? in teken_subr_cursor_position()
333 col : t->t_winsize.tp_col - 1; in teken_subr_cursor_position()
356 t->t_cursor.tp_col = 0; in teken_subr_cursor_previous_line()
398 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_character()
400 if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) { in teken_subr_delete_character()
401 tr.tr_begin.tp_col = t->t_cursor.tp_col; in teken_subr_delete_character()
404 tr.tr_begin.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_delete_character()
407 tr.tr_begin.tp_col = t->t_winsize.tp_col - ncols; in teken_subr_delete_character()
424 tr.tr_begin.tp_col = 0; in teken_subr_delete_line()
426 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_line()
436 tp.tp_col = 0; in teken_subr_delete_line()
491 if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) in teken_subr_erase_character()
492 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_character()
494 tr.tr_end.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_erase_character()
504 r.tr_begin.tp_col = 0; in teken_subr_erase_display()
505 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_display()
545 r.tr_begin.tp_col = 0; in teken_subr_erase_line()
546 r.tr_end.tp_col = t->t_cursor.tp_col + 1; in teken_subr_erase_line()
549 r.tr_begin.tp_col = 0; in teken_subr_erase_line()
550 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_line()
553 r.tr_begin.tp_col = t->t_cursor.tp_col; in teken_subr_erase_line()
554 r.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_line()
608 t->t_cursor.tp_col = col < t->t_winsize.tp_col ? in teken_subr_horizontal_position_absolute()
609 col : t->t_winsize.tp_col - 1; in teken_subr_horizontal_position_absolute()
626 teken_tab_set(t, t->t_cursor.tp_col); in teken_subr_horizontal_tab_set()
650 if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) { in teken_subr_insert_character()
651 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_insert_character()
656 tr.tr_end.tp_col = t->t_winsize.tp_col - ncols; in teken_subr_insert_character()
658 tp.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_insert_character()
661 tr.tr_end.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_insert_character()
679 tr.tr_begin.tp_col = 0; in teken_subr_insert_line()
680 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_insert_line()
690 tp.tp_col = 0; in teken_subr_insert_line()
738 tr.tr_begin.tp_col = 0; in teken_subr_newpage()
740 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_newpage()
745 t->t_cursor.tp_col = 0; in teken_subr_newpage()
757 t->t_cursor.tp_col = 0; in teken_subr_next_line()
803 tp->tp_col < t->t_winsize.tp_col - width) { in teken_subr_do_putchar()
810 ctr.tr_end.tp_col = t->t_winsize.tp_col - width; in teken_subr_do_putchar()
812 ctp.tp_col = tp->tp_col + width; in teken_subr_do_putchar()
818 if (width == 2 && tp->tp_col + 1 < t->t_winsize.tp_col) { in teken_subr_do_putchar()
824 tp2.tp_col = tp->tp_col + 1; in teken_subr_do_putchar()
851 t->t_cursor.tp_col += width; in teken_subr_regular_character()
853 if (t->t_cursor.tp_col >= t->t_winsize.tp_col) { in teken_subr_regular_character()
863 t->t_cursor.tp_col = 0; in teken_subr_regular_character()
867 t->t_cursor.tp_col + 1 == t->t_winsize.tp_col) || in teken_subr_regular_character()
868 t->t_cursor.tp_col + width > t->t_winsize.tp_col)) { in teken_subr_regular_character()
896 tp.tp_col = 0; in teken_subr_regular_character()
900 t->t_cursor.tp_col = width; in teken_subr_regular_character()
905 t->t_cursor.tp_col += width; in teken_subr_regular_character()
907 if (t->t_cursor.tp_col >= t->t_winsize.tp_col) { in teken_subr_regular_character()
909 t->t_cursor.tp_col = t->t_winsize.tp_col - 1; in teken_subr_regular_character()
940 t->t_cursor.tp_row = t->t_cursor.tp_col = 0; in teken_subr_reset_dec_mode()
997 t->t_cursor.tp_row = t->t_cursor.tp_col = 0; in teken_subr_do_reset()
1098 t->t_cursor.tp_col = 0; in teken_subr_set_dec_mode()
1275 t->t_cursor.tp_col = 0; in teken_subr_set_top_and_bottom_margins()
1313 teken_tab_clear(t, t->t_cursor.tp_col); in teken_subr_tab_clear()
1340 max_repetitions = t->t_winsize.tp_row * t->t_winsize.tp_col; in teken_subr_repeat_last_graphic_char()