Searched refs:maxcols (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14-stable/contrib/dialog/ |
| HD | columns.c | 99 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()
|
| HD | demo.pl | 109 my $maxcols = $cols - 4; 157 my $wide = $maxcols; 162 while ( $wide < $maxcols ) { 223 $maxcols, ""
|
| /freebsd-14-stable/usr.bin/column/ |
| HD | column.c | 230 int *lens, maxcols; in maketbl() local 237 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL) in maketbl() 239 if ((lens = calloc(maxcols, sizeof(int))) == NULL) in maketbl() 245 if (++coloff == maxcols) { in maketbl() 246 if (!(cols = realloc(cols, ((u_int)maxcols + in maketbl() 249 ((u_int)maxcols + DEFCOLS) * sizeof(int)))) in maketbl() 251 memset((char *)lens + maxcols * sizeof(int), in maketbl() 253 maxcols += DEFCOLS; in maketbl()
|
| /freebsd-14-stable/contrib/mandoc/ |
| HD | term.c | 756 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()
|
| HD | term.h | 54 size_t maxcols; /* Allocated bytes in buf. */ member
|
| /freebsd-14-stable/contrib/nvi/vi/ |
| HD | vs_msg.c | 231 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-14-stable/sbin/ifconfig/ |
| HD | ifieee80211.c | 3620 printies(if_ctx *ctx, const u_int8_t *vp, int ielen, unsigned int maxcols) in printies() argument 3628 printssid(" SSID", vp, maxcols); in printies() 3662 printie(ctx, " VEN", vp, 2+vp[1], maxcols); in printies() 3676 printssid(" MESHID", vp, maxcols); in printies() 3698 printie(ctx, iename(vp[0]), vp, 2+vp[1], maxcols); in printies()
|