/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 968 uint32_t width, height; in gfx_fb_cons_clear() local 1156 width = da->width; in gfx_fb_cons_display() 1162 bitmap_cpy(BltBuffer, &data[y * width], width); in gfx_fb_cons_display() 1262 width = ca->width; in gfx_fb_display_cursor() 1356 width = wd; in gfx_fb_line() 1413 width = wd; in gfx_fb_bezier() 1479 int width, i; in gfx_term_drawrect() local 1622 ux2 = ux1 + png->width; in gfx_fb_putimage() 1688 da.width = fwidth; in gfx_fb_putimage() 2472 if (rp->width > 0 && rp->width <= EDID_MAX_PIXELS && in gfx_get_edid_resolution() [all …]
|
H A D | gfx_fb.h | 129 uint32_t width; member
|
H A D | module.c | 552 if (tems.ts_font.vf_width == fl->font_data->width && in build_font_module()
|
H A D | tem.c | 228 width = tems.ts_c_dimension.width; in tem_internal_init() 428 if (tems.ts_c_dimension.width != tp->width || in tems_check_videomode() 432 if (tems.ts_p_dimension.width != tp->width || in tems_check_videomode() 464 &tems.ts_c_dimension.width, height, width); in tems_setup_font() 501 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal() 523 tems.ts_c_dimension.width = (screen_size_t)width; in tems_setup_terminal() 525 tems.ts_p_dimension.width = tp->width; in tems_setup_terminal() 790 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_prom_scroll_up() 2184 if (src[width].tc_char != dst[width].tc_char || in tem_copy_width() 2521 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_pix_clear_prom_output() [all …]
|
/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 211 *width = (size_t)cols; in plat_tem_get_prom_size() 214 *width = TEM_DEFAULT_COLS; in plat_tem_get_prom_size() 247 devinit.width = cols; in plat_cons_update_mode() 256 devinit.width = gfx_fb.framebuffer_common.framebuffer_width; in plat_cons_update_mode() 275 data->width = gfx_fb.framebuffer_common.framebuffer_width; in efi_fb_devinit() 298 data->width = cols; in efi_text_devinit() 364 if (row - 1 == da->row && da->col == 0 && da->width == col) in efi_text_cons_display() 365 da->width--; in efi_text_cons_display() 378 for (i = 0; i < da->width; i++) in efi_text_cons_display()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | framebuffer.c | 584 printf(" %dx%d", rp->width, rp->height); in print_efifb() 711 rp->width, rp->height, -1, -1); in gop_default_mode()
|
/illumos-gate/usr/src/boot/forth/ |
H A D | beadm.4th | 62 : beadm_longest_title ( addr len -- width ) 83 : beadm_list ( width addr len -- ) 182 R@ swap 2R> \ addr width addr len
|
H A D | support.4th | 353 s" screen-width" getenv?
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biospci.c | 377 biospci_write_config(uint32_t locator, int offset, int width, uint32_t val) in biospci_write_config() argument 381 v86.eax = WRITE_CONFIG_BYTE + width; in biospci_write_config() 395 biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val) in biospci_read_config() argument 399 v86.eax = READ_CONFIG_BYTE + width; in biospci_read_config() 476 uint32_t value, width, offset, locator; in ficlPciBiosWriteConfig() local 481 width = ficlStackPopInteger(ficlVmGetDataStack(pVM)); in ficlPciBiosWriteConfig() 485 biospci_write_config(locator, offset, width, value); in ficlPciBiosWriteConfig() 500 uint32_t value, width, offset, locator; in ficlPciBiosReadConfig() local 504 width = ficlStackPopInteger(ficlVmGetDataStack(pVM)); in ficlPciBiosReadConfig() 509 (void) biospci_read_config(locator, offset, width, &value); in ficlPciBiosReadConfig()
|
H A D | libi386.h | 128 int biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val); 130 int biospci_write_config(uint32_t locator, int offset, int width, uint32_t val);
|
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 173 *width = TEM_DEFAULT_COLS; in plat_tem_get_prom_size() 176 *width = TEXT_COLS; in plat_tem_get_prom_size() 190 devinit.width = gfx_fb.framebuffer_common.framebuffer_width; in plat_cons_update_mode() 199 devinit.width = TEXT_COLS; in plat_cons_update_mode() 218 devinit->width = gfx_fb.framebuffer_common.framebuffer_width; in vidc_vbe_devinit() 238 devinit->width = TEXT_COLS; in vidc_text_devinit() 478 for (i = 0; i < da->width; i++) { in vidc_text_cons_display()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | printf.c | 281 width = 0; in kvprintf() 312 width = -width; in kvprintf() 335 width = n; in kvprintf() 366 if (!width) in kvprintf() 367 width = 16; in kvprintf() 372 if (width) in kvprintf() 442 width -= n; in kvprintf() 445 while (width--) in kvprintf() 450 while (width--) in kvprintf() 465 width -= n; in kvprintf() [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | multiboot.h | 121 multiboot_uint32_t width; member
|
H A D | tem_impl.h | 161 screen_size_t width; member
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | AppcertUtil.pm | 726 my $width = 0; 731 $width = $len if ($len > $width); 733 $width += 2; # pad 2 spaces for each column. 735 if ($width > (80 - length($indent))) { 736 $width = 80 - length($indent); 740 my $columns = int((80 - length($indent))/$width); 753 $space = $width - length($item);
|
/illumos-gate/usr/src/cmd/adbgen/common/ |
H A D | adbsub.c | 87 int rcount, width, sum, i; in do_fmt() local 106 width = 8; in do_fmt() 110 width = 8; in do_fmt() 112 width = 4; in do_fmt() 124 width = 4; in do_fmt() 131 width = 2; in do_fmt() 140 width = 1; in do_fmt() 148 width = 0; in do_fmt() 151 width = -1; in do_fmt() 162 width = 0; in do_fmt() [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | wdwmsg.sh | 47 --width=200 \
|
/illumos-gate/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 392 int width; in print_control_line() local 416 width = col_sz[col_type]; in print_control_line() 420 width > 0 ? width : 1, in print_control_line()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk2.c | 904 int width = 0; in adjust_buf() local 912 width = *fmtstr-'0'; in adjust_buf() 914 width = width * 10 + *fmtstr - '0'; in adjust_buf() 929 if (width && slen < width) in adjust_buf() 930 slen = width; in adjust_buf() 933 width = slen+1; in adjust_buf() 935 if (width == 0) in adjust_buf() 936 width = NUMSIZE; in adjust_buf() 938 if (*offset+ width > *bp+ *len) { in adjust_buf() 940 *len += width+1; in adjust_buf()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | interactive.c | 713 uint_t len, w, width = 0, columns, lines; in formatf() local 767 if (len > width) in formatf() 768 width = len; in formatf() 770 width += 2; in formatf() 771 columns = 80 / width; in formatf() 785 while (w < width) { in formatf()
|
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 81 size_t width; member 192 size_t width = col_info->width; in print_hdr() local 236 col[i].width = 0; in init_hdr_cols() 245 col[i].width = wcsw; in init_hdr_cols() 247 col[i].width = sz; in init_hdr_cols() 249 col[i].width = strlen(name); in init_hdr_cols() 264 len[i] = hdr->cols[i].width; in count_widths() 333 hdr->cols[i].width = len[i]; in count_widths() 400 hdr->cols[3].width, buf, in print_be_nodes() 433 if (hdr->cols[1].width != 0) in print_be_snapshots() [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 57 gc_image->width = width; 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 101 gc_image->width = width; 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 | bhyvegc.h | 40 int width; 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 | pci_fbuf.c | 90 uint16_t width; member 161 if (!sc->gc_image->vgamode && sc->memregs.width == 0 && in pci_fbuf_write() 325 sc->memregs.width = atoi(value); in pci_fbuf_parse_config() 326 if (sc->memregs.width > COLS_MAX) { in pci_fbuf_parse_config() 327 EPRINTLN("fbuf: width %d too large", sc->memregs.width); in pci_fbuf_parse_config() 330 if (sc->memregs.width == 0) in pci_fbuf_parse_config() 331 sc->memregs.width = 1920; in pci_fbuf_parse_config() 370 if (sc->gc_width != sc->memregs.width || in pci_fbuf_render() 372 bhyvegc_resize(gc, sc->memregs.width, sc->memregs.height); in pci_fbuf_render() 373 sc->gc_width = sc->memregs.width; in pci_fbuf_render() [all …]
|