Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c167 if (col->width < dp->layout->width) in tblcalc()
168 col->width = dp->layout->width; in tblcalc()
183 dp->layout->width ? dp->layout->width : in tblcalc()
202 g->wanted = width; in tblcalc()
229 width = tbl->cols[icol].width; in tblcalc()
289 if (width > min2) in tblcalc()
290 width = min2; in tblcalc()
292 wanted = width; in tblcalc()
411 col->width--; in tblcalc()
430 col->width = sz; in tblcalc_data()
[all …]
/illumos-gate/usr/src/cmd/ps/
H A Dps.c161 int width; member
1206 width = df->width; in parse_format()
1209 f->width = max(width, df->minwidth); in parse_format()
1539 int width = fname[F_STIME].width; in prcom() local
1656 int width = f->width; in print_field() local
1840 (void) printf("%*.*s", width, width, in print_field()
1847 (void) printf("%*.*s", width, width, in print_field()
1892 (void) printf("%*.*s", width, width, "-"); in print_field()
2061 int width = f->width; in print_zombie_field() local
2287 (void) printf("%*.*s", width, width, sttim); in prtime()
[all …]
/illumos-gate/usr/src/common/util/
H A Dsscanf.c151 width = 0; in vsscanf()
181 width = width * 10 + c - '0'; in vsscanf()
282 if (width == 0) in vsscanf()
283 width = 1; in vsscanf()
289 width -= n; in vsscanf()
294 sum += width; in vsscanf()
295 inr -= width; in vsscanf()
301 inr -= width; in vsscanf()
302 inp += width; in vsscanf()
387 width++; in vsscanf()
[all …]
H A Dbsearch.c47 size_t width, /* Width of an element (bytes) */ in bsearch() argument
58 two_width = width + width; in bsearch()
59 last = base + width * (nel - 1); in bsearch()
63 char *p = base + width * ((last - base)/two_width); in bsearch()
69 last = p - width; in bsearch()
71 base = p + width; in bsearch()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c185 width = 0;
229 width = width * 10 + c - '0';
365 if (width == 0)
366 width = 1;
375 width -= n;
401 width);
500 if (width == 0 || width > sizeof(buf) - 1)
506 width++;
509 for (p = buf; width > 0; width--)
652 if (width == 0 || width > sizeof(buf) - 1)
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_wch.c60 int width; in __m_cc_ins() local
63 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) in __m_cc_ins()
76 (w->_maxx - x - width) * sizeof (**w->_line)); in __m_cc_ins()
79 if (__m_cc_replace(w, y, x, cc, 0) != width) in __m_cc_ins()
95 return (width); in __m_cc_ins()
109 int code, nx, width; in __m_wins_wch() local
122 for (nx = x + (8 - (x & 07)); x < nx; x += width) in __m_wins_wch()
136 if ((width = __m_cc_ins(w, y, x, cc)) <= 0) in __m_wins_wch()
138 x += width; in __m_wins_wch()
150 for (; *p != '\0'; ++p, x += width) { in __m_wins_wch()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputtext.c59 if (width > MWIDTH) in puttext()
60 width = MWIDTH; in puttext()
63 return (width); in puttext()
68 return (width); in puttext()
73 return (width); in puttext()
143 n = width + 1; in puttext()
173 n = width + 1; in puttext()
202 n = width + 1; in puttext()
229 n = width + 1; in puttext()
256 n = width + 1; in puttext()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_x86util.c97 name, width, desc->d_base, width / 2, desc->d_lim, desc->d_acc, in mdb_x86_print_desc()
106 const uint_t width = in mdb_x86_print_sysregs() local
175 mdb_printf("%%cr2 = 0x%0*x <%a>\n", width, in mdb_x86_print_sysregs()
203 mdb_x86_print_desc("ldtr", &sregs->sr_ldtr, width); in mdb_x86_print_sysregs()
204 mdb_x86_print_desc("tr ", &sregs->sr_tr, width); in mdb_x86_print_sysregs()
205 mdb_x86_print_desc("cs ", &sregs->sr_cs, width); in mdb_x86_print_sysregs()
206 mdb_x86_print_desc("ss ", &sregs->sr_ss, width); in mdb_x86_print_sysregs()
207 mdb_x86_print_desc("ds ", &sregs->sr_ds, width); in mdb_x86_print_sysregs()
208 mdb_x86_print_desc("es ", &sregs->sr_es, width); in mdb_x86_print_sysregs()
209 mdb_x86_print_desc("fs ", &sregs->sr_fs, width); in mdb_x86_print_sysregs()
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_alnum.c73 int * width; in make_alnum() local
75 if (Alloc(width, int)) in make_alnum()
76 *width = va_arg(*ap, int); in make_alnum()
77 return ((char *) width); in make_alnum()
83 int * width; in copy_alnum() local
85 if (Alloc(width, int)) in copy_alnum()
86 *width = *((int *) arg); in copy_alnum()
87 return ((char *) width); in copy_alnum()
99 int width = *((int *) arg); in fcheck_alnum() local
113 return (*v || n < width ? FALSE : TRUE); in fcheck_alnum()
H A Dty_alpha.c73 int * width; in make_alpha() local
75 if (Alloc(width, int)) in make_alpha()
76 *width = va_arg(*ap, int); in make_alpha()
77 return ((char *) width); in make_alpha()
83 int * width; in copy_alpha() local
85 if (Alloc(width, int)) in copy_alpha()
86 *width = *((int *) arg); in copy_alpha()
87 return ((char *) width); in copy_alpha()
99 int width = *((int *) arg); in fcheck_alpha() local
113 return (*v || n < width ? FALSE : TRUE); in fcheck_alpha()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c61 int width = DUMP_WIDTH(flags); in mdb_dump_header() local
65 for (i = 0; i < width; i++) { in mdb_dump_header()
76 for (i = 0; i < width; i++) { in mdb_dump_header()
110 for (i = 0; i < width; i++) { in mdb_dump_data()
126 for (i = 0; i < width; i++) in mdb_dump_data()
133 abuf[width] = '\0'; in mdb_dump_data()
207 int group, width; in mdb_dump_internal() local
230 width = DUMP_WIDTH(flags); in mdb_dump_internal()
317 r = width - (len - i); in mdb_dump_internal()
341 bwanted = width - r; in mdb_dump_internal()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwins_wch.c58 int width; local
61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
68 &w->_line[y][x + width], &w->_line[y][x],
69 (w->_maxx - x - width) * sizeof **w->_line
73 if (__m_cc_replace(w, y, x, cc, 0) != width)
88 return width;
105 int code, nx, width; local
136 if ((width = __m_cc_ins(w, y, x, cc)) <= 0)
138 x += width;
150 for ( ; *p != '\0'; ++p, x += width) {
[all …]
H A Dm_cc.c308 width = 1; in __m_mbs_cc()
413 if (0 < width)
421 width = j;
437 return width;
518 int i, width; local
526 if (0 < width && w->_maxx < x + width) {
563 return width;
649 x += width;
655 if (width < 0)
682 int i, width; local
[all …]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c88 int rcount, width, sum, i; in do_fmt() local
107 width = 8; in do_fmt()
111 width = 8; in do_fmt()
113 width = 4; in do_fmt()
125 width = 4; in do_fmt()
132 width = 2; in do_fmt()
141 width = 1; in do_fmt()
149 width = 0; in do_fmt()
152 width = -1; in do_fmt()
163 width = 0; in do_fmt()
[all …]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dprintf.c281 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/boot/common/
H A Dtem.c225 width = tems.ts_c_dimension.width; in tem_internal_init()
425 if (tems.ts_c_dimension.width != tp->width || in tems_check_videomode()
429 if (tems.ts_p_dimension.width != tp->width || in tems_check_videomode()
461 &tems.ts_c_dimension.width, height, width); in tems_setup_font()
498 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
520 tems.ts_c_dimension.width = (screen_size_t)width; in tems_setup_terminal()
522 tems.ts_p_dimension.width = tp->width; in tems_setup_terminal()
787 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_prom_scroll_up()
2108 if (src[width].tc_char != dst[width].tc_char || in tem_copy_width()
2445 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_pix_clear_prom_output()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c154 width = 0; in mks_vfscanf()
255 if (width) { in mks_vfscanf()
256 if (--width == 0) in mks_vfscanf()
372 if (width == 0) in mks_vfscanf()
373 width = INT_MAX; in mks_vfscanf()
431 width = 1; in gettoken()
496 for (i=0; i<width; i++) { in match()
505 for (i=0; i<width; i++) { in match()
521 if (i < width) in match()
552 if (width == 0) in getnum()
[all …]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dscale.c43 int width; in _scale() local
47 width = MaxName(m) + Marklen(m); in _scale()
50 width += MaxDesc(m) + 1; in _scale()
52 Itemlen(m) = width; in _scale()
55 width = width * Cols(m); in _scale()
57 width += Cols(m) - 1; in _scale()
58 Width(m) = width; in _scale()
/illumos-gate/usr/src/cmd/bhyve/
H A Dbhyvegc.c46 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument
54 gc_image->width = width; in bhyvegc_init()
60 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init()
79 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument
85 gc_image->width = width; in bhyvegc_resize()
88 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize()
91 memset(gc_image->data, 0, width * height * in bhyvegc_resize()
/illumos-gate/usr/src/cmd/vi/port/
H A Dprintf.c58 static int width, sign, fill; variable
117 width = va_arg(ap, int); in viprintf()
118 if (width < 0) { in viprintf()
119 width = -width; in viprintf()
125 width = 0; in viprintf()
127 width = width * 10 + (*fmt++ - '0'); in viprintf()
229 width -= 2; in viprintf()
370 if (alen > width) in _p_emit()
371 width = alen; in _p_emit()
378 width--; in _p_emit()
[all …]
/illumos-gate/usr/src/cmd/prctl/
H A Dutils.c265 int width; in uint64toscaled() local
275 width = widthin; in uint64toscaled()
277 width = 0; in uint64toscaled()
326 width = widthin; in uint64toscaled()
328 width = 0; in uint64toscaled()
375 int width; in scaledeqscaled() local
420 width = 0; in scaledeqscaled()
422 width = width1; in scaledeqscaled()
424 width = width2; in scaledeqscaled()
461 int width; in scaledequint64() local
[all …]
/illumos-gate/usr/src/cmd/vtfontcvt/
H A Dvtfontcvt.c354 if (dwidth != width && dwidth != width * 2) in parse_bitmap_line()
364 subline <<= (howmany(width, 8) * 8) - width; in parse_bitmap_line()
375 line >>= width; in parse_bitmap_line()
425 width = w; in set_width()
459 dwidth = width; in parse_hex()
523 if (bbox.width == 0) in parse_bdf_header()
524 bbox.width = width; in parse_bdf_header()
525 set_width(bbox.width); in parse_bdf_header()
686 uint8_t width; member
707 fh.width = width; in write_fnt()
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c215 int width, i; in gfx_term_drawrect() local
260 for (i = 0; i <= width; i++) in gfx_term_drawrect()
270 for (i = 0; i <= width; i++) in gfx_term_drawrect()
280 for (i = 0; i <= width; i++) in gfx_term_drawrect()
290 for (i = 0; i <= width; i++) in gfx_term_drawrect()
311 width = (width + 1) >> 1; in gfx_fb_line()
350 int sx, sy, xx, yy, xy, width; in gfx_fb_bezier() local
357 width = wd; in gfx_fb_bezier()
393 for (i = 0; i <= width; i++) in gfx_fb_bezier()
467 ux2 = ux1 + png->width; in gfx_fb_putimage()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c229 width = tems.ts_c_dimension.width; in tem_internal_init()
402 size_t width = 0; in tem_info_init() local
522 if (tems.ts_c_dimension.width != tp->width || in tems_check_videomode()
526 if (tems.ts_p_dimension.width != tp->width || in tems_check_videomode()
548 &tems.ts_c_dimension.width, height, width); in tems_setup_font()
584 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
598 if (width == 0) { in tems_setup_terminal()
603 tems.ts_c_dimension.width = (screen_size_t)width; in tems_setup_terminal()
605 tems.ts_p_dimension.width = tp->width; in tems_setup_terminal()
833 int ncols, width; in tem_prom_scroll_up() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxfmt.c110 int width; in tmxfmt() local
156 width = 0; in tmxfmt()
195 width = width * 10 + (c - '0'); in tmxfmt()
266 cp = number(cp, ep, (long)tm->tm_mday, 2, width, pad); in tmxfmt()
300 cp = number(cp, ep, (long)n, c, width, pad); in tmxfmt()
303 cp = number(cp, ep, (long)tm->tm_hour, 2, width, pad); in tmxfmt()
311 cp = number(cp, ep, (long)n, 2, width, pad); in tmxfmt()
317 cp = number(cp, ep, (long)tm->tm_yday, 3, width, pad); in tmxfmt()
346 cp = number(cp, ep, (long)tm->tm_min, 2, width, pad); in tmxfmt()
524 if (width) in tmxfmt()
[all …]

12345678910>>...14