Searched refs:maxwidth (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/bin/df/ |
| H A D | df.c | 77 int width, maxwidth; in main() local 163 maxwidth = 11; in main() 166 if (width > maxwidth) in main() 167 maxwidth = width; in main() 171 posixprint(mntbuf, mntsize, maxwidth); in main() 173 bsdprint(mntbuf, mntsize, maxwidth); in main() 312 prtstat(struct statfs *sfsp, int maxwidth, int headerlen, int blocksize) in prtstat() argument 317 (void)printf("%-*.*s", maxwidth, maxwidth, sfsp->f_mntfromname); in prtstat() 342 bsdprint(struct statfs *mntbuf, long mntsize, int maxwidth) in bsdprint() argument 354 maxwidth, maxwidth, "Filesystem", header); in bsdprint() [all …]
|
| /openbsd-src/bin/ps/ |
| H A D | utf8.c | 27 mbswprint(const char *mbs, int maxwidth, int trail) in mbswprint() argument 36 while (*mbs != '\0' && total_width < maxwidth) { in mbswprint() 53 if (total_width + width > maxwidth) in mbswprint() 60 while (total_width++ < maxwidth) in mbswprint()
|
| /openbsd-src/usr.bin/lam/ |
| H A D | lam.c | 54 int maxwidth; /* truncate this column */ member 151 ip->maxwidth = strtonum(q, 1, INT_MAX, in getargs() 157 ip->maxwidth = INT_MAX; in getargs() 187 ip->maxwidth = (ip-1)->maxwidth; in getargs() 189 ip->maxwidth = INT_MAX; in getargs() 259 width = mbswidth_truncate(s, ip->maxwidth); in gatherline()
|
| H A D | utf8.c | 28 mbswidth_truncate(char *mbs, int maxwidth) in mbswidth_truncate() argument 39 if (sum + width > maxwidth) { in mbswidth_truncate()
|
| /openbsd-src/usr.bin/rs/ |
| H A D | rs.c | 78 int maxwidth; variable 155 if (maxwidth < ep->w) in getfile() 156 maxwidth = ep->w; in getfile() 171 if (maxwidth < ep->w) in getfile() 172 maxwidth = ep->w; in getfile() 251 gutter += maxwidth * propgutter / 100.0; in prepfile() 252 colw = maxwidth + gutter; in prepfile()
|
| /openbsd-src/usr.bin/mg/ |
| H A D | echo.c | 646 int i, maxwidth, width; in complt_list() local 717 maxwidth = 0; in complt_list() 726 if (width > maxwidth) in complt_list() 727 maxwidth = width; in complt_list() 731 maxwidth += 1 - preflen; in complt_list() 737 linesize = (ncol > maxwidth ? ncol : maxwidth) + 1; in complt_list() 757 if ((width + maxwidth) > ncol) { in complt_list() 764 width += maxwidth; in complt_list() 768 maxwidth - strlen(lh2->l_name + preflen)); in complt_list()
|
| /openbsd-src/usr.bin/less/ |
| H A D | prompt.c | 434 pr_expand(const char *proto, int maxwidth) in pr_expand() argument 483 if (maxwidth > 0 && mp >= message + maxwidth) { in pr_expand() 488 return (mp - maxwidth); in pr_expand()
|
| /openbsd-src/bin/csh/ |
| H A D | file.c | 476 int i, rows, r, c, maxwidth = 0, columns; in print_by_column() local 481 maxwidth = maxwidth > (r = Strlen(items[i])) ? maxwidth : r; in print_by_column() 482 maxwidth += 2; /* for the file tag and space */ in print_by_column() 483 columns = win.ws_col / maxwidth; in print_by_column() 497 for (; w < maxwidth; w++) in print_by_column()
|
| /openbsd-src/sys/dev/sbus/ |
| H A D | rfx.c | 69 u_int32_t maxwidth; /* unsure */ member
|