Home
last modified time | relevance | path

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

/titanic_50/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_50/usr/src/cmd/mandoc/
H A Dterm.c528 if (0 == p->maxcols) in adjbuf()
529 p->maxcols = 1024; in adjbuf()
530 while (sz >= p->maxcols) in adjbuf()
531 p->maxcols <<= 2; in adjbuf()
533 p->buf = mandoc_reallocarray(p->buf, p->maxcols, sizeof(int)); in adjbuf()
540 if (p->col + 1 >= p->maxcols) in bufferc()
561 if (p->col + 6 >= p->maxcols) in encode1()
597 if (p->col + sz >= p->maxcols) in encode()
606 if (p->col + 1 + (sz * 5) >= p->maxcols) in encode()
H A Dterm.h60 size_t maxcols; /* Max size of buf. */ member
/titanic_50/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()