Searched refs:width (Results 1 - 25 of 293) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dscale.c43 int width; local
46 /* Get the width of one column */
47 width = MaxName(m) + Marklen(m);
50 width += MaxDesc(m) + 1;
52 Itemlen(m) = width;
55 width = width * Cols(m);
57 width += Cols(m) - 1;
58 Width(m) = width;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dbsearch.c36 bsearch(key, base, nel, width, compar)
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;
H A Dlfind.c44 lfind(key, base, nelp, width, compar)
48 register unsigned width; /* Width of an element (bytes) */
51 register POINTER next = base + *nelp * width; /* End of table */
53 for ( ; base < next; base += width)
H A Dlsearch.c44 lsearch(key, base, nelp, width, compar)
48 register unsigned width; /* Width of an element (bytes) */
51 register POINTER next = base + *nelp * width; /* End of table */
53 for ( ; base < next; base += width)
57 return (memcpy(base, key, (int)width)); /* base now == next */
/illumos-gate/usr/src/common/util/
H A Dbsearch.c47 size_t width, /* Width of an element (bytes) */
58 two_width = width + width;
59 last = base + width * (nel - 1);
63 char *p = base + width * ((last - base)/two_width);
69 last = p - width;
71 base = p + width;
44 bsearch(const void *ky, const void *bs, size_t nel, size_t width, int (*compar)(const void *, const void *)) argument
H A Dsscanf.c116 size_t width; /* field width, or 0 */ local
151 width = 0;
181 width = width * 10 + c - '0';
282 if (width == 0)
283 width = 1;
287 if ((n = inr) < width) {
289 width -= n;
294 sum += width;
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_alnum.c43 * set_field_type(f, TYPE_ALNUM, width);
45 * int width; minimum token width
73 int * width; local
75 if (Alloc(width, int))
76 *width = va_arg(*ap, int);
77 return ((char *) width);
83 int * width; local
85 if (Alloc(width, int))
86 *width
99 int width = *((int *) arg); local
[all...]
H A Dty_alpha.c43 * set_field_type(f, TYPE_ALPHA, width);
45 * int width; minimum token width
73 int * width; local
75 if (Alloc(width, int))
76 *width = va_arg(*ap, int);
77 return ((char *) width);
83 int * width; local
85 if (Alloc(width, int))
86 *width
99 int width = *((int *) arg); local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwaddwch.c45 int width; local
55 if ((width = _curs_wctomb(buf, code & TRIM)) < 0)
60 while (width--)
H A Dwinswch.c44 int i, width; local
52 if ((width = _curs_wctomb(buf, code & TRIM)) < 0)
56 for (i = 0; i < width; ++i)
H A Dtgetwch.c48 int c, n, type, width; local
58 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
61 for (n = 1; n < width; ++n) {
H A Dwgetwch.c45 int c, n, type, width; local
57 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
60 for (n = 1; n <= width; ++n) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlsearch.c55 lsearch(const void *ky, void *bs, size_t *nelp, size_t width, argument
60 char *next = base + *nelp * width; /* End of table */
63 for (; base < next; base += width)
67 res = memcpy(base, key, width); /* base now == next */
H A Dlfind.c57 size_t width, int (*compar)())
61 char *next = base + *nelp * width; /* End of table */
63 for (; base < next; base += width)
56 lfind(const void *ky, const void *bs, size_t *nelp, size_t width, int (*compar)()) argument
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_wch.c54 * the column width of the inserted character. The right most columns
55 * will be truncated according to the width of the character inserted.
60 int width; local
62 /* Determine the character width to insert. */
63 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
72 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1);
75 (void) memmove(&w->_line[y][x + width], &w->_line[y][x],
76 (w->_maxx - x - width) * sizeof (**w->_line));
79 if (__m_cc_replace(w, y, x, cc, 0) != width)
109 int code, nx, width; local
[all...]
H A Dwaddwchn.c54 int x, width; local
60 x += width, ++cp)
61 width = __m_cc_replace(w, w->_cury, x, cp, 0);
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c88 int rcount, width, sum, i; local
107 width = 8;
111 width = 8;
113 width = 4;
125 width = 4;
132 width = 2;
141 width = 1;
149 width = 0;
152 width = -1;
163 width
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dwdwmsg.sh49 --width=200 \
/illumos-gate/usr/src/cmd/bnu/
H A Dgetprm.c55 int width; local
59 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) &&
62 while (width--)
65 s += width;
71 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) && ch) {
83 width = mbtowc(&ch, s+1, MB_CUR_MAX);
96 width = mbtowc(&ch, s+1, MB_CUR_MAX);
134 while (width--)
161 int width; local
166 for (l = *s++; *s; s+=width) {
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwaddchn.c50 int x, width; local
59 for (x = w->_curx; x < n && *chs != 0; x += width, ++chs) {
61 width = __m_cc_replace(w, w->_cury, x, &cc, 0);
H A Dwaddwchn.c52 int x, width; local
61 for (x = w->_curx; x < n && cp->_n != 0; x += width, ++cp)
62 width = __m_cc_replace(w, w->_cury, x, cp, 0);
H A Dwins_wch.c48 * the column width of the inserted character. The right most columns
49 * will be truncated according to the width of the character inserted.
58 int width; local
60 /* Determine the character width to insert. */
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
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dmsio.h47 int width; /* width of the screen */ member in struct:__anon8164
/illumos-gate/usr/src/cmd/vi/port/
H A Dprintf.c58 static int width, sign, fill; variable
117 width = va_arg(ap, int);
118 if (width < 0) {
119 width = -width;
125 width = 0;
127 width = width * 10 + (*fmt++ - '0');
148 * zero and 1 otherwise, "width" and "prec"
229 width
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c50 * Output the header for the dump. pad is the width of the address
61 int width = DUMP_WIDTH(flags); local
65 for (i = 0; i < width; i++) {
76 for (i = 0; i < width; i++) {
99 int width = DUMP_WIDTH(flags); local
110 for (i = 0; i < width; i++) {
113 if (i < lmargin || (width - i) <= rmargin) {
126 for (i = 0; i < width; i++)
127 if (i < lmargin || (width - i) <= rmargin)
133 abuf[width]
207 int group, width; local
[all...]

Completed in 241 milliseconds

1234567891011>>