Lines Matching refs:height

219 	size_t size, width, height;  in tem_internal_init()  local
229 height = tems.ts_c_dimension.height; in tem_internal_init()
252 size = width * height * sizeof (term_char_t); in tem_internal_init()
254 tem_virtual_cls(ptem, width * height, 0, 0); in tem_internal_init()
344 size_t height = 0; in tem_info_init() local
394 plat_tem_get_prom_size(&height, &width); in tem_info_init()
399 tems_setup_terminal(&temargs, height, width); in tem_info_init()
429 tems.ts_c_dimension.height != tp->height) in tems_check_videomode()
433 tems.ts_p_dimension.height != tp->height) in tems_check_videomode()
446 tems.ts_p_dimension.height == 0) in env_screen_nounset()
452 tems_setup_font(screen_size_t height, screen_size_t width) in tems_setup_font() argument
463 font_data = set_font(&tems.ts_c_dimension.height, in tems_setup_font()
464 &tems.ts_c_dimension.width, height, width); in tems_setup_font()
487 tems_setup_terminal(struct vis_devinit *tp, size_t height, size_t width) in tems_setup_terminal() argument
500 tems.ts_p_dimension.height = 0; in tems_setup_terminal()
502 tems.ts_c_dimension.height = tp->height; in tems_setup_terminal()
505 tems_setup_font(16 * tp->height + BORDER_PIXELS, in tems_setup_terminal()
520 height = TEM_DEFAULT_ROWS; in tems_setup_terminal()
522 tems.ts_c_dimension.height = (screen_size_t)height; in tems_setup_terminal()
524 tems.ts_p_dimension.height = tp->height; in tems_setup_terminal()
528 tems_setup_font(tp->height, tp->width); in tems_setup_terminal()
530 snprintf(env, sizeof (env), "%d", tems.ts_p_dimension.height); in tems_setup_terminal()
537 tems.ts_p_offset.y = (tems.ts_p_dimension.height - in tems_setup_terminal()
538 (tems.ts_c_dimension.height * tems.ts_font.vf_height)) / 2; in tems_setup_terminal()
551 snprintf(env, sizeof (env), "%d", tems.ts_c_dimension.height); in tems_setup_terminal()
585 size_t height = 0; in tems_modechange_callback() local
620 plat_tem_get_prom_size(&height, &width); in tems_modechange_callback()
624 tems_setup_terminal(devinit, height, width); in tems_modechange_callback()
728 *r = (uint16_t)tems.ts_c_dimension.height; in tem_get_size()
731 *y = (uint16_t)tems.ts_p_dimension.height; in tem_get_size()
779 ma.e_row = tems.ts_p_dimension.height - 1; in tem_prom_scroll_up()
820 } else if (tem_row >= (tems.ts_c_dimension.height - 1)) { in tem_adjust_row()
826 (tems.ts_c_dimension.height - 1); in tem_adjust_row()
828 tem_row = tems.ts_c_dimension.height - 1; in tem_adjust_row()
1603 row < tems.ts_c_dimension.height; in tem_chkparam()
1628 row < tems.ts_c_dimension.height; in tem_chkparam()
1671 tems.ts_c_dimension.height - 1, in tem_chkparam()
1680 tems.ts_c_dimension.height - 1, in tem_chkparam()
1693 tems.ts_c_dimension.height - 1, in tem_chkparam()
1701 tems.ts_c_dimension.height - 1, in tem_chkparam()
1892 if (row >= tems.ts_c_dimension.height) { in tem_lf()
1895 tems.ts_c_dimension.height - 1, in tem_lf()
1897 row = tems.ts_c_dimension.height - in tem_lf()
2074 if (tem->tvs_nscroll > tems.ts_c_dimension.height) in tem_parse()
2075 tem->tvs_nscroll = tems.ts_c_dimension.height; in tem_parse()
2211 s_row >= tems.ts_c_dimension.height || in tem_copy_area()
2212 e_row >= tems.ts_c_dimension.height || in tem_copy_area()
2213 t_row >= tems.ts_c_dimension.height) in tem_copy_area()
2221 if (t_row + rows > tems.ts_c_dimension.height || in tem_copy_area()
2279 if (row < 0 || row >= tems.ts_c_dimension.height || in tem_clear_chars()
2396 da.height = tems.ts_font.vf_height; in tem_pix_display()
2397 da.row = (row * da.height) + tems.ts_p_offset.y; in tem_pix_display()
2514 int nrows, ncols, width, height, offset; in tem_pix_clear_prom_output() local
2517 height = tems.ts_font.vf_height; in tem_pix_clear_prom_output()
2518 offset = tems.ts_p_offset.y % height; in tem_pix_clear_prom_output()
2520 nrows = tems.ts_p_offset.y / height; in tem_pix_clear_prom_output()
2540 for (row = 0; row < tems.ts_c_dimension.height; row++) { in tem_cls()
2654 if (row >= tems.ts_c_dimension.height) in tem_mv_cursor()
2655 row = tems.ts_c_dimension.height - 1; in tem_mv_cursor()
2799 ca.height = tems.ts_font.vf_height; in tem_pix_cursor()
2965 row_add = tems.ts_c_dimension.height - 1; in tem_pix_cls_range()
2968 da.height = tems.ts_font.vf_height; in tem_pix_cls_range()
2979 da.row = (row + row_add) * da.height + offset_y; in tem_pix_cls_range()
3001 if (row < 0 || row >= tems.ts_c_dimension.height || in tem_virtual_display()