/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_lan_hmc.c | 702 u16 width; member 819 mask = BIT(ce_info->width) - 1; in i40e_write_word() 868 if (ce_info->width < 32) in i40e_write_dword() 869 mask = BIT(ce_info->width) - 1; in i40e_write_dword() 920 if (ce_info->width < 64) in i40e_write_qword() 921 mask = BIT_ULL(ce_info->width) - 1; in i40e_write_qword() 1001 mask = BIT(ce_info->width) - 1; in i40e_read_word() 1050 if (ce_info->width < 32) in i40e_read_dword() 1051 mask = BIT(ce_info->width) - 1; in i40e_read_dword() 1103 if (ce_info->width < 64) in i40e_read_qword() [all …]
|
/illumos-gate/usr/src/cmd/fmt/ |
H A D | fmt.c | 57 int width = 72; /* Width that we will not exceed */ variable 500 if (t+s <= width) { in pack() 639 width = atoi(cp+1); in setopt() 641 width = atoi(cp); in setopt() 645 if (width <= 0 || width >= BUFSIZ-2) { in setopt() 646 fprintf(stderr, "fmt: bad width: %d\n", width); in setopt()
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 48 uint16_t width; /* Width of data */ member 113 cf_data.width = fi->fi_width; in xbi_init_font() 216 boot_fb_set_font(uint16_t height, uint16_t width) in boot_fb_set_font() argument 223 w = MIN(width, 4096); in boot_fb_set_font() 499 rect->col + rect->width >= fb_info.screen.x || in boot_fb_blit() 503 size = rect->width * fb_info.bpp; in boot_fb_blit() 594 uint32_t width, height, increment; in boot_fb_conscopy() local 616 if (soffset + increment + width >= fb_info.fb_size || in boot_fb_conscopy() 617 toffset + increment + width >= fb_info.fb_size) in boot_fb_conscopy() 620 boot_fb_cpy(dst + increment, src + increment, width); in boot_fb_conscopy() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_passthru.h | 22 uint32_t read_config(const struct pcisel *sel, long reg, int width); 23 void write_config(const struct pcisel *sel, long reg, int width, uint32_t data);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvprintf.c | 107 int dot, width, precis, sign, decpt; local 228 size = width = precis = base = n_s = argp = -1; 413 { if((width = v) < 0) 414 { width = -width; 889 n = width - precis*n_s; 893 n = width - precis; 1134 { if(width > 0 && (flags&SFFMT_ZERO)) 1139 n = width; 1143 n = width - (n + (endsp-sp)); 1343 if(flags == 0 && width <= 0) [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops2.c | 954 int length, width; local 1174 if ((width = wcwidth(wchar)) <= 0) 1175 width = (wchar <= 0177 ? 1 : 4); 1177 (outcol + width - 1 >= OCOLUMNS - value(vi_WRAPMARGIN) || 1214 width = 0; 1218 width = 0; 1222 width+=4; 1227 width += (*wp < 0200 ? 2 : 4); 1229 width += curwidth; 1234 if (outcol+(backsl?OCOLUMNS:0) - width >= OCOLUMNS - value(vi_WRAPMARGIN)) { [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/ |
H A D | README | 23 The devpost directory includes width tables for the entire LaserWriter Plus font 24 set (and a few others). The width tables assume a resolution of 720 dpi (which 27 dpost goes there automatically. The width tables were generated on a PostScript 64 3: Build the width tables and install the ASCII files in ./devpost. Width tables 68 720 dpi. As an example if you wanted to find the width of character A in 74 The fourth column in the width tables is the character code field and is only 80 4: Any new special character names you've added to the width table must appear in 84 built a width table for font XR and the PostScript name is /ExtraFont-Roman
|
/illumos-gate/usr/src/uts/intel/sys/acpi/ |
H A D | acmacros.h | 454 #define ACPI_MASK_BITS_ABOVE_32(width) ((UINT32) ACPI_MASK_BITS_ABOVE(width)) argument 455 #define ACPI_MASK_BITS_BELOW_32(width) ((UINT32) ACPI_MASK_BITS_BELOW(width)) argument 456 #define ACPI_MASK_BITS_ABOVE_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \ argument 458 ACPI_MASK_BITS_ABOVE(width)) 459 #define ACPI_MASK_BITS_BELOW_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \ argument 461 ACPI_MASK_BITS_BELOW(width))
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n7.c | 162 pad += width(j); in tbreak() 226 nw = width('1' | nrbits); in donum() 372 j = width(i); in nofill() 441 w = width(c); in storeline() 702 w = width(i); 714 hys = width((tchar)HYPHEN); 734 w = width(*linep); 746 w = width(*linep); 929 j = width(i); 1047 w = width(c);
|
H A D | n9.c | 108 w = width(c); in setline() 164 w[k] = width(i); in setov() 452 jj = width(ii); in setfield() 499 if ((j = width(rchar)) > 0) { in setfield() 517 jj = width(ii); in setfield() 532 if ((j = width(rchar)) != 0 && length > 0) { in setfield()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | tparm.c | 244 int width = 0; in parse_format() local 303 prec = width = value = 0; in parse_format() 310 width = value; in parse_format() 316 *len = (prec > width) ? prec : width; in parse_format()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | copywin.c | 60 width = (maxColDst - minColDst) + 1; in copywin() local 88 width_bytes = width * (int)sizeof (chtype); in copywin() 95 numcopied = width; in copywin()
|
H A D | print.c | 57 static int width = 60; /* width of multi-column printing */ variable 80 width = nwidth; in pr_width() 278 if ((printed > 0) && (printed + nlen + vlen + 1 > width)) { in pr_boolean() 440 if ((printed > 0) && (printed + nlen + vlen + 2 > width)) { in pr_number() 605 if ((printed > 0) && (printed + nlen + vlen + 1 > width)) { in pr_string()
|
/illumos-gate/usr/src/data/locale/tools/ |
H A D | mkwidths.py | 54 def do_width_file(width, filename): argument 73 print("%s\t%d" % (sym, width))
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpica_ec.c | 288 ec_handler(UINT32 func, ACPI_PHYSICAL_ADDRESS addr, UINT32 width, in ec_handler() argument 302 if ((width % 8) != 0) { in ec_handler() 303 cmn_err(CE_NOTE, "!ec_handler: invalid width %d", width); in ec_handler() 311 while (width > 0) { in ec_handler() 314 tw = min(width, 64); in ec_handler() 338 width -= tw; in ec_handler()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libproc/ |
H A D | libproc.c | 55 int width = 16; in pr_symtab() local 58 int width = 8; in pr_symtab() local 129 mdb_printf("%<u>%*s %*s %s%</u>\n", width, "ADDRESS", width, in pr_symtab()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 1703 int width; in print_input_choices() local 1728 width += 4; in print_input_choices() 1736 ncols = 60 / width; in print_input_choices() 1741 (++col == ncols) ? 0 : width); in print_input_choices() 1756 ljust_print(lp->str, width); in print_input_choices() 1842 int width; in slist_widest_str() local 1844 width = 0; in slist_widest_str() 1846 if ((i = strlen(slist->str)) > width) in slist_widest_str() 1847 width = i; in slist_widest_str() 1850 return (width); in slist_widest_str() [all …]
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | ctype.c | 51 int8_t width; member 199 add_width(int wc, int width) in add_width() argument 208 switch (width) { in add_width() 225 add_width_range(int start, int end, int width) in add_width_range() argument 228 add_width(start, width); in add_width_range()
|
/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 153 *width = prom_atol(buf, len); in prom_get_tem_size()
|
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_rowcol_impl.h | 39 #define MC_CS_SIZE(bam, width) \ argument 40 ((size_t)bam->bam_sizemb * MC_CS_SCALE * ((width) == 128 ? 2 : 1))
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_term.c | 629 int i, offset, width; in termp_it_pre() local 651 width = term_len(p, 2); in termp_it_pre() 655 width = term_len(p, 8); in termp_it_pre() 658 width = term_len(p, 10); in termp_it_pre() 661 width = 0; in termp_it_pre() 738 width = a2width(p, bl->norm->Bl.width) + term_len(p, 2); in termp_it_pre() 739 if (width < 0 && (size_t)(-width) > p->tcol->offset) in termp_it_pre() 740 width = -p->tcol->offset; in termp_it_pre() 741 else if (width > SHRT_MAX) in termp_it_pre() 742 width = 0; in termp_it_pre() [all …]
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.h | 132 int width; member 150 int width; member
|
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 508 int width = 0, w, nentry = fplast - fp0; in formatf() local 520 if (len > width) in formatf() 521 width = len; in formatf() 524 width = (width + 8) &~ 7; in formatf() 526 width += 2; in formatf() 527 columns = twidth / width; in formatf() 542 while (w < width) in formatf()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
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/lib/libdtrace/common/ |
H A D | dt_consume.c | 532 width ? width : 16, width ? "key" : "value", in dt_print_quanthdr() 561 width, width > 0 ? "key" : "", minwidth, "min") < 0) in dt_print_quanthdr_packed() 1182 width < 0 ? " " : "", width, c)); in dt_print_bytes() 1794 int err, width; in dt_print_datum() local 1801 int width; in dt_print_datum() member 1814 width = 0; in dt_print_datum() 1826 width += fmt->packedwidth + 1; in dt_print_datum() 1830 if (dt_print_quanthdr(dtp, fp, width) < 0) in dt_print_datum() 1834 width, aggdata, r->dtrd_action) < 0) in dt_print_datum() 1913 width = packed ? fmt->packedwidth : fmt->width; in dt_print_datum() [all …]
|