Searched defs:width (Results 1 - 25 of 214) sorted by relevance

123456789

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
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 Dwdelch.c57 int next, width, y, x; local
69 /* Determine the character width to delete. */
70 width = __m_cc_width(&w->_line[y][x]);
78 /* Add blank(s) to the end of line based on the width
81 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1);
H A Dwhln_st.c52 int x, width; local
65 for (x = w->_curx; x < n; x += width)
66 if ((width = __m_cc_replace(w, w->_cury, x, h, 0)) == -1)
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 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...]
H A Dwscrl.c56 int y, x, width, start, finish, to; local
/illumos-gate/usr/src/cmd/troff/
H A Dext.h183 extern struct widcache { /* width cache, indexed by character */
185 short width; member in struct:widcache
/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/libxcurses2/src/libc/xcurses/
H A Dwaddwchn.c54 int x, width; local
60 x += width, ++cp)
61 width = __m_cc_replace(w, w->_cury, x, cp, 0);
H A Dwdelch.c61 int next, width, y, x; local
69 /* Determine the character width to delete. */
70 width = __m_cc_width(&w->_line[y][x]);
77 * Add blank(s) to the end of line based on the width
80 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1);
H A Dwhln_st.c52 int x, width; local
61 for (x = w->_curx; x < n; x += width)
62 if ((width = __m_cc_replace(w, w->_cury, x, h, 0)) == -1)
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...]
/illumos-gate/usr/src/lib/libcurses/screen/
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 Dwaddwch.c45 int width; local
55 if ((width = _curs_wctomb(buf, code & TRIM)) < 0)
60 while (width--)
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) {
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 Dmbtranslate.c134 int type, width; local
138 width = cswidth[type];
140 width++;
142 if (byte + width <= endbyte) {
143 (void) _curs_mbtowc(&wchar, byte, width);
147 byte += width;
/illumos-gate/usr/src/lib/libc/port/gen/
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
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 */
/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
/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/uts/common/sys/
H A Dfont.h37 short width; member in struct:font
44 short width; member in struct:bitmap_data
H A Dmsio.h47 int width; /* width of the screen */ member in struct:__anon8169
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dnhm_log.h42 uint8_t width; member in struct:nhm_dimm

Completed in 79 milliseconds

123456789