/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 56 unsigned int height; member 384 uint8_t bytes[wbytes * height], bytes_r[wbytes * height]; in parse_bdf() 527 if (bbox.height == 0) in parse_bdf_header() 528 bbox.height = height; in parse_bdf_header() 529 height = bbox.height; in parse_bdf_header() 688 uint8_t height; member 709 fh.height = height; in write_fnt() 755 width, height) < 0) in write_fnt_source() 766 width, height) < 0) in write_fnt_source() 824 width, height) < 0) in write_fnt_source() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | bhyvegc.c | 49 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument 58 gc_image->height = height; in bhyvegc_init() 63 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init() 92 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument 102 gc_image->height = height; in bhyvegc_resize() 104 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize() 107 memset(gc_image->data, 0, width * height * in bhyvegc_resize()
|
H A D | pci_fbuf.c | 91 uint16_t height; member 162 sc->memregs.height == 0) { in pci_fbuf_write() 168 sc->memregs.height != 0) { in pci_fbuf_write() 336 sc->memregs.height = atoi(value); in pci_fbuf_parse_config() 337 if (sc->memregs.height > ROWS_MAX) { in pci_fbuf_parse_config() 339 sc->memregs.height); in pci_fbuf_parse_config() 342 if (sc->memregs.height == 0) in pci_fbuf_parse_config() 343 sc->memregs.height = 1080; in pci_fbuf_parse_config() 371 sc->gc_height != sc->memregs.height) { in pci_fbuf_render() 374 sc->gc_height = sc->memregs.height; in pci_fbuf_render() [all …]
|
H A D | bhyvegc.h | 41 int height; member 48 struct bhyvegc *bhyvegc_init(int width, int height, void *fbaddr); 50 void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
|
H A D | rfb.c | 459 c->rc_height = gci->height; in rfb_handshake_init_message() 811 h = gci->height; in translate_pixels() 813 VERIFY3S(gci->height, ==, c->rc_gci.height); in translate_pixels() 932 rect.rr_height = htons(gci->height); in rfb_send_all() 1007 c->rc_height != gci->height) { in rfb_send_screen() 1009 c->rc_height = gci->height; in rfb_send_screen() 1031 c->rc_gci.height != c->rc_height)) { in rfb_send_screen() 1039 c->rc_gci.height = c->rc_height; in rfb_send_screen() 1055 rem_y = gci->height & RFB_PIXCELL_MASK; in rfb_send_screen() 1065 for (y = 0; y < gci->height; y++) { in rfb_send_screen() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem.c | 212 unsigned i, j, width, height; in tem_internal_init() local 232 height = tems.ts_c_dimension.height; in tem_internal_init() 233 ptem->tvs_screen_history_size = height; in tem_internal_init() 404 size_t height = 0; in tem_info_init() local 526 tems.ts_c_dimension.height != tp->height) in tems_check_videomode() 530 tems.ts_p_dimension.height != tp->height) in tems_check_videomode() 586 tems.ts_p_dimension.height = 0; in tems_setup_terminal() 588 tems.ts_c_dimension.height = tp->height; in tems_setup_terminal() 603 height = TEM_DEFAULT_ROWS; in tems_setup_terminal() 605 tems.ts_c_dimension.height = (screen_size_t)height; in tems_setup_terminal() [all …]
|
H A D | tem_safe.c | 1096 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 1106 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 1121 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 1130 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 1353 row = tems.ts_c_dimension.height - in tem_safe_lf() 1837 da.height = (screen_size_t)height; 2073 height = tems.ts_font.vf_height; in tem_safe_pix_clear_prom_output() 2076 nrows = tems.ts_p_offset.y / height; in tem_safe_pix_clear_prom_output() 2097 int nrows, ncols, width, height; in tem_safe_pix_clear_entire_screen() local 2113 height = tems.ts_font.vf_height; in tem_safe_pix_clear_entire_screen() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | tem.c | 219 size_t size, width, height; in tem_internal_init() local 229 height = tems.ts_c_dimension.height; in tem_internal_init() 344 size_t height = 0; in tem_info_init() local 429 tems.ts_c_dimension.height != tp->height) in tems_check_videomode() 433 tems.ts_p_dimension.height != tp->height) in tems_check_videomode() 500 tems.ts_p_dimension.height = 0; in tems_setup_terminal() 502 tems.ts_c_dimension.height = tp->height; 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() [all …]
|
H A D | gfx_fb.c | 968 uint32_t width, height; in gfx_fb_cons_clear() local 1037 sy += height; in gfx_fb_cons_copy() 1038 dy += height; in gfx_fb_cons_copy() 1042 while (height-- > 0) { in gfx_fb_cons_copy() 1155 height = da->height; in gfx_fb_cons_display() 1263 height = ca->height; in gfx_fb_display_cursor() 1623 uy2 = uy1 + png->height; in gfx_fb_putimage() 1689 da.height = fheight; in gfx_fb_putimage() 2473 rp->height > 0 && rp->height <= EDID_MAX_LINES) in gfx_get_edid_resolution() 2497 rp->height = rp->height * 10 / 16; in gfx_get_edid_resolution() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_bitmap.c | 285 data->height = console->fb.screen.y; in bitmap_devinit() 302 uint32_t i, pitch, height; in bitmap_copy_fb() local 307 for (i = 0; i < height; i++) { in bitmap_copy_fb() 317 uint32_t width, height, pitch; in bitmap_cons_copy() local 328 height = ma->e_row - ma->s_row + 1; in bitmap_cons_copy() 332 for (i = 0; i < height; i++) { in bitmap_cons_copy() 426 for (i = 0; i < da->height; i++) { in bitmap_cons_display() 540 for (i = 0; i < ca->height; i++) { in bitmap_display_cursor() 557 for (i = 0; i < ca->height; i++) { in bitmap_display_cursor() 578 for (i = 0; i < ca->height; i++) { in bitmap_display_cursor() [all …]
|
/illumos-gate/usr/src/common/font/ |
H A D | font.c | 236 unsigned height = h; in set_font() local 260 *rows = (height - BORDER_PIXELS) / font->height; in set_font() 277 if ((((*rows * font->height) + BORDER_PIXELS) <= height) && in set_font() 288 *rows = (height - BORDER_PIXELS) / font->height; in set_font() 308 *rows = (height - BORDER_PIXELS) / font->height; in set_font()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | visual_io.h | 248 screen_size_t height; /* Height of data */ member 267 screen_size_t height; /* Height of cursor */ member 308 screen_size_t height; /* Height of the device */ member
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | gfx_fb.c | 448 if (png->width > UINT16_MAX || png->height > UINT16_MAX) { in gfx_fb_putimage() 454 if (png->width < 1 || png->height < 1) { in gfx_fb_putimage() 468 uy2 = uy1 + png->height; in gfx_fb_putimage() 472 ux2 = ux1 + (png->width * (uy2 - uy1)) / png->height; in gfx_fb_putimage() 475 uy2 = uy1 + (png->height * (ux2 - ux1)) / png->width; in gfx_fb_putimage() 491 if (fwidth == png->width && fheight == png->height) in gfx_fb_putimage() 526 png->width, png->height, fwidth, fheight, ux1, uy1); in gfx_fb_putimage() 552 const uint32_t hcstep = ((png->height - 1) << 16) / (fheight - 1); in gfx_fb_putimage() 735 uint32_t width, uint32_t height, uint8_t *data) in gfx_fb_cons_display() argument 743 col + width > fb.fb_width || row + height > fb.fb_height) in gfx_fb_cons_display() [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_fb.c | 134 prom_get_tem_size(size_t *height, size_t *width) in prom_get_tem_size() argument 147 *height = prom_atol(buf, len); in prom_get_tem_size()
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 49 uint16_t height; /* Height of data */ member 114 cf_data.height = fi->fi_height; in xbi_init_font() 216 boot_fb_set_font(uint16_t height, uint16_t width) in boot_fb_set_font() argument 222 h = MIN(height, 4096); in boot_fb_set_font() 500 rect->row + rect->height >= fb_info.screen.y) in boot_fb_blit() 510 for (i = 0; i < rect->height; i++) { in boot_fb_blit() 594 uint32_t width, height, increment; in boot_fb_conscopy() local 610 height = c_copy->e_row - c_copy->s_row + 1; in boot_fb_conscopy() 612 for (i = 0; i < height; i++) { in boot_fb_conscopy() 822 display.height = boot_fb_font.vf_height; in boot_fb_putchar()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | vbe.c | 699 uint_t width, height; in vbe_modelist() local 720 printf(" %dx%d", rp->width, rp->height); in vbe_modelist() 730 if (vbe_get_flatpanel(&width, &height)) in vbe_modelist() 731 printf(": Panel %dx%d\n", width, height); in vbe_modelist() 863 uint_t width, height; in vbe_default_mode() local 871 rp->width, rp->height, -1, -1); in vbe_default_mode() 879 vbe_get_flatpanel(&width, &height)) { in vbe_default_mode() 880 modenum = vbe_find_mode_xydm(width, height, -1, -1); in vbe_default_mode()
|
H A D | vidconsole.c | 169 plat_tem_get_prom_size(size_t *height, size_t *width) in plat_tem_get_prom_size() argument 172 *height = TEM_DEFAULT_ROWS; in plat_tem_get_prom_size() 175 *height = TEXT_ROWS; in plat_tem_get_prom_size() 191 devinit.height = gfx_fb.framebuffer_common.framebuffer_height; in plat_cons_update_mode() 200 devinit.height = TEXT_ROWS; in plat_cons_update_mode() 219 devinit->height = gfx_fb.framebuffer_common.framebuffer_height; in vidc_vbe_devinit() 239 devinit->height = TEXT_ROWS; in vidc_text_devinit()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | graphics.c | 370 unsigned i, len, idx, colors, x, y, width, height; in read_image() local 410 height = c - '0'; in read_image() 413 height = height * 10 + c - '0'; in read_image() 493 while (y < height) { in read_image()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efi_console.c | 204 plat_tem_get_prom_size(size_t *height, size_t *width) in plat_tem_get_prom_size() argument 210 *height = (size_t)rows; in plat_tem_get_prom_size() 213 *height = TEM_DEFAULT_ROWS; in plat_tem_get_prom_size() 248 devinit.height = rows; in plat_cons_update_mode() 257 devinit.height = gfx_fb.framebuffer_common.framebuffer_height; in plat_cons_update_mode() 276 data->height = gfx_fb.framebuffer_common.framebuffer_height; in efi_fb_devinit() 299 data->height = rows; in efi_text_devinit()
|
/illumos-gate/usr/src/uts/sparc/io/ |
H A D | consplat.c | 241 plat_tem_get_prom_size(size_t *height, size_t *width) in plat_tem_get_prom_size() argument 243 prom_get_tem_size(height, width); in plat_tem_get_prom_size()
|
/illumos-gate/usr/src/common/vga/ |
H A D | vgasubr.c | 92 vga_get_hardware_settings(vgaregmap_t reg, int *width, int *height) in vga_get_hardware_settings() argument 95 *height = GET_VERT_END(reg)+1; in vga_get_hardware_settings() 96 if (GET_VERT_X2(reg)) *height *= 2; in vga_get_hardware_settings()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_ps.c | 83 size_t height; /* page height (AFM units */ member 613 p->ps->height = (size_t)pagey; in pspdf_alloc() 811 (size_t)AFM2PNT(p, p->ps->height)); in ps_end() 850 size_t width, height; in ps_begin() local 894 height = AFM2PNT(p, p->ps->height); in ps_begin() 902 p->ps->medianame, width, height); in ps_begin() 928 width, height); in ps_begin()
|
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 532 --height=300 \ 944 --height=250 \ 969 --height=200 \ 1146 --height=300 \ 1231 --height=300 \ 1296 --height=300 \ 1354 --height=250 \ 1403 --height=300 \ 1470 --height=400 \ 1587 --height=300 \ [all …]
|
/illumos-gate/usr/src/common/pnglite/ |
H A D | pnglite.c | 127 png->height = get_ul(ihdr+8); in png_read_ihdr() 151 printf("\theight:\t\t%d\n", png->height); in png_print_info() 211 uint64_t size = png->width * png->height * png->bpp; in png_open() 361 png->png_datalen = png->width * png->height * in png_process_chunk() 362 png->bpp + png->height; in png_process_chunk()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | copywin.c | 59 int height = (maxRowDst - minRowDst) + 1, in copywin() local 91 for (ySrc = minRowSrc, yDst = minRowDst; height-- > 0; ySrc++, yDst++) { in copywin()
|