Searched refs:maxcols (Results 1 – 5 of 5) sorted by relevance
| /freebsd/usr.bin/column/ |
| H A D | 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() 247 if (++coloff == maxcols) { in maketbl() 248 if (!(cols = realloc(cols, ((u_int)maxcols + in maketbl() 251 ((u_int)maxcols + DEFCOLS) * sizeof(int)))) in maketbl() 253 memset((char *)lens + maxcols * sizeof(int), in maketbl() 255 maxcols += DEFCOLS; in maketbl()
|
| /freebsd/contrib/nvi/vi/ |
| H A D | 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/contrib/mandoc/ |
| H A D | term.c | 824 if (c->maxcols == 0) in bufferc() 825 c->maxcols = 1024; in bufferc() 826 while (c->maxcols <= sz) 827 c->maxcols <<= 2; 828 c->buf = mandoc_reallocarray(c->buf, c->maxcols, sizeof(*c->buf)); in term_tab_ref() 838 if (p->col + 1 >= p->tcol->maxcols) 869 if (p->col + 7 >= p->tcol->maxcols) in encode1() 915 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols) in encode()
|
| H A D | term.h | 50 size_t maxcols; /* Allocated bytes in buf. */ 54 size_t maxcols; /* Allocated bytes in buf. */ global() member
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifieee80211.c | 3850 printexties(if_ctx *ctx, const u_int8_t *vp, unsigned int maxcols) in printexties() argument 3869 printie(ctx, iename(vp[0], vp), vp, 2+vp[1], maxcols); in printexties() 3875 printies(if_ctx *ctx, const u_int8_t *vp, int ielen, unsigned int maxcols) in printies() argument 3883 printssid(" SSID", vp, maxcols); in printies() 3917 printie(ctx, " VEN", vp, 2+vp[1], maxcols); in printies() 3934 printssid(" MESHID", vp, maxcols); in printies() 3958 printexties(ctx, vp, maxcols); in printies() 3962 printie(ctx, iename(vp[0], vp), vp, 2+vp[1], maxcols); in printies()
|