/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 52 static unsigned int width = 8, wbytes, height = 16; variable 56 unsigned int height; member 275 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph() 277 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph() 284 gl->g_data = xmalloc(wbytes * height); in add_glyph() 285 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph() 384 uint8_t bytes[wbytes * height], bytes_r[wbytes * height]; in parse_bdf() 398 for (i = 0; i < height; i++) { in parse_bdf() 444 height = atoi(ln + 10); in parse_hex() 453 bytes = xmalloc(wbytes * height); in parse_hex() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | bhyvegc.c | 48 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument 57 gc_image->height = height; in bhyvegc_init() 62 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init() 91 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument 101 gc_image->height = height; in bhyvegc_resize() 103 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize() 106 memset(gc_image->data, 0, width * height * in bhyvegc_resize()
|
H A D | pci_fbuf.c | 90 uint16_t height; member 161 sc->memregs.height == 0) { in pci_fbuf_write() 167 sc->memregs.height != 0) { in pci_fbuf_write() 329 sc->memregs.height = strtol(value, NULL, 10); in pci_fbuf_parse_config() 332 sc->memregs.height > ROWS_MAX) { in pci_fbuf_parse_config() 337 sc->memregs.height < ROWS_MIN) { in pci_fbuf_parse_config() 368 sc->gc_height != sc->memregs.height) { in pci_fbuf_render() 369 bhyvegc_resize(gc, sc->memregs.width, sc->memregs.height); in pci_fbuf_render() 371 sc->gc_height = sc->memregs.height; in pci_fbuf_render() 414 sc->memregs.height = ROWS_DEFAULT; in pci_fbuf_init() [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 | 457 c->rc_sinfo.rsi_height = htons(gci->height); in rfb_handshake_init_message() 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() 936 translate_pixels(c, gci, 0, 0, gci->width, gci->height); in rfb_send_all() 942 c->rc_zstream.avail_in = gci->width * gci->height * in rfb_send_all() 977 nwrite = gci->width * gci->height * sizeof (uint32_t); in rfb_send_all() 1007 c->rc_height != gci->height) { in rfb_send_screen() 1009 c->rc_height = gci->height; 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 489 plat_tem_get_prom_size(&height, &width); in tem_info_init() 494 tems_setup_terminal(&temargs, height, width); in tem_info_init() 526 tems.ts_c_dimension.height != tp->height) in tems_check_videomode() 530 tems.ts_p_dimension.height != tp->height) in tems_check_videomode() 538 tems_setup_font(screen_size_t height, screen_size_t width) in tems_setup_font() argument 550 font_data = set_font(&tems.ts_c_dimension.height, in tems_setup_font() [all …]
|
H A D | tem_safe.c | 881 0x1b, tems.ts_c_dimension.height, in tem_safe_window() 1021 row < tems.ts_c_dimension.height; in tem_safe_chkparam() 1049 row < tems.ts_c_dimension.height; in tem_safe_chkparam() 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() 1347 if (row >= tems.ts_c_dimension.height) { in tem_safe_lf() 1350 tems.ts_c_dimension.height - 1, in tem_safe_lf() 1353 row = tems.ts_c_dimension.height - in tem_safe_lf() [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() 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() [all …]
|
H A D | gfx_fb.c | 968 uint32_t width, height; in gfx_fb_cons_clear() local 971 height = gfx_fb.framebuffer_common.framebuffer_height; in gfx_fb_cons_clear() 974 0, 0, width, height, 0); in gfx_fb_cons_clear() 987 uint32_t width, height, bytes; in gfx_fb_cons_copy() local 993 height = ma->e_row - ma->s_row + 1; in gfx_fb_cons_copy() 1003 if (sy + height > gfx_fb.framebuffer_common.framebuffer_height) in gfx_fb_cons_copy() 1004 height = gfx_fb.framebuffer_common.framebuffer_height - sy; in gfx_fb_cons_copy() 1009 if (dy + height > gfx_fb.framebuffer_common.framebuffer_height) in gfx_fb_cons_copy() 1010 height = gfx_fb.framebuffer_common.framebuffer_height - dy; in gfx_fb_cons_copy() 1012 if (width == 0 || height == 0) in gfx_fb_cons_copy() [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 305 height = softc->console->fb.screen.y; in bitmap_copy_fb() 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() 342 for (i = height - 1; i >= 0; i--) { in bitmap_cons_copy() 416 da->row + da->height > console->fb.screen.y) in bitmap_cons_display() 426 for (i = 0; i < da->height; i++) { in bitmap_cons_display() [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 | 207 plat_tem_get_prom_size(size_t *height, size_t *width) in plat_tem_get_prom_size() argument 213 *height = (size_t)rows; in plat_tem_get_prom_size() 216 *height = TEM_DEFAULT_ROWS; in plat_tem_get_prom_size() 251 devinit.height = rows; in plat_cons_update_mode() 260 devinit.height = gfx_fb.framebuffer_common.framebuffer_height; in plat_cons_update_mode() 279 data->height = gfx_fb.framebuffer_common.framebuffer_height; in efi_fb_devinit() 302 data->height = rows; in efi_text_devinit()
|
/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/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/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/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 369 encryption=$(zenity --list --title="$title" --height=320 \ 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 \ [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()
|