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

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinchnstr.c58 int maxcols = win->_maxx - win->_curx; local
67 maxcols++;
70 while ((counter < ncols) && maxcols > 0) {
76 for (s = 0; s < scrw; s++, maxcols--, ptr++) {
H A Dwinwchnstr.c49 int maxcols = win->_maxx - win->_curx; local
61 maxcols++;
64 while ((counter < ncols) && maxcols > 0) {
69 for (mp = mbbuf, s = 0; s < scrw; s++, maxcols--, ptr++) {
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.c536 if (0 == p->maxcols)
537 p->maxcols = 1024;
538 while (sz >= p->maxcols)
539 p->maxcols <<= 2;
541 p->buf = mandoc_reallocarray(p->buf, p->maxcols, sizeof(int));
548 if (p->col + 1 >= p->maxcols)
564 if (p->col + 7 >= p->maxcols)
600 if (p->col + 2 + (sz * 5) >= p->maxcols)
H A Dterm.h62 size_t maxcols; /* Max size of buf. */ member in struct:termp
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dofmt.c131 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) argument
151 if (maxcols > 0 && cols > maxcols)
179 uint_t maxcols, ofmt_handle_t *ofmt)
220 maxcols = 0;
221 sp = split_fields(template, nfields, maxcols);
178 ofmt_open(const char *str, const ofmt_field_t *template, uint_t flags, uint_t maxcols, ofmt_handle_t *ofmt) argument

Completed in 50 milliseconds