Home
last modified time | relevance | path

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

12345678910>>...14

/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c169 if (col->width < dp->layout->width) in tblcalc()
170 col->width = dp->layout->width; in tblcalc()
185 dp->layout->width ? dp->layout->width : in tblcalc()
223 col->width = 1; in tblcalc()
243 width = tbl->cols[icol].width; in tblcalc()
268 width = tbl->cols[icol].width; in tblcalc()
271 min1 = width; in tblcalc()
272 } else if (min1 < width && min2 > width) in tblcalc()
273 min2 = width; in tblcalc()
292 width = min2; in tblcalc()
[all …]
/illumos-gate/usr/src/cmd/ps/
H A Dps.c161 int width; member
1202 width = df->width; in parse_format()
1205 f->width = max(width, df->minwidth); in parse_format()
1535 int width = fname[F_STIME].width; in prcom() local
1652 int width = f->width; in print_field() local
1836 (void) printf("%*.*s", width, width, in print_field()
1843 (void) printf("%*.*s", width, width, in print_field()
1888 (void) printf("%*.*s", width, width, "-"); in print_field()
2057 int width = f->width; in print_zombie_field() local
2283 (void) printf("%*.*s", width, width, sttim); in prtime()
[all …]
/illumos-gate/usr/src/common/util/
H A Dsscanf.c149 width = 0; in vsscanf()
179 width = width * 10 + c - '0'; in vsscanf()
280 if (width == 0) in vsscanf()
281 width = 1; in vsscanf()
287 width -= n; in vsscanf()
292 sum += width; in vsscanf()
293 inr -= width; in vsscanf()
299 inr -= width; in vsscanf()
300 inp += width; in vsscanf()
385 width++; in vsscanf()
[all …]
H A Dbsearch.c45 size_t width, /* Width of an element (bytes) */ in bsearch() argument
56 two_width = width + width; in bsearch()
57 last = base + width * (nel - 1); in bsearch()
61 char *p = base + width * ((last - base)/two_width); in bsearch()
67 last = p - width; in bsearch()
69 base = p + width; in bsearch()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c183 width = 0;
227 width = width * 10 + c - '0';
363 if (width == 0)
364 width = 1;
373 width -= n;
399 width);
498 if (width == 0 || width > sizeof(buf) - 1)
504 width++;
507 for (p = buf; width > 0; width--)
650 if (width == 0 || width > sizeof(buf) - 1)
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_wch.c58 int width; in __m_cc_ins() local
61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) in __m_cc_ins()
74 (w->_maxx - x - width) * sizeof (**w->_line)); in __m_cc_ins()
77 if (__m_cc_replace(w, y, x, cc, 0) != width) in __m_cc_ins()
93 return (width); in __m_cc_ins()
107 int code, nx, width; in __m_wins_wch() local
120 for (nx = x + (8 - (x & 07)); x < nx; x += width) in __m_wins_wch()
134 if ((width = __m_cc_ins(w, y, x, cc)) <= 0) in __m_wins_wch()
136 x += width; in __m_wins_wch()
148 for (; *p != '\0'; ++p, x += width) { in __m_wins_wch()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputtext.c58 if (width > MWIDTH) in puttext()
59 width = MWIDTH; in puttext()
62 return (width); in puttext()
67 return (width); in puttext()
72 return (width); in puttext()
142 n = width + 1; in puttext()
172 n = width + 1; in puttext()
201 n = width + 1; in puttext()
228 n = width + 1; in puttext()
255 n = width + 1; in puttext()
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_alpha.c71 int * width; in make_alpha() local
73 if (Alloc(width, int)) in make_alpha()
74 *width = va_arg(*ap, int); in make_alpha()
75 return ((char *) width); in make_alpha()
81 int * width; in copy_alpha() local
83 if (Alloc(width, int)) in copy_alpha()
84 *width = *((int *) arg); in copy_alpha()
85 return ((char *) width); in copy_alpha()
97 int width = *((int *) arg); in fcheck_alpha() local
111 return (*v || n < width ? FALSE : TRUE); in fcheck_alpha()
H A Dty_alnum.c71 int * width; in make_alnum() local
73 if (Alloc(width, int)) in make_alnum()
74 *width = va_arg(*ap, int); in make_alnum()
75 return ((char *) width); in make_alnum()
81 int * width; in copy_alnum() local
83 if (Alloc(width, int)) in copy_alnum()
84 *width = *((int *) arg); in copy_alnum()
85 return ((char *) width); in copy_alnum()
97 int width = *((int *) arg); in fcheck_alnum() local
111 return (*v || n < width ? FALSE : TRUE); in fcheck_alnum()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c59 int width = DUMP_WIDTH(flags); in mdb_dump_header() local
63 for (i = 0; i < width; i++) { in mdb_dump_header()
74 for (i = 0; i < width; i++) { in mdb_dump_header()
108 for (i = 0; i < width; i++) { in mdb_dump_data()
124 for (i = 0; i < width; i++) in mdb_dump_data()
131 abuf[width] = '\0'; in mdb_dump_data()
205 int group, width; in mdb_dump_internal() local
228 width = DUMP_WIDTH(flags); in mdb_dump_internal()
315 r = width - (len - i); in mdb_dump_internal()
339 bwanted = width - r; in mdb_dump_internal()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_x86util.c99 name, width, desc->d_base, width / 2, desc->d_lim, desc->d_acc, in mdb_x86_print_desc()
108 const uint_t width = in mdb_x86_print_sysregs() local
182 mdb_printf("%%cr2 = 0x%0*x <%a>\n", width, in mdb_x86_print_sysregs()
210 mdb_x86_print_desc("ldtr", &sregs->sr_ldtr, width); in mdb_x86_print_sysregs()
211 mdb_x86_print_desc("tr ", &sregs->sr_tr, width); in mdb_x86_print_sysregs()
212 mdb_x86_print_desc("cs ", &sregs->sr_cs, width); in mdb_x86_print_sysregs()
213 mdb_x86_print_desc("ss ", &sregs->sr_ss, width); in mdb_x86_print_sysregs()
214 mdb_x86_print_desc("ds ", &sregs->sr_ds, width); in mdb_x86_print_sysregs()
215 mdb_x86_print_desc("es ", &sregs->sr_es, width); in mdb_x86_print_sysregs()
216 mdb_x86_print_desc("fs ", &sregs->sr_fs, width); in mdb_x86_print_sysregs()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwins_wch.c56 int width; local
59 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
66 &w->_line[y][x + width], &w->_line[y][x],
67 (w->_maxx - x - width) * sizeof **w->_line
71 if (__m_cc_replace(w, y, x, cc, 0) != width)
86 return width;
103 int code, nx, width; local
134 if ((width = __m_cc_ins(w, y, x, cc)) <= 0)
136 x += width;
148 for ( ; *p != '\0'; ++p, x += width) {
[all …]
H A Dm_cc.c306 width = 1; in __m_mbs_cc()
411 if (0 < width)
419 width = j;
435 return width;
516 int i, width; local
524 if (0 < width && w->_maxx < x + width) {
561 return width;
647 x += width;
653 if (width < 0)
680 int i, width; local
[all …]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c87 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/boot/libsa/
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/common/
H A Dtem.c228 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/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c152 width = 0; in mks_vfscanf()
253 if (width) { in mks_vfscanf()
254 if (--width == 0) in mks_vfscanf()
370 if (width == 0) in mks_vfscanf()
371 width = INT_MAX; in mks_vfscanf()
429 width = 1; in gettoken()
494 for (i=0; i<width; i++) { in match()
503 for (i=0; i<width; i++) { in match()
519 if (i < width) in match()
550 if (width == 0) in getnum()
[all …]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dscale.c41 int width; in _scale() local
45 width = MaxName(m) + Marklen(m); in _scale()
48 width += MaxDesc(m) + 1; in _scale()
50 Itemlen(m) = width; in _scale()
53 width = width * Cols(m); in _scale()
55 width += Cols(m) - 1; in _scale()
56 Width(m) = width; in _scale()
/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/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/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/cmd/vtfontcvt/
H A Dvtfontcvt.c353 if (dwidth != width && dwidth != width * 2) in parse_bitmap_line()
363 subline <<= (howmany(width, 8) * 8) - width; in parse_bitmap_line()
374 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()
687 uint8_t width; member
708 fh.width = width; in write_fnt()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c231 width = tems.ts_c_dimension.width; in tem_internal_init()
405 size_t width = 0; in tem_info_init() local
525 if (tems.ts_c_dimension.width != tp->width || in tems_check_videomode()
529 if (tems.ts_p_dimension.width != tp->width || in tems_check_videomode()
551 &tems.ts_c_dimension.width, height, width); in tems_setup_font()
587 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
601 if (width == 0) { in tems_setup_terminal()
606 tems.ts_c_dimension.width = (screen_size_t)width; in tems_setup_terminal()
608 tems.ts_p_dimension.width = tp->width; in tems_setup_terminal()
836 int ncols, width; in tem_prom_scroll_up() local
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dbhyvegc.c49 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()
/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