Home
last modified time | relevance | path

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

12345678910>>...14

/titanic_41/usr/src/cmd/ps/
H A Dps.c148 int width; /* width of field */ member
160 int width; member
416 fname[F_PID].width = fname[F_PPID].width = pidwidth; in stdmain()
417 fname[F_PGID].width = fname[F_SID].width = pidwidth; in stdmain()
429 fname[F_STIME].width = fname[F_STIME].minwidth = len; in stdmain()
804 f->width, f->header); in stdmain()
815 f->width, f->header); in stdmain()
823 f->width, f->header); in stdmain()
1153 int width = 0; in parse_format() local
1171 width = strlen(header); in parse_format()
[all …]
/titanic_41/usr/src/common/util/
H A Dsscanf.c116 size_t width; /* field width, or 0 */ in vsscanf() local
151 width = 0; in vsscanf()
181 width = width * 10 + c - '0'; in vsscanf()
282 if (width == 0) in vsscanf()
283 width = 1; in vsscanf()
287 if ((n = inr) < width) { in vsscanf()
289 width -= n; in vsscanf()
294 sum += width; in vsscanf()
295 inr -= width; in vsscanf()
296 inp += 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()
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c119 register size_t width; /* field width, or 0 */ local
185 width = 0;
229 width = width * 10 + c - '0';
365 if (width == 0)
366 width = 1;
372 if ((size_t) (n = fp->f_r) < width)
375 width -= n;
387 sum += width;
388 fp->f_r -= width;
389 fp->f_p += width;
[all …]
/titanic_41/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()
72 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in __m_cc_ins()
75 (void) memmove(&w->_line[y][x + width], &w->_line[y][x], 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()
123 if ((width = __m_cc_ins(w, y, x, &w->_bg)) <= 0) in __m_wins_wch()
[all …]
/titanic_41/usr/src/lib/libadm/common/
H A Dputtext.c53 int width, i, n, force, wordcnt; in puttext() local
58 width = rmarg ? (rmarg - lmarg) : (WIDTH - lmarg); in puttext()
59 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()
167 if (n + wlen > width) { in puttext()
173 n = width + 1; in puttext()
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DVJFlowLayout.java117 public void setMinimumWidth(int width) { in setMinimumWidth() argument
118 this.minimumWidth = width; in setMinimumWidth()
184 rowWidth + d.width + hgap > minimumWidth) { in calcLayoutSize()
186 r.width = Math.max(rowWidth, r.width); in calcLayoutSize()
194 rowWidth += (d.width + hgap); in calcLayoutSize()
201 r.width = Math.max(rowWidth, r.width); in calcLayoutSize()
219 int width, int height, int rowStart, int rowEnd) { in moveComponents() argument
224 x += width / 2; in moveComponents()
227 x += width; in moveComponents()
235 x += hgap + size.width; in moveComponents()
[all …]
H A DScrollPanel.java221 size = new Dimension(size.width, size.height); in viewSize()
229 size.width -= (insets.left + insets.right + in viewSize()
245 compMin = new Dimension(compMin.width, compMin.height); in minimumSize()
261 compPref = new Dimension(compPref.width, compPref.height); in preferredSize()
277 compMin.width = scrollAreaWidth; in calcSize()
283 compMin.width += (vbarMin.width + insetsWidth); in calcSize()
284 compMin.width = Math.max(compMin.width, (hbarMin.width + in calcSize()
300 if (viewSize.width <= 0 || viewSize.height <= 0) { in layout()
310 if (viewSize.width < scrollSize.width) in layout()
318 if (viewSize.width < (scrollSize.width + d.width)) in layout()
[all …]
H A DTabbedFolder.java153 if (w > d.width) in minimumSize()
164 if (w > d.width) in preferredSize()
305 g.fillRect(0, 0, size.width, folderInsets.top); in update()
306 g.fillRect(0, y, size.width, size.height-y); in update()
308 g.fillRect(x, 0, size.width-x, size.height); in update()
361 if ((size.width - tabW) > (folderInsets.left + in drawTabs()
420 int w = size.width - (folderInsets.left + in drawBox()
425 if (x >= size.width || y >= size.height || w <= 0 || h <= 0) in drawBox()
435 if ((size.width - tabW) > (folderInsets.left + in drawBox()
440 size.width - (folderInsets.left + folderInsets.right + in drawBox()
[all …]
H A DGBLayout.java51 int width, height; /* number of cells horizontally, vertically */ field in GBLayoutInfo
59 width = w; in GBLayoutInfo()
441 dim[0] = new int[layoutInfo.width]; in getLayoutDimensions()
445 layoutInfo.width); in getLayoutDimensions()
461 dim[0] = new int[info.width]; in getMinimumLayoutDimensions()
464 System.arraycopy(info.minWidth, 0, dim[0], 0, info.width); in getMinimumLayoutDimensions()
479 dim[0] = new int[info.width]; in getPreferredLayoutDimensions()
482 System.arraycopy(info.minWidth, 0, dim[0], 0, info.width); in getPreferredLayoutDimensions()
501 weights[0] = new double[layoutInfo.width]; in getLayoutWeights()
505 layoutInfo.width); in getLayoutWeights()
[all …]
/titanic_41/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()
99 int width = DUMP_WIDTH(flags); in mdb_dump_data() local
110 for (i = 0; i < width; i++) { in mdb_dump_data()
113 if (i < lmargin || (width - i) <= rmargin) { in mdb_dump_data()
126 for (i = 0; i < width; i++) in mdb_dump_data()
127 if (i < lmargin || (width - i) <= rmargin) in mdb_dump_data()
133 abuf[width] = '\0'; in mdb_dump_data()
207 int group, width; in mdb_dump_internal() local
[all …]
/titanic_41/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
122 for (nx = x + (8 - (x & 07)); x < nx; x += width)
123 if ((width = __m_cc_ins(w, y, x, &w->_bg)) <= 0)
136 if ((width = __m_cc_ins(w, y, x, cc)) <= 0)
[all …]
H A Dm_cc.c291 int i, nbytes, width, have_one; in __m_mbs_cc() local
308 width = 1; in __m_mbs_cc()
309 else if ((width = wcwidth(wc)) < 0) in __m_mbs_cc()
313 if (0 < width) { in __m_mbs_cc()
343 int width, have_one; in __m_wcs_cc() local
351 if ((width = wcwidth(*wcs)) < 0) in __m_wcs_cc()
354 if (0 < width) { in __m_wcs_cc()
406 int width, i, j, spacing; local
409 for (width = spacing = i = 0; i < cc->_n; ++i) {
413 if (0 < width)
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dbsearch.c36 bsearch(key, base, nel, width, compar) in bsearch() argument
40 unsigned width; /* Width of an element (bytes) */
43 int two_width = width + width;
44 POINTER last = base + width * (nel - 1); /* Last element in table */
48 register POINTER p = base + width * ((last - base)/two_width);
54 last = p - width;
56 base = p + width;
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/
H A Dtem.c213 int width, height; in tem_internal_init() local
227 ptem->tvs_outbuf_size = tems.ts_c_dimension.width; in tem_internal_init()
231 width = tems.ts_c_dimension.width; in tem_internal_init()
233 ptem->tvs_screen_buf_size = width * height; in tem_internal_init()
235 (unsigned char *)kmem_alloc(width * height, KM_SLEEP); in tem_internal_init()
237 total = width * height * tc_size; in tem_internal_init()
247 for (j = 0; j < width; j++) { in tem_internal_init()
248 ptem->tvs_screen_buf[i * width + j] = ' '; in tem_internal_init()
249 ptem->tvs_fg_buf[(i * width +j) * tc_size] = fg; in tem_internal_init()
250 ptem->tvs_bg_buf[(i * width +j) * tc_size] = bg; in tem_internal_init()
[all …]
H A Dtem_safe.c648 tems.ts_c_dimension.width - in tem_safe_chkparam()
658 tems.ts_c_dimension.width, in tem_safe_chkparam()
670 tems.ts_c_dimension.width, in tem_safe_chkparam()
686 tems.ts_c_dimension.width, in tem_safe_chkparam()
700 (tems.ts_c_dimension.width - in tem_safe_chkparam()
718 tems.ts_c_dimension.width, in tem_safe_chkparam()
788 if (tem->tvs_params[0] > tems.ts_c_dimension.width) in tem_safe_chkparam()
789 tem->tvs_params[0] = tems.ts_c_dimension.width; in tem_safe_chkparam()
854 if (tem->tvs_c_cursor.col >= tems.ts_c_dimension.width) { in tem_safe_outch()
916 tems.ts_c_dimension.width - in tem_safe_lf()
[all …]
/titanic_41/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c120 static int width; /* field width value */ variable
154 width = 0; in mks_vfscanf()
195 number = getnum(BASE10, width, SIGNED); in mks_vfscanf()
200 number = getnum(BASE10, width, UNSIGNED); in mks_vfscanf()
205 number = getnum(BASE16, width, SIGNED); in mks_vfscanf()
210 number = getnum(BASE8, width, SIGNED); in mks_vfscanf()
215 number = getnum(NOBASE, width, SIGNED); in mks_vfscanf()
255 if (width) { in mks_vfscanf()
256 if (--width == 0) in mks_vfscanf()
372 if (width == 0) in mks_vfscanf()
[all …]
/titanic_41/usr/src/cmd/mandoc/
H A Dtbl_term.c200 size_t width; in tbl_rulewidth() local
202 width = tp->tbl.cols[hp->ident].width; in tbl_rulewidth()
206 width += 2 - hp->vert; in tbl_rulewidth()
209 width++; in tbl_rulewidth()
211 return(width); in tbl_rulewidth()
263 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
270 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
275 tbl_char(tp, '-', col->width); in tbl_data()
280 tbl_char(tp, '=', col->width); in tbl_data()
288 tbl_char(tp, '-', col->width); in tbl_data()
[all …]
/titanic_41/usr/src/cmd/vi/port/
H A Dprintf.c64 static int width, sign, fill; variable
123 width = va_arg(ap, int); in viprintf()
124 if (width < 0) { in viprintf()
125 width = -width; in viprintf()
131 width = 0; in viprintf()
133 width = width * 10 + (*fmt++ - '0'); in viprintf()
235 width -= 2; in viprintf()
376 if (alen > width) in _p_emit()
377 width = alen; in _p_emit()
384 width--; in _p_emit()
[all …]
/titanic_41/usr/src/lib/libast/common/tm/
H A Dtmxfmt.c110 int width; in tmxfmt() local
156 width = 0; in tmxfmt()
195 width = width * 10 + (c - '0'); in tmxfmt()
263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); in tmxfmt()
266 cp = number(cp, ep, (long)tm->tm_mday, 2, width, pad); in tmxfmt()
272 cp = number(cp, ep, (long)tm->tm_mday, 0, width, pad); in tmxfmt()
275 cp = number(cp, ep, (long)tm->tm_mday, -2, width, pad); in tmxfmt()
303 cp = number(cp, ep, (long)n, c, width, pad); in tmxfmt()
306 cp = number(cp, ep, (long)tm->tm_hour, 2, width, pad); in tmxfmt()
314 cp = number(cp, ep, (long)n, 2, width, pad); in tmxfmt()
[all …]
/titanic_41/usr/src/cmd/prctl/
H A Dutils.c265 int width; in uint64toscaled() local
275 width = widthin; in uint64toscaled()
277 width = 0; in uint64toscaled()
279 (void) snprintf(string, SCALED_STRLEN, "%%%dllu", width); in uint64toscaled()
326 width = widthin; in uint64toscaled()
328 width = 0; in uint64toscaled()
330 (void) snprintf(string, SCALED_STRLEN, "%%%d.%dlf", width, decimals); in uint64toscaled()
375 int width; in scaledeqscaled() local
420 width = 0; in scaledeqscaled()
421 if (width1 > width) in scaledeqscaled()
[all …]

12345678910>>...14