Searched refs:maxwidth (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/dialog/ |
H A D | columns.c | 102 unsigned *maxwidth; in dlg_align_columns() local 116 maxwidth = dlg_calloc(unsigned, maxcols); in dlg_align_columns() 120 assert_ptr(maxwidth, "dlg_align_columns"); in dlg_align_columns() 128 if (maxwidth[n] < widths[n]) in dlg_align_columns() 129 maxwidth[n] = widths[n]; in dlg_align_columns() 134 realwidth += maxwidth[n]; in dlg_align_columns() 148 offset += maxwidth[n] + 1; in dlg_align_columns() 156 free(maxwidth); in dlg_align_columns()
|
/freebsd/contrib/tcsh/ |
H A D | sh.file.c | 313 int rows, r, c, maxwidth = 0, columns; in print_by_column() local 318 maxwidth = maxwidth > (r = Strlen(items[i])) ? maxwidth : r; in print_by_column() 319 maxwidth += 2; /* for the file tag and space */ in print_by_column() 320 columns = win.ws_col / maxwidth; in print_by_column() 334 for (; w < maxwidth; w++) in print_by_column()
|
H A D | tw.parse.c | 2136 unsigned int maxwidth = 0; in find_rows() local 2139 maxwidth = max(maxwidth, (unsigned int) Strlen(items[i])); in find_rows() 2141 maxwidth += no_file_suffix ? 1 : 2; /* for the file tag and space */ in find_rows() 2142 columns = (TermH + 1) / maxwidth; /* PWP: terminal size change */ in find_rows() 2161 unsigned int wx, maxwidth = 0; in print_by_column() local 2172 maxwidth = max(maxwidth, (unsigned int) NLSStringWidth(items[i])); in print_by_column() 2175 maxwidth += no_file_suffix ? 1 : 2; /* for the file tag and space */ in print_by_column() 2176 columns = TermH / maxwidth; /* PWP: terminal size change */ in print_by_column() 2217 for (; w < maxwidth; w++) in print_by_column()
|
H A D | sh.func.c | 2561 unsigned int w, maxwidth; local 2569 for (maxwidth = 0, b = bfunc; b < &bfunc[nbfunc]; ++b) 2570 maxwidth = max(maxwidth, strlen(b->bname)); 2571 ++maxwidth; /* for space */ 2573 columns = (TermH + 1) / maxwidth; /* PWP: terminal size change */ 2584 for (; w < maxwidth; w++) 2596 nt_print_builtins(maxwidth);
|
/freebsd/contrib/bsddialog/lib/ |
H A D | lib_util.c | 454 int maxwidth; in widget_max_width() local 456 maxwidth = conf->shadow ? SCREENCOLS - (int)t.shadow.x : SCREENCOLS; in widget_max_width() 457 if (maxwidth <= 0) in widget_max_width() 461 maxwidth -= conf->x; in widget_max_width() 462 if (maxwidth <= 0) in widget_max_width() 467 return (maxwidth); in widget_max_width() 596 int i, j, x, y, z, l, line, maxwidth, tablen; in text_autosize() local 598 maxwidth = widget_max_width(conf) - BORDERS - TEXTHMARGINS; in text_autosize() 605 mincols = MIN(mincols, maxwidth); in text_autosize() 664 if (mincols >= maxwidth) in text_autosize() 801 int maxheight, maxwidth; set_widget_size() local [all...] |
/freebsd/sys/contrib/v4l/ |
H A D | videodev.h | 46 int maxwidth; /* Supported width */ member
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_consume.c | 588 int minwidth, maxwidth, i; in dt_print_quanthdr_packed() local 600 maxwidth = dt_ndigits(DTRACE_QUANTIZE_BUCKETVAL(max)); in dt_print_quanthdr_packed() 602 maxwidth = 8; in dt_print_quanthdr_packed() 603 minwidth = maxwidth - 1; in dt_print_quanthdr_packed() 616 return (dt_printf(dtp, fp, ". %*s | count\n", -maxwidth, "max")); in dt_print_quanthdr_packed()
|