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

/freebsd-11-stable/contrib/dialog/
H A Dcolumns.c101 size_t maxcols = 0; local
111 if (maxcols < len)
112 maxcols = len;
114 ++maxcols;
115 widths = dlg_calloc(unsigned, maxcols);
116 offsets = dlg_calloc(unsigned, maxcols);
117 maxwidth = dlg_calloc(unsigned, maxcols);
/freebsd-11-stable/usr.bin/column/
H A Dcolumn.c230 int *lens, maxcols; local
237 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL)
239 if ((lens = calloc(maxcols, sizeof(int))) == NULL)
245 if (++coloff == maxcols) {
246 if (!(cols = realloc(cols, ((u_int)maxcols +
249 ((u_int)maxcols + DEFCOLS) * sizeof(int))))
251 memset((char *)lens + maxcols * sizeof(int),
253 maxcols += DEFCOLS;
/freebsd-11-stable/contrib/nvi/vi/
H A Dvs_msg.c235 size_t maxcols, oldx, oldy, padding; local
345 maxcols = sp->cols - 1;
347 if (len + vip->lcontinue + padding > maxcols)
358 if (len + vip->lcontinue > maxcols) {
359 for (e = s + (maxcols - vip->lcontinue);
362 e = t = s + (maxcols - vip->lcontinue);
/freebsd-11-stable/contrib/mdocml/
H A Dterm.h54 size_t maxcols; /* Allocated bytes in buf. */ member in struct:termp_col
H A Dterm.c652 if (c->maxcols == 0)
653 c->maxcols = 1024;
654 while (c->maxcols <= sz)
655 c->maxcols <<= 2;
656 c->buf = mandoc_reallocarray(c->buf, c->maxcols, sizeof(*c->buf));
666 if (p->col + 1 >= p->tcol->maxcols)
689 if (p->col + 7 >= p->tcol->maxcols)
735 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols)
/freebsd-11-stable/sbin/ifconfig/
H A Difieee80211.c3211 printies(const u_int8_t *vp, int ielen, int maxcols) argument
3217 printssid(" SSID", vp, 2+vp[1], maxcols);
3223 " RATES" : " XRATES", vp, 2+vp[1], maxcols);
3231 printcountry(" COUNTRY", vp, 2+vp[1], maxcols);
3239 printwpaie(" WPA", vp, 2+vp[1], maxcols);
3241 printwmeinfo(" WME", vp, 2+vp[1], maxcols);
3243 printwmeparam(" WME", vp, 2+vp[1], maxcols);
3245 printathie(" ATH", vp, 2+vp[1], maxcols);
3247 printwpsie(" WPS", vp, 2+vp[1], maxcols);
3249 printtdmaie(" TDMA", vp, 2+vp[1], maxcols);
3287 printie(iename(vp[0]), vp, 2+vp[1], maxcols); local
[all...]

Completed in 89 milliseconds