Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinchnstr.c56 int maxcols = win->_maxx - win->_curx; in winchnstr() local
65 maxcols++; in winchnstr()
68 while ((counter < ncols) && maxcols > 0) { in winchnstr()
74 for (s = 0; s < scrw; s++, maxcols--, ptr++) { in winchnstr()
H A Dwinwchnstr.c47 int maxcols = win->_maxx - win->_curx; in winwchnstr() local
59 maxcols++; in winwchnstr()
62 while ((counter < ncols) && maxcols > 0) { in winwchnstr()
67 for (mp = mbbuf, s = 0; s < scrw; s++, maxcols--, ptr++) { in winwchnstr()
/illumos-gate/usr/src/lib/libofmt/common/
H A Dofmt.c141 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) in split_fields() argument
161 if (maxcols > 0 && cols > maxcols) in split_fields()
189 uint_t maxcols, ofmt_handle_t *ofmt) in ofmt_open() argument
230 maxcols = 0; in ofmt_open()
231 sp = split_fields(template, nfields, maxcols); in ofmt_open()
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.c756 if (c->maxcols == 0) in adjbuf()
757 c->maxcols = 1024; in adjbuf()
758 while (c->maxcols <= sz) in adjbuf()
759 c->maxcols <<= 2; in adjbuf()
760 c->buf = mandoc_reallocarray(c->buf, c->maxcols, sizeof(*c->buf)); in adjbuf()
770 if (p->col + 1 >= p->tcol->maxcols) in bufferc()
793 if (p->col + 7 >= p->tcol->maxcols) in encode1()
839 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols) in encode()
H A Dterm.h54 size_t maxcols; /* Allocated bytes in buf. */ member