/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | scale.c | 43 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 D | bsearch.c | 36 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 D | lfind.c | 44 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 D | lsearch.c | 44 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 D | bsearch.c | 47 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 D | sscanf.c | 116 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 D | ty_alnum.c | 43 * 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 D | ty_alpha.c | 43 * 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 D | waddwch.c | 45 int width; local 55 if ((width = _curs_wctomb(buf, code & TRIM)) < 0) 60 while (width--)
|
H A D | winswch.c | 44 int i, width; local 52 if ((width = _curs_wctomb(buf, code & TRIM)) < 0) 56 for (i = 0; i < width; ++i)
|
H A D | tgetwch.c | 48 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 D | wgetwch.c | 45 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 D | lsearch.c | 55 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 D | lfind.c | 57 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 D | wins_wch.c | 54 * 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 D | waddwchn.c | 54 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 D | adbsub.c | 88 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 D | wdwmsg.sh | 49 --width=200 \
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | font.h | 37 short width; member in struct:font 44 short width; member in struct:bitmap_data
|
H A D | msio.h | 47 int width; /* width of the screen */ member in struct:__anon8169
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | getprm.c | 57 int width; local 61 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) && 64 while (width--) 67 s += width; 73 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) && ch) { 85 width = mbtowc(&ch, s+1, MB_CUR_MAX); 98 width = mbtowc(&ch, s+1, MB_CUR_MAX); 136 while (width--) 163 int width; local 168 for (l = *s++; *s; s+=width) { [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | waddchn.c | 50 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 D | waddwchn.c | 52 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 D | wins_wch.c | 48 * 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/cmd/vi/port/ |
H A D | printf.c | 64 static int width, sign, fill; variable 123 width = va_arg(ap, int); 124 if (width < 0) { 125 width = -width; 131 width = 0; 133 width = width * 10 + (*fmt++ - '0'); 154 * zero and 1 otherwise, "width" and "prec" 235 width [all...] |