Searched refs:max_width (Results 1 – 3 of 3) sorted by relevance
19 size_t max_width; in test_ellipsize_mem_one() local36 max_width = MIN(utf8_console_width(n), new_length); in test_ellipsize_mem_one()41 assert_se(utf8_console_width(t1) == max_width); in test_ellipsize_mem_one()43 assert_se(utf8_console_width(t1) <= max_width); in test_ellipsize_mem_one()48 assert_se(utf8_console_width(t2) == max_width); in test_ellipsize_mem_one()50 assert_se(utf8_console_width(t2) <= max_width); in test_ellipsize_mem_one()55 assert_se(utf8_console_width(t3) == max_width); in test_ellipsize_mem_one()57 assert_se(utf8_console_width(t3) <= max_width); in test_ellipsize_mem_one()
26 size_t max_width; in show_sysfs_one() local35 max_width = SIZE_MAX; in show_sysfs_one()37 max_width = 10; in show_sysfs_one()39 max_width = n_columns; in show_sysfs_one()88 k = ellipsize(sysfs, max_width, 20); in show_sysfs_one()102 k = ellipsize(l, max_width, 70); in show_sysfs_one()
1797 size_t max_width = 0, height = 0; in console_width_height() local1823 if (k > max_width) in console_width_height()1824 max_width = k; in console_width_height()1830 *ret_width = max_width; in console_width_height()