Searched refs:widths (Results 1 - 12 of 12) sorted by relevance

/freebsd-current/contrib/dialog/
H A Dcolumns.c62 * Parse the source string, storing the offsets and widths of each column in
66 split_row(char *source, unsigned *offsets, unsigned *widths) argument
76 widths[result - 1] = offset - offsets[result - 1] - (unsigned) mark;
83 widths[result - 1] = offset - offsets[result - 1];
100 unsigned *widths; local
114 widths = dlg_calloc(unsigned, maxcols);
118 assert_ptr(widths, "dlg_align_columns");
122 /* now, determine the number of columns and the column-widths */
124 unsigned cols = split_row(*value, offsets, widths);
128 if (maxwidth[n] < widths[
[all...]
/freebsd-current/contrib/kyua/utils/text/
H A Dtable.cpp45 /// Applies user overrides to the column widths of a table.
47 /// \param table The table from which to calculate the column widths.
48 /// \param user_widths The column widths provided by the user. This vector must
51 /// to the output widths vector, including width_refill.
53 /// \return A vector with the widths of the columns of the input table with any
60 text::widths_vector widths = table.column_widths(); local
62 // Override the actual width of the columns based on user-specified widths.
67 user_width >= widths[i],
68 "User-provided column widths must be larger than the "
70 widths[
87 find_refill_column(const text::widths_vector& widths) argument
112 refill_widths(text::widths_vector& widths, const text::widths_vector::value_type user_max_width, const std::size_t column_padding) argument
[all...]
/freebsd-current/cddl/usr.sbin/dtrace/tests/common/printf/
H A DMakefile11 err.D_PRINTF_ARG_EXTRA.widths.d \
56 tst.widths.d \
57 tst.widths.d.out \
/freebsd-current/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbrtowc.c79 const wchar_t widths[64]; member in struct:test
184 width != t->widths[nchar]) {
187 t->wchars[nchar], t->widths[nchar]);
H A Dt_mbstowcs.c79 int widths[64]; member in struct:test
184 wcwidth(wbuf[i]) == t->widths[i])
189 t->wchars[i], t->widths[i]);
/freebsd-current/tools/tools/locale/
H A DMakefile41 all: tools-test posix build afterbuild widths
42 .ORDER: tools-test posix build afterbuild widths
177 # generate widths.txt using the data from libut8proc
180 WIDTHS= ${ETCDIR}/final-maps/widths.txt
189 widths: ${WIDTHS}
/freebsd-current/contrib/xz/src/xz/
H A Dlist.c97 /// Field widths to use with printf to pad the strings to use the same number
226 size_t widths[ARRAY_SIZE(colon_strs)]; local
232 widths[i] = tuklib_mbstr_width(_(colon_strs[i]), &lens[i]);
241 assert(widths[i] != (size_t)-1);
242 if (widths[i] == (size_t)-1)
243 widths[i] = lens[i];
245 if (widths[i] > width_max)
246 width_max = widths[i];
252 colon_strs_fw[i] = (int)(lens[i] + width_max - widths[i]);
263 // the Check heading specially: Look at the widths o
[all...]
/freebsd-current/usr.sbin/i2c/
H A Di2c.c535 static const char *widths[] = { variable
606 for(u = 0; widths[u]; u++) {
607 length = strlen(widths[u]);
608 if (memcmp(cmd, widths[u], length))
612 width = widths[u];
/freebsd-current/share/ctypedef/
H A DMakefile15 localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
256 localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
/freebsd-current/lib/libc/stdio/
H A Dxprintf.c538 * They don't exclude field widths read from args.
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp523 static SmallVector<StringRef, 4> widths{"0", "4", "8", "4 or 8"};
526 widths[(static_cast<int>(relocAttrs.bits) >> 2) & 3] +
/freebsd-current/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c4270 static unsigned long widths[] = { local
4283 column_width = widths[type];
4408 * Otherwise use the default column widths.
10624 /* Adjust column widths for vdev properties */

Completed in 365 milliseconds