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

/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/mdocml/
H A Dterm.c493 if (0 == p->maxcols)
494 p->maxcols = 1024;
495 while (sz >= p->maxcols)
496 p->maxcols <<= 2;
499 (p->buf, sizeof(int) * (size_t)p->maxcols);
506 if (p->col + 1 >= p->maxcols)
522 if (p->col + 4 >= p->maxcols)
555 if (p->col + len >= p->maxcols)
564 if (p->col + 1 + (len * 3) >= p->maxcols)
H A Dterm.h60 int maxcols; /* Max size of buf. */ member in struct:termp
/freebsd-10.1-release/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-10.1-release/sbin/ifconfig/
H A Difieee80211.c3093 printies(const u_int8_t *vp, int ielen, int maxcols) argument
3099 printssid(" SSID", vp, 2+vp[1], maxcols);
3105 " RATES" : " XRATES", vp, 2+vp[1], maxcols);
3113 printcountry(" COUNTRY", vp, 2+vp[1], maxcols);
3121 printwpaie(" WPA", vp, 2+vp[1], maxcols);
3123 printwmeinfo(" WME", vp, 2+vp[1], maxcols);
3125 printwmeparam(" WME", vp, 2+vp[1], maxcols);
3127 printathie(" ATH", vp, 2+vp[1], maxcols);
3129 printwpsie(" WPS", vp, 2+vp[1], maxcols);
3131 printtdmaie(" TDMA", vp, 2+vp[1], maxcols);
3154 printie(iename(vp[0]), vp, 2+vp[1], maxcols); local
[all...]

Completed in 129 milliseconds