Searched refs:screen_width (Results 1 – 13 of 13) sorted by relevance
| /freebsd/usr.bin/top/ |
| H A D | screen.c | 36 int screen_width; variable 67 screen_width = 0; in init_termcap() 73 screen_width = NON_INTERACTIVE_MODE_VIRTUAL_SCREEN_WIDTH; in init_termcap() 124 if ((screen_width = tgetnum("co")) == -1) in init_termcap() 126 screen_width = 79; in init_termcap() 130 screen_width -= 1; in init_termcap() 262 screen_width = ws.ws_col - 1; in get_screensize()
|
| H A D | display.c | 60 #define lineindex(l) ((l)*screen_width) 144 screenbuf = calloc(lines, screen_width); in display_resize() 314 Move_to(screen_width - 8, 0); in i_timeofday() 765 width = screen_width; in trim_header() 837 if (screen_width < len) in i_process() 839 thisline[screen_width] = '\0'; in i_process() 850 if (p - base < screen_width) in i_process() 852 memset(p, 0, screen_width - (p - base)); in i_process() 868 if (screen_width < len) in u_process() 870 newline[screen_width] = '\0'; in u_process() [all …]
|
| H A D | machine.c | 1120 cmdbuf = calloc(screen_width + 1, 1); in format_next_process() 1122 warn("calloc(%d)", screen_width + 1); in format_next_process() 1129 snprintf(cmdbuf, screen_width, "%s{%s%s}", pp->ki_comm, in format_next_process() 1132 snprintf(cmdbuf, screen_width, "%s", pp->ki_comm); in format_next_process() 1136 (args = kvm_getargv(kd, pp, screen_width)) == NULL || in format_next_process() 1140 snprintf(cmdbuf, screen_width, in format_next_process() 1144 snprintf(cmdbuf, screen_width, in format_next_process() 1154 argbuflen = screen_width * 4; in format_next_process() 1186 snprintf(cmdbuf, screen_width, in format_next_process() 1191 snprintf(cmdbuf, screen_width, in format_next_process() [all …]
|
| H A D | screen.h | 24 extern int screen_width;
|
| /freebsd/contrib/kyua/utils/cmdline/ |
| H A D | ui_test.cpp | 102 ATF_REQUIRE_EQ(4321 - 5, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 113 ATF_REQUIRE_EQ(4321 - 5, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 124 ATF_REQUIRE(!ui.screen_width()); in ATF_TEST_CASE_BODY() 135 ATF_REQUIRE_EQ(columns, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 146 ATF_REQUIRE(!ui.screen_width()); in ATF_TEST_CASE_BODY() 157 ATF_REQUIRE_EQ(columns, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 173 ATF_REQUIRE(!ui.screen_width()); in ATF_TEST_CASE_BODY() 183 ATF_REQUIRE_EQ(100 - 5, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 186 ATF_REQUIRE_EQ(100 - 5, ui.screen_width().get()); in ATF_TEST_CASE_BODY() 189 ATF_REQUIRE_EQ(100 - 5, ui.screen_width().get()); in ATF_TEST_CASE_BODY()
|
| H A D | ui.cpp | 130 cmdline::ui::screen_width(void) const in screen_width() function in cmdline::ui 172 const optional< std::size_t > max_width = screen_width(); in out_wrap() 198 const optional< std::size_t > max_width = screen_width(); in out_tag_wrap() 229 const optional< std::size_t > max_width = screen_width(); in out_table()
|
| H A D | ui_mock.hpp | 67 optional< std::size_t > screen_width(void) const;
|
| H A D | ui.hpp | 61 virtual optional< std::size_t > screen_width(void) const;
|
| H A D | ui_mock.cpp | 91 ui_mock::screen_width(void) const in screen_width() function in ui_mock
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | Options.h | 91 uint32_t screen_width);
|
| /freebsd/contrib/dialog/ |
| H A D | dialog.h | 132 #define DLG_COLS (COLS ? COLS : dialog_state.screen_width) 489 int screen_width; member
|
| H A D | dialog.c | 1453 &dialog_state.screen_width); in PrintTextOnly()
|
| /freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | Options.cpp | 396 uint32_t screen_width) { in GenerateOptionUsage() argument 538 OutputFormattedUsageText(strm, opt_def, screen_width); in GenerateOptionUsage()
|