Lines Matching refs:col

119 			int count, screen_pos_t row, screen_pos_t col);
138 int count, screen_pos_t row, screen_pos_t col);
753 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.col); in tem_save_state()
757 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.col * in tem_save_state()
846 uint32_t col = 0; in tem_pix_align() local
856 plat_tem_get_prom_pos(&row, &col); in tem_pix_align()
871 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col = 0; in tem_pix_align()
1123 tem->tvs_c_cursor.col - 1); in tem_control()
1516 int col; in tem_chkparam() local
1519 col = tem->tvs_c_cursor.col; in tem_chkparam()
1535 tem_mv_cursor(tem, row - tem->tvs_params[0], col); in tem_chkparam()
1540 tem_mv_cursor(tem, tem->tvs_params[0] - 1, col); in tem_chkparam()
1546 tem_mv_cursor(tem, row + tem->tvs_params[0], col); in tem_chkparam()
1552 tem_mv_cursor(tem, row, col + tem->tvs_params[0]); in tem_chkparam()
1562 tem_mv_cursor(tem, row, col - tem->tvs_params[0]); in tem_chkparam()
1605 tem->tvs_c_cursor.col, in tem_chkparam()
1607 tem->tvs_c_cursor.col); in tem_chkparam()
1629 tem->tvs_c_cursor.col + 1, in tem_chkparam()
1653 tem->tvs_c_cursor.col), in tem_chkparam()
1655 tem->tvs_c_cursor.col); in tem_chkparam()
1661 tem->tvs_c_cursor.col + 1, in tem_chkparam()
1718 tem->tvs_c_cursor.col); in tem_chkparam()
1861 tem->tvs_c_cursor.col++; in tem_outch()
1862 if (tem->tvs_c_cursor.col >= tems.ts_c_dimension.width) { in tem_outch()
1864 tem->tvs_c_cursor.col--; in tem_outch()
1881 tem->tvs_c_cursor.col = 0; in tem_cr()
1917 tem_mv_cursor(tem, row, tem->tvs_c_cursor.col); in tem_lf()
1923 tem->tvs_c_cursor.col, in tem_lf()
1925 tem->tvs_c_cursor.col); in tem_lf()
1941 tem->tvs_s_cursor.row, tem->tvs_s_cursor.col); in tem_send_data()
1949 tem->tvs_s_cursor.row, tem->tvs_s_cursor.col); in tem_send_data()
1967 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col; in tem_align_cursor()
2031 tem->tvs_r_cursor.col); in tem_parse()
2118 tem->tvs_r_cursor.col = tem->tvs_c_cursor.col; in tem_parse()
2122 tem->tvs_r_cursor.col); in tem_parse()
2285 screen_pos_t col) in tem_clear_chars() argument
2288 col < 0 || col >= tems.ts_c_dimension.width || in tem_clear_chars()
2297 col + count > tems.ts_c_dimension.width) in tem_clear_chars()
2298 count = tems.ts_c_dimension.width - col; in tem_clear_chars()
2300 tem_virtual_cls(tem, count, row, col); in tem_clear_chars()
2305 tem_callback_cls(tem, count, row, col); in tem_clear_chars()
2310 int count, screen_pos_t row, screen_pos_t col) in tem_text_display() argument
2323 da.col = col; in tem_text_display()
2331 da.col++; in tem_text_display()
2375 int count, screen_pos_t row, screen_pos_t col) in tem_text_cls() argument
2386 col + count > tems.ts_c_dimension.width) in tem_text_cls()
2387 count = tems.ts_c_dimension.width - col; in tem_text_cls()
2390 tem_text_display(tem, &c, 1, row, col++); in tem_text_cls()
2397 screen_pos_t row, screen_pos_t col) in tem_pix_display() argument
2406 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_pix_display()
2411 da.col += da.width; in tem_pix_display()
2490 screen_pos_t row, screen_pos_t col) in tem_pix_cls() argument
2493 col, count, tems.ts_p_offset.x, false); in tem_pix_cls()
2564 tem->tvs_c_cursor.col = 0; in tem_cls()
2577 if (tem->tvs_tabs[i] < tem->tvs_c_cursor.col) { in tem_back_tab()
2595 if (tem->tvs_tabs[i] > tem->tvs_c_cursor.col) { in tem_tab()
2612 tem->tvs_tabs[tem->tvs_ntabs] < tem->tvs_c_cursor.col) { in tem_set_tab()
2613 tem->tvs_tabs[tem->tvs_ntabs++] = tem->tvs_c_cursor.col; in tem_set_tab()
2617 if (tem->tvs_tabs[i] == tem->tvs_c_cursor.col) in tem_set_tab()
2619 if (tem->tvs_tabs[i] > tem->tvs_c_cursor.col) { in tem_set_tab()
2622 tem->tvs_tabs[i] = tem->tvs_c_cursor.col; in tem_set_tab()
2641 if (tem->tvs_tabs[i] == tem->tvs_c_cursor.col) { in tem_clear_tabs()
2653 tem_mv_cursor(struct tem_vt_state *tem, int row, int col) in tem_mv_cursor() argument
2664 if (col < 0) in tem_mv_cursor()
2665 col = 0; in tem_mv_cursor()
2666 if (col >= tems.ts_c_dimension.width) { in tem_mv_cursor()
2668 col = tems.ts_c_dimension.width - 1; in tem_mv_cursor()
2675 tem->tvs_c_cursor.col = (screen_pos_t)col; in tem_mv_cursor()
2686 tem->tvs_c_cursor.col = 0; in tem_reset_emulator()
2688 tem->tvs_r_cursor.col = 0; in tem_reset_emulator()
2690 tem->tvs_s_cursor.col = 0; in tem_reset_emulator()
2738 rest_of_line = tems.ts_c_dimension.width - tem->tvs_c_cursor.col; in tem_shift()
2749 tem->tvs_c_cursor.col + count, in tem_shift()
2753 tem->tvs_c_cursor.col, in tem_shift()
2763 tem->tvs_c_cursor.col, in tem_shift()
2767 tem->tvs_c_cursor.col + count, in tem_shift()
2772 tem->tvs_c_cursor.col); in tem_shift()
2783 ca.col = tem->tvs_c_cursor.col; in tem_text_cursor()
2790 tem->tvs_c_cursor.col = ca.col; in tem_text_cursor()
2804 ca.col = tem->tvs_c_cursor.col * tems.ts_font.vf_width + in tem_pix_cursor()
2823 tem->tvs_c_cursor.col = 0; in tem_pix_cursor()
2829 if (ca.col != 0) { in tem_pix_cursor()
2830 tem->tvs_c_cursor.col = (ca.col - tems.ts_p_offset.x) / in tem_pix_cursor()
2963 screen_pos_t col, int ncols, int offset_x, in tem_pix_cls_range() argument
2988 da.col = col * da.width + offset_x; in tem_pix_cls_range()
2991 da.col += da.width; in tem_pix_cls_range()
3001 size_t count, screen_pos_t row, screen_pos_t col) in tem_virtual_display() argument
3010 col < 0 || col >= tems.ts_c_dimension.width || in tem_virtual_display()
3011 col + count > (size_t)tems.ts_c_dimension.width) in tem_virtual_display()
3015 addr = tem->tvs_screen_buf + (row * width + col); in tem_virtual_display()
3023 screen_pos_t row, screen_pos_t col) in tem_virtual_cls() argument
3034 tem_virtual_display(tem, &c, 1, row, col); in tem_virtual_cls()
3035 col++; in tem_virtual_cls()