Searched refs:column_width (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | RegisterFlags.cpp | 162 unsigned column_width) { in FormatCell() argument 163 unsigned pad = column_width - content.GetString().size(); in FormatCell() 204 unsigned column_width = position.GetString().size(); in AsTable() local 206 if (name_width > column_width) in AsTable() 207 column_width = name_width; in AsTable() 214 if (current_width && ((current_width + column_width + 1) >= max_width)) { in AsTable() 224 StreamString aligned_position = FormatCell(position, column_width); in AsTable() 227 grid << '|' << std::string(column_width, '-'); in AsTable() 229 StreamString aligned_name = FormatCell(name, column_width); in AsTable() 233 current_width += column_width + 1; in AsTable()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | AnsiTerminal.h | 232 size_t column_width = llvm::sys::locale::columnWidth(left); 233 if (result_visibile_length + column_width <= visible_length) { 235 result_visibile_length += column_width; 246 column_width = llvm::sys::locale::columnWidth(trimmed); 247 if (result_visibile_length + column_width <= visible_length) { 249 result_visibile_length += column_width;
|
| /freebsd/contrib/kyua/cli/ |
| H A D | cmd_help.cpp | 110 options_table.column_width(0); in general_help() 132 if (table.column_width(0) > first_width) in general_help() 133 first_width = table.column_width(0); in general_help() 187 std::max(general_table.column_width(0), command_table.column_width(0)); in subcommand_help()
|
| /freebsd/contrib/kyua/utils/text/ |
| H A D | table_test.cpp | 87 ATF_REQUIRE_EQ(4, table.column_width(0)); in ATF_TEST_CASE_BODY() 88 ATF_REQUIRE_EQ(8, table.column_width(1)); in ATF_TEST_CASE_BODY() 372 std::max(options_table.column_width(0), commands_table.column_width(0)); in ATF_TEST_CASE_BODY()
|
| H A D | table.hpp | 71 widths_vector::value_type column_width(const widths_vector::size_type)
|
| H A D | table.cpp | 262 text::table::column_width(const widths_vector::size_type column) const in column_width() function in text::table
|
| /freebsd/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 4823 unsigned long column_width = 5; /* Normal niceprint */ in default_column_width() local 4837 column_width = widths[type]; in default_column_width() 4839 return (column_width); in default_column_width() 4859 unsigned int column_width = force_column_width; in print_iostat_labels() local 4865 column_width = default_column_width(cb, idx); in print_iostat_labels() 4877 rw_column_width = (column_width * columns) + in print_iostat_labels() 5003 unsigned int column_width; in print_iostat_dashes() local 5006 column_width = force_column_width; in print_iostat_dashes() 5008 column_width = default_column_width(cb, idx); in print_iostat_dashes() 5013 printf(" %*s-", column_width - 1, " "); in print_iostat_dashes() [all …]
|