/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 175 int width, prec; in _doprnt() local 353 if (width < 0) { in _doprnt() 354 width = -width; in _doprnt() 376 position = width; in _doprnt() 377 width = 0; in _doprnt() 426 width = num; in _doprnt() 1004 if (width <= k) in _doprnt() 1007 count += width; in _doprnt() 1016 lzero = width - k; in _doprnt() 1019 lzero += width - k; in _doprnt() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_ps.c | 552 p->width = ps_width; in pspdf_alloc() 630 lastwidth = p->ps->width; in ps_setwidth() 632 p->ps->width += width; in ps_setwidth() 634 p->ps->width = width ? (size_t)width : p->ps->lastwidth; in ps_setwidth() 635 else if (p->ps->width > (size_t)width) in ps_setwidth() 636 p->ps->width -= width; in ps_setwidth() 638 p->ps->width = 0; in ps_setwidth() 810 (size_t)AFM2PNT(p, p->ps->width), in ps_end() 850 size_t width, height; in ps_begin() local 893 width = AFM2PNT(p, p->ps->width); in ps_begin() [all …]
|
H A D | tbl_term.c | 200 tsz += tp->tbl.cols[ic].width + in term_tbl() 804 sz = (*tp->width)(tp, c); in tbl_direct_border() 815 size_t len, padl, padr, width; in tbl_literal() local 820 width = col->width; in tbl_literal() 824 width += tp->tbl.cols[++ic].width + 3; in tbl_literal() 826 padr = width > len ? width - len : 0; in tbl_literal() 902 if (padl + totsz > col->width) in tbl_number() 903 padl = col->width - totsz; in tbl_number() 908 } else if (col->width > totsz) in tbl_number() 909 padl = (col->width - totsz) / 2; in tbl_number() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | slk.c | 333 int i, width, code = ERR; in slk_wset() local 350 for (wp = wcs, width = 0; *label != '\0'; label += i, wp += cc._n) { in slk_wset() 358 width = ww; in slk_wset() 367 if (width == 8) { in slk_wset() 373 (void) strncat(mbs, spcs, (8 - width)); in slk_wset() 374 *(mbs + strlen(tmbs) + (8 - width)) = '\0'; in slk_wset() 377 left1 = (8 - width) / 2; in slk_wset() 380 left2 = 8 - width - left1; in slk_wset() 385 left1 = 8 - width; in slk_wset()
|
H A D | waddwchn.c | 52 int x, width; in wadd_wchnstr() local 58 x += width, ++cp) in wadd_wchnstr() 59 width = __m_cc_replace(w, w->_cury, x, cp, 0); in wadd_wchnstr()
|
H A D | wdelch.c | 59 int next, width, y, x; in wdelch() local 68 width = __m_cc_width(&w->_line[y][x]); in wdelch() 78 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in wdelch()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lfind.c | 55 size_t width, int (*compar)()) in lfind() argument 59 char *next = base + *nelp * width; /* End of table */ in lfind() 61 for (; base < next; base += width) in lfind()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 152 int width; /* source line display width */ in display() local 205 width = COLS - selectlen - numlen - 2; in display() 207 width -= subsystemlen + booklen + 2; in display() 210 width -= filelen + 1; in display() 213 width -= fcnlen + 1; in display() 276 if ((i = strlen(s)) > width) { in display() 278 for (i = width; s[i] != ' ' && i > 0; in display() 282 i = width; /* no blank */ in display() 290 if (i < width) { in display() 328 (void) move(screenline, COLS - width); in display()
|
/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()
|
/illumos-gate/usr/src/cmd/bhyve/ |
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);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 179 int width, prec, fillch; local 214 width = 0; 222 width = va_arg(args, int); 226 width = width * 10 + c - '0'; 399 if ((n = prec) > width && width > 0) 400 n = width; 411 if (prec > width && width > 0) { 449 if (width > 0) { 450 if (width > buflen) 451 width = buflen; [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | waddwch.c | 43 int width; in waddwch() local 53 if ((width = _curs_wctomb(buf, code & TRIM)) < 0) in waddwch() 58 while (width--) in waddwch()
|
H A D | winswch.c | 42 int i, width; in winswch() local 50 if ((width = _curs_wctomb(buf, code & TRIM)) < 0) in winswch() 54 for (i = 0; i < width; ++i) in winswch()
|
H A D | tgetwch.c | 46 int c, n, type, width; in tgetwch() local 56 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in tgetwch() 59 for (n = 1; n < width; ++n) { in tgetwch()
|
H A D | wgetwch.c | 43 int c, n, type, width; in wgetwch() local 55 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in wgetwch() 58 for (n = 1; n <= width; ++n) { in wgetwch()
|
/illumos-gate/usr/src/cmd/fold/ |
H A D | fold.c | 363 get_foldw(toptarg, width) in get_foldw() argument 365 int *width; 372 *width = 0; 374 *width = strtoul(toptarg, &p, 10); 375 if (*width == -1) 381 if (!*width)
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 108 char width[FSIZE]; /* width table for a physical font */ variable 191 write(fdout, width, font.nwfont & BYTEMASK); in main() 232 width[i] = kern[i] = code[i] = 0; 249 width[0] = spacewidth; /* width of space on this font */ 258 width[nw] = atoi(s1); 295 width[0] = dev.res * dev.unitwidth / 72 / 3; 299 write(fdout, width, font.nwfont & BYTEMASK); 306 font.namefont, nw, width[0], v);
|
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 225 --width=330 \ 467 --width=330 \ 500 --width=330 \ 533 --width=330 \ 702 --width=330 \ 802 --width=330 \ 901 --width=330 \ 970 --width=450 \ 1147 --width=500 \ 1338 --width=400 \ [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/ |
H A D | makedev.c | 108 char width[FSIZE]; /* width table for a physical font */ variable 200 write(fdout, width, font.nwfont & BYTEMASK); in main() 242 width[i] = kern[i] = code[i] = 0; in dofont() 259 width[0] = spacewidth; /* width of space on this font */ in dofont() 268 width[nw] = atoi(s1); in dofont() 313 width[0] = dev.res * dev.unitwidth / 72 / 3; /* should be rounded */ in dofont() 317 write(fdout, width, font.nwfont & BYTEMASK); in dofont() 324 font.namefont, nw, width[0], v); in dofont()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | waddchn.c | 48 int x, width; in waddchnstr() local 57 for (x = w->_curx; x < n && *chs != 0; x += width, ++chs) { in waddchnstr() 59 width = __m_cc_replace(w, w->_cury, x, &cc, 0); in waddchnstr()
|
H A D | waddwchn.c | 50 int x, width; local 59 for (x = w->_curx; x < n && cp->_n != 0; x += width, ++cp) 60 width = __m_cc_replace(w, w->_cury, x, cp, 0);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rwho.c | 78 int cc, width; in main() local 139 width = 0; in main() 142 if (j > width) in main() 143 width = j; in main() 154 width, buf, in main()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strfmon.c | 116 int width; /* field width */ in strfmon_impl() local 162 width = -1; /* no width specified */ in strfmon_impl() 200 GET_NUMBER(width); in strfmon_impl() 205 if ((unsigned int)width >= maxsize - (dst - s)) in strfmon_impl() 373 if (dst - tmpptr < width) { in strfmon_impl() 375 while (dst - tmpptr < width) in strfmon_impl() 379 (void) memmove(tmpptr + width-pad_size, tmpptr, in strfmon_impl() 381 (void) memset(tmpptr, ' ', width-pad_size); in strfmon_impl() 382 dst += width-pad_size; in strfmon_impl()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.aggpackbanner.ksh | 16 let width=8 20 banner $3 | /bin/nawk -v line=$1 -v pos=$2 -v width=$width '{ \
|
/illumos-gate/usr/src/lib/libofmt/common/ |
H A D | ofmt.c | 334 uint_t width = ofp->of_width; in ofmt_print_field() local 368 (void) printf("%*s", width, value); in ofmt_print_field() 376 if (valwidth + os->os_overflow >= width) { in ofmt_print_field() 377 os->os_overflow += valwidth - width + 1; in ofmt_print_field() 379 (void) printf("%*s ", width, value); in ofmt_print_field() 386 compress = MIN(os->os_overflow, width - valwidth); in ofmt_print_field() 388 width -= compress; in ofmt_print_field() 391 (void) printf("%*s ", width, value); in ofmt_print_field() 393 (void) printf("%-*s", width, value); in ofmt_print_field() 401 ofmt_fit_width(split_t **spp, uint_t width, char *value, uint_t bufsize) in ofmt_fit_width() argument [all …]
|