Home
last modified time | relevance | path

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

/freebsd/contrib/dialog/
H A Dcolumns.c99 size_t maxcols = 0; in dlg_align_columns() local
110 if (maxcols < len) in dlg_align_columns()
111 maxcols = len; in dlg_align_columns()
113 ++maxcols; in dlg_align_columns()
114 widths = dlg_calloc(unsigned, maxcols); in dlg_align_columns()
115 offsets = dlg_calloc(unsigned, maxcols); in dlg_align_columns()
116 maxwidth = dlg_calloc(unsigned, maxcols); in dlg_align_columns()
H A Ddemo.pl109 my $maxcols = $cols - 4;
157 my $wide = $maxcols;
162 while ( $wide < $maxcols ) {
223 $maxcols, ""
/freebsd/usr.bin/column/
H A Dcolumn.c217 int *lens, maxcols; in maketbl() local
224 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL) in maketbl()
226 if ((lens = calloc(maxcols, sizeof(int))) == NULL) in maketbl()
232 if (++coloff == maxcols) { in maketbl()
233 if (!(cols = realloc(cols, ((u_int)maxcols + in maketbl()
236 ((u_int)maxcols + DEFCOLS) * sizeof(int)))) in maketbl()
238 memset((char *)lens + maxcols * sizeof(int), in maketbl()
240 maxcols += DEFCOLS; in maketbl()
/freebsd/contrib/nvi/vi/
H A Dvs_msg.c231 size_t maxcols, oldx, oldy, padding; in vs_msg() local
343 maxcols = sp->cols - 1; in vs_msg()
345 if (len + vip->lcontinue + padding > maxcols) in vs_msg()
357 if (len + vip->lcontinue > maxcols) { in vs_msg()
358 for (e = s + (maxcols - vip->lcontinue); in vs_msg()
361 e = t = s + (maxcols - vip->lcontinue); in vs_msg()
/freebsd/contrib/mandoc/
H A Dterm.c805 if (c->maxcols == 0) in adjbuf()
806 c->maxcols = 1024; in adjbuf()
807 while (c->maxcols <= sz) in adjbuf()
808 c->maxcols <<= 2; in adjbuf()
809 c->buf = mandoc_reallocarray(c->buf, c->maxcols, sizeof(*c->buf)); in adjbuf()
819 if (p->col + 1 >= p->tcol->maxcols) in bufferc()
850 if (p->col + 7 >= p->tcol->maxcols) in encode1()
896 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols) in encode()
H A Dterm.h54 size_t maxcols; /* Allocated bytes in buf. */ member
/freebsd/sbin/ifconfig/
H A Difieee80211.c3622 printies(if_ctx *ctx, const u_int8_t *vp, int ielen, unsigned int maxcols) in printies() argument
3630 printssid(" SSID", vp, maxcols); in printies()
3664 printie(ctx, " VEN", vp, 2+vp[1], maxcols); in printies()
3678 printssid(" MESHID", vp, maxcols); in printies()
3700 printie(ctx, iename(vp[0]), vp, 2+vp[1], maxcols); in printies()