Home
last modified time | relevance | path

Searched refs:maxcols (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libcurses/screen/
H A Dwinchnstr.c58 int maxcols = win->_maxx - win->_curx; in winchnstr() local
67 maxcols++; in winchnstr()
70 while ((counter < ncols) && maxcols > 0) { in winchnstr()
76 for (s = 0; s < scrw; s++, maxcols--, ptr++) { in winchnstr()
H A Dwinwchnstr.c49 int maxcols = win->_maxx - win->_curx; in winwchnstr() local
61 maxcols++; in winwchnstr()
64 while ((counter < ncols) && maxcols > 0) { in winwchnstr()
69 for (mp = mbbuf, s = 0; s < scrw; s++, maxcols--, ptr++) { in winwchnstr()
/titanic_41/usr/src/cmd/mandoc/
H A Dterm.c532 if (0 == p->maxcols) in adjbuf()
533 p->maxcols = 1024; in adjbuf()
534 while (sz >= p->maxcols) in adjbuf()
535 p->maxcols <<= 2; in adjbuf()
537 p->buf = mandoc_realloc(p->buf, sizeof(int) * p->maxcols); in adjbuf()
544 if (p->col + 1 >= p->maxcols) in bufferc()
565 if (p->col + 6 >= p->maxcols) in encode1()
601 if (p->col + sz >= p->maxcols) in encode()
610 if (p->col + 1 + (sz * 5) >= p->maxcols) in encode()
H A Dterm.h62 size_t maxcols; /* Max size of buf. */ member
/titanic_41/usr/src/lib/libinetutil/common/
H A Dofmt.c131 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) in split_fields() argument
151 if (maxcols > 0 && cols > maxcols) in split_fields()
179 uint_t maxcols, ofmt_handle_t *ofmt) in ofmt_open() argument
220 maxcols = 0; in ofmt_open()
221 sp = split_fields(template, nfields, maxcols); in ofmt_open()