Lines Matching refs:tem_vt_state

94 static void	tem_free_buf(struct tem_vt_state *);
95 static void tem_internal_init(struct tem_vt_state *, bool, bool);
98 static void tem_control(struct tem_vt_state *, uint8_t);
99 static void tem_setparam(struct tem_vt_state *, int, int);
100 static void tem_selgraph(struct tem_vt_state *);
101 static void tem_chkparam(struct tem_vt_state *, uint8_t);
102 static void tem_getparams(struct tem_vt_state *, uint8_t);
103 static void tem_outch(struct tem_vt_state *, tem_char_t);
104 static void tem_parse(struct tem_vt_state *, tem_char_t);
106 static void tem_new_line(struct tem_vt_state *);
107 static void tem_cr(struct tem_vt_state *);
108 static void tem_lf(struct tem_vt_state *);
109 static void tem_send_data(struct tem_vt_state *);
110 static void tem_cls(struct tem_vt_state *);
111 static void tem_tab(struct tem_vt_state *);
112 static void tem_back_tab(struct tem_vt_state *);
113 static void tem_clear_tabs(struct tem_vt_state *, int);
114 static void tem_set_tab(struct tem_vt_state *);
115 static void tem_mv_cursor(struct tem_vt_state *, int, int);
116 static void tem_shift(struct tem_vt_state *, int, int);
117 static void tem_scroll(struct tem_vt_state *, int, int, int, int);
118 static void tem_clear_chars(struct tem_vt_state *tem,
120 static void tem_copy_area(struct tem_vt_state *tem,
124 static void tem_bell(struct tem_vt_state *tem);
125 static void tem_pix_clear_prom_output(struct tem_vt_state *tem);
127 static void tem_virtual_cls(struct tem_vt_state *, size_t, screen_pos_t,
129 static void tem_virtual_display(struct tem_vt_state *, term_char_t *,
131 static void tem_align_cursor(struct tem_vt_state *tem);
133 static void tem_check_first_time(struct tem_vt_state *tem);
134 static void tem_reset_display(struct tem_vt_state *, bool, bool);
135 static void tem_terminal_emulate(struct tem_vt_state *, uint8_t *, int);
136 static void tem_text_cursor(struct tem_vt_state *, short);
137 static void tem_text_cls(struct tem_vt_state *,
139 static void tem_pix_display(struct tem_vt_state *, term_char_t *,
141 static void tem_pix_copy(struct tem_vt_state *,
145 static void tem_pix_cursor(struct tem_vt_state *, short);
146 static void tem_get_attr(struct tem_vt_state *, text_color_t *,
148 static void tem_get_color(struct tem_vt_state *,
151 static void tem_pix_align(struct tem_vt_state *);
152 static void tem_text_display(struct tem_vt_state *, term_char_t *, int,
154 static void tem_text_copy(struct tem_vt_state *,
157 static void tem_pix_bit2pix(struct tem_vt_state *, term_char_t *);
158 static void tem_pix_cls_range(struct tem_vt_state *, screen_pos_t, int,
160 static void tem_pix_cls(struct tem_vt_state *, int,
163 static void bit_to_pix32(struct tem_vt_state *tem, tem_char_t c,
193 tem_add(struct tem_vt_state *tem) in tem_add()
205 struct tem_vt_state *tem = (struct tem_vt_state *)tem_arg; in tem_write()
216 tem_internal_init(struct tem_vt_state *ptem, in tem_internal_init()
260 struct tem_vt_state *ptem = (struct tem_vt_state *)tem_arg; in tem_initialized()
268 struct tem_vt_state *ptem; in tem_init()
270 ptem = calloc(1, sizeof (struct tem_vt_state)); in tem_init()
302 tem_reinit(struct tem_vt_state *tem, bool reset_display) in tem_reinit()
311 tem_free_buf(struct tem_vt_state *tem) in tem_free_buf()
346 struct tem_vt_state *p; in tem_info_init()
352 list_create(&tems.ts_list, sizeof (struct tem_vt_state), in tem_info_init()
353 __offsetof(struct tem_vt_state, tvs_list_node)); in tem_info_init()
582 struct tem_vt_state *p; in tems_modechange_callback()
595 struct tem_vt_state *active = tems.ts_active; in tems_modechange_callback()
610 struct tem_vt_state *active = tems.ts_active; in tems_modechange_callback()
742 struct tem_vt_state *active = tems.ts_active; in tem_save_state()
772 tem_prom_scroll_up(struct tem_vt_state *tem, int nrows) in tem_prom_scroll_up()
801 tem_adjust_row(struct tem_vt_state *tem, int prom_row) in tem_adjust_row()
835 tem_pix_align(struct tem_vt_state *tem) in tem_pix_align()
931 struct tem_vt_state *tem = (struct tem_vt_state *)tem_arg; in tem_activate()
943 tem_check_first_time(struct tem_vt_state *tem) in tem_check_first_time()
966 tem_input_partial(struct tem_vt_state *tem) in tem_input_partial()
988 tem_input_byte(struct tem_vt_state *tem, uint8_t c) in tem_input_byte()
1081 tem_terminal_emulate(struct tem_vt_state *tem, uint8_t *buf, int len) in tem_terminal_emulate()
1104 tem_control(struct tem_vt_state *tem, uint8_t ch) in tem_control()
1174 tem_setparam(struct tem_vt_state *tem, int count, int newparam) in tem_setparam()
1190 tem_select_color(struct tem_vt_state *tem, int color, bool fg) in tem_select_color()
1237 tem_selgraph(struct tem_vt_state *tem) in tem_selgraph()
1504 tem_chkparam(struct tem_vt_state *tem, uint8_t ch) in tem_chkparam()
1734 tem_chkparam_qmark(struct tem_vt_state *tem, tem_char_t ch) in tem_chkparam_qmark()
1784 tem_getparams(struct tem_vt_state *tem, uint8_t ch) in tem_getparams()
1835 tem_outch(struct tem_vt_state *tem, tem_char_t ch) in tem_outch()
1864 tem_new_line(struct tem_vt_state *tem) in tem_new_line()
1871 tem_cr(struct tem_vt_state *tem) in tem_cr()
1879 tem_lf(struct tem_vt_state *tem) in tem_lf()
1925 tem_send_data(struct tem_vt_state *tem) in tem_send_data()
1956 tem_align_cursor(struct tem_vt_state *tem) in tem_align_cursor()
1968 tem_parse(struct tem_vt_state *tem, tem_char_t ch) in tem_parse()
2126 tem_bell(struct tem_vt_state *tem __unused) in tem_bell()
2133 tem_scroll(struct tem_vt_state *tem, int start, int end, int count, in tem_scroll()
2195 tem_copy_area(struct tem_vt_state *tem, in tem_copy_area()
2276 tem_clear_chars(struct tem_vt_state *tem, int count, screen_pos_t row, in tem_clear_chars()
2301 tem_text_display(struct tem_vt_state *tem __unused, term_char_t *string, in tem_text_display()
2332 tem_image_display(struct tem_vt_state *tem, screen_pos_t s_row, in tem_image_display()
2349 tem_text_copy(struct tem_vt_state *tem __unused, in tem_text_copy()
2366 tem_text_cls(struct tem_vt_state *tem, in tem_text_cls()
2387 tem_pix_display(struct tem_vt_state *tem, in tem_pix_display()
2408 tem_pix_copy(struct tem_vt_state *tem, in tem_pix_copy()
2468 tem_pix_bit2pix(struct tem_vt_state *tem, term_char_t *c) in tem_pix_bit2pix()
2481 tem_pix_cls(struct tem_vt_state *tem, int count, in tem_pix_cls()
2512 tem_pix_clear_prom_output(struct tem_vt_state *tem) in tem_pix_clear_prom_output()
2531 tem_cls(struct tem_vt_state *tem) in tem_cls()
2561 tem_back_tab(struct tem_vt_state *tem) in tem_back_tab()
2579 tem_tab(struct tem_vt_state *tem) in tem_tab()
2597 tem_set_tab(struct tem_vt_state *tem) in tem_set_tab()
2622 tem_clear_tabs(struct tem_vt_state *tem, int action) in tem_clear_tabs()
2645 tem_mv_cursor(struct tem_vt_state *tem, int row, int col) in tem_mv_cursor()
2673 tem_reset_emulator(struct tem_vt_state *tem, bool init_color) in tem_reset_emulator()
2710 tem_reset_display(struct tem_vt_state *tem, bool clear_txt, bool init_color) in tem_reset_display()
2726 tem_shift(struct tem_vt_state *tem, int count, int direction) in tem_shift()
2770 tem_text_cursor(struct tem_vt_state *tem, short action) in tem_text_cursor()
2787 tem_pix_cursor(struct tem_vt_state *tem, short action) in tem_pix_cursor()
2829 bit_to_pix32(struct tem_vt_state *tem, in bit_to_pix32()
2842 tem_get_attr(struct tem_vt_state *tem, text_color_t *fg, in tem_get_attr()
2858 tem_get_color(struct tem_vt_state *tem, text_color_t *fg, text_color_t *bg, in tem_get_color()
2929 struct tem_vt_state *tem = (struct tem_vt_state *)tem_arg; in tem_get_colors()
2953 tem_pix_cls_range(struct tem_vt_state *tem, in tem_pix_cls_range()
2992 tem_virtual_display(struct tem_vt_state *tem, term_char_t *string, in tem_virtual_display()
3014 tem_virtual_cls(struct tem_vt_state *tem, size_t count, in tem_virtual_cls()