Lines Matching refs:col
122 int count, screen_pos_t row, screen_pos_t col,
380 tem->tvs_c_cursor.col - 1, in tem_safe_control()
545 int col; in tem_safe_chkparam() local
551 col = tem->tvs_c_cursor.col; in tem_safe_chkparam()
568 tem_safe_mv_cursor(tem, row - tem->tvs_params[0], col, in tem_safe_chkparam()
574 tem_safe_mv_cursor(tem, tem->tvs_params[0] - 1, col, in tem_safe_chkparam()
581 tem_safe_mv_cursor(tem, row + tem->tvs_params[0], col, in tem_safe_chkparam()
588 tem_safe_mv_cursor(tem, row, col + tem->tvs_params[0], in tem_safe_chkparam()
600 tem_safe_mv_cursor(tem, row, col - tem->tvs_params[0], in tem_safe_chkparam()
649 tem->tvs_c_cursor.col, in tem_safe_chkparam()
651 tem->tvs_c_cursor.col, credp, called_from); in tem_safe_chkparam()
675 tem->tvs_c_cursor.col + 1, in tem_safe_chkparam()
701 tem->tvs_c_cursor.col), in tem_safe_chkparam()
703 tem->tvs_c_cursor.col, in tem_safe_chkparam()
710 tem->tvs_c_cursor.col + 1, in tem_safe_chkparam()
774 tem->tvs_c_cursor.col, in tem_safe_chkparam()
853 tem->tvs_c_cursor.col++; in tem_safe_outch()
854 if (tem->tvs_c_cursor.col >= tems.ts_c_dimension.width) { in tem_safe_outch()
871 tem->tvs_c_cursor.col = 0; in tem_safe_cr()
910 tem_safe_mv_cursor(tem, row, tem->tvs_c_cursor.col, in tem_safe_lf()
917 tem->tvs_c_cursor.col, in tem_safe_lf()
919 tem->tvs_c_cursor.col, in tem_safe_lf()
945 tem->tvs_s_cursor.row, tem->tvs_s_cursor.col, in tem_safe_send_data()
954 tem->tvs_s_cursor.row, tem->tvs_s_cursor.col, in tem_safe_send_data()
974 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col; in tem_safe_align_cursor()
1042 tem->tvs_r_cursor.col, credp, called_from); in tem_safe_parse()
1130 tem->tvs_r_cursor.col = tem->tvs_c_cursor.col; in tem_safe_parse()
1134 tem->tvs_r_cursor.col, credp, called_from); in tem_safe_parse()
1247 screen_pos_t col, cred_t *credp, enum called_from called_from) in tem_safe_clear_chars() argument
1253 col < 0 || col >= tems.ts_c_dimension.width || in tem_safe_clear_chars()
1262 col + count > tems.ts_c_dimension.width) in tem_safe_clear_chars()
1263 count = tems.ts_c_dimension.width - col; in tem_safe_clear_chars()
1265 tem_safe_virtual_cls(tem, count, row, col); in tem_safe_clear_chars()
1270 tem_safe_callback_cls(tem, count, row, col, credp, called_from); in tem_safe_clear_chars()
1276 int count, screen_pos_t row, screen_pos_t col, in tem_safe_text_display() argument
1288 da.col = col; in tem_safe_text_display()
1309 int height, int width, screen_pos_t row, screen_pos_t col, in tem_safe_image_display() argument
1321 da.col = col; in tem_safe_image_display()
1355 int count, screen_pos_t row, screen_pos_t col, cred_t *credp, in tem_safe_text_cls() argument
1366 da.col = col; in tem_safe_text_cls()
1378 screen_pos_t row, screen_pos_t col, in tem_safe_pix_display() argument
1392 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_safe_pix_display()
1397 da.col += da.width; in tem_safe_pix_display()
1494 screen_pos_t row, screen_pos_t col, cred_t *credp, in tem_safe_pix_cls() argument
1501 col, count, tems.ts_p_offset.x, B_FALSE, credp, called_from); in tem_safe_pix_cls()
1595 tem->tvs_c_cursor.col = 0; in tem_safe_cls()
1606 tem->tvs_c_cursor.col = 0; in tem_safe_cls()
1628 if (tem->tvs_tabs[i] < tem->tvs_c_cursor.col) { in tem_safe_back_tab()
1651 if (tem->tvs_tabs[i] > tem->tvs_c_cursor.col) { in tem_safe_tab()
1670 tem->tvs_tabs[tem->tvs_ntabs] < tem->tvs_c_cursor.col) { in tem_safe_set_tab()
1671 tem->tvs_tabs[tem->tvs_ntabs++] = tem->tvs_c_cursor.col; in tem_safe_set_tab()
1675 if (tem->tvs_tabs[i] == tem->tvs_c_cursor.col) in tem_safe_set_tab()
1677 if (tem->tvs_tabs[i] > tem->tvs_c_cursor.col) { in tem_safe_set_tab()
1680 tem->tvs_tabs[i] = tem->tvs_c_cursor.col; in tem_safe_set_tab()
1700 if (tem->tvs_tabs[i] == tem->tvs_c_cursor.col) { in tem_safe_clear_tabs()
1712 tem_safe_mv_cursor(struct tem_vt_state *tem, int row, int col, in tem_safe_mv_cursor() argument
1727 if (col < 0) in tem_safe_mv_cursor()
1728 col = 0; in tem_safe_mv_cursor()
1729 if (col >= tems.ts_c_dimension.width) in tem_safe_mv_cursor()
1730 col = tems.ts_c_dimension.width - 1; in tem_safe_mv_cursor()
1734 tem->tvs_c_cursor.col = (screen_pos_t)col; in tem_safe_mv_cursor()
1750 tem->tvs_c_cursor.col = 0; in tem_safe_reset_emulator()
1752 tem->tvs_r_cursor.col = 0; in tem_safe_reset_emulator()
1754 tem->tvs_s_cursor.col = 0; in tem_safe_reset_emulator()
1816 rest_of_line = tems.ts_c_dimension.width - tem->tvs_c_cursor.col; in tem_safe_shift()
1827 tem->tvs_c_cursor.col + count, in tem_safe_shift()
1831 tem->tvs_c_cursor.col, in tem_safe_shift()
1843 tem->tvs_c_cursor.col, in tem_safe_shift()
1847 tem->tvs_c_cursor.col + count, in tem_safe_shift()
1853 tem->tvs_c_cursor.col, credp, called_from); in tem_safe_shift()
1868 ca.col = tem->tvs_c_cursor.col; in tem_safe_text_cursor()
1875 tem->tvs_c_cursor.col = ca.col; in tem_safe_text_cursor()
1890 ca.col = tem->tvs_c_cursor.col * tems.ts_font.width + in tem_safe_pix_cursor()
2189 screen_pos_t col, int ncols, int offset_x, in tem_safe_pix_cls_range() argument
2215 da.col = col * da.width + offset_x; in tem_safe_pix_cls_range()
2218 da.col += da.width; in tem_safe_pix_cls_range()
2228 int count, screen_pos_t row, screen_pos_t col, in tem_safe_virtual_display() argument
2237 col < 0 || col >= tems.ts_c_dimension.width || in tem_safe_virtual_display()
2238 col + count > tems.ts_c_dimension.width) in tem_safe_virtual_display()
2242 addr = tem->tvs_screen_buf + (row * width + col); in tem_safe_virtual_display()
2243 pfgcolor = tem->tvs_fg_buf + (row * width + col); in tem_safe_virtual_display()
2244 pbgcolor = tem->tvs_bg_buf + (row * width + col); in tem_safe_virtual_display()
2343 int count, screen_pos_t row, screen_pos_t col) in tem_safe_virtual_cls() argument
2349 tem_safe_virtual_display(tem, tems.ts_blank_line, count, row, col, in tem_safe_virtual_cls()
2387 int row, col, count, col_start; in tem_safe_unblank_screen() local
2410 for (col = 0; col < width; col++) { in tem_safe_unblank_screen()
2412 tem->tvs_fg_buf[(row * width + col) * tc_size]; in tem_safe_unblank_screen()
2414 tem->tvs_bg_buf[(row * width + col) * tc_size]; in tem_safe_unblank_screen()
2415 if (col == 0) { in tem_safe_unblank_screen()
2429 col_start = col; in tem_safe_unblank_screen()