Home
last modified time | relevance | path

Searched refs:screen_width (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/usr.bin/top/
H A Dscreen.c38 int screen_width; variable
69 screen_width = 0; in init_termcap()
75 screen_width = NON_INTERACTIVE_MODE_VIRTUAL_SCREEN_WIDTH; in init_termcap()
126 if ((screen_width = tgetnum("co")) == -1) in init_termcap()
128 screen_width = 79; in init_termcap()
132 screen_width -= 1; in init_termcap()
264 screen_width = ws.ws_col - 1; in get_screensize()
H A Ddisplay.c62 #define lineindex(l) ((l)*screen_width)
316 Move_to(screen_width - 8, 0); in i_timeofday()
767 width = screen_width; in trim_header()
839 if (screen_width < len) in i_process()
841 thisline[screen_width] = '\0'; in i_process()
852 if (p - base < screen_width) in i_process()
870 if (screen_width < len) in u_process()
872 newline[screen_width] = '\0'; in u_process()
898 if (optr - bufferline < screen_width) in u_process()
1281 diff = screen_width - newcol; in line_update()
[all …]
H A Dmachine.c1001 cmdbuf = calloc(screen_width + 1, 1); in format_next_process()
1003 warn("calloc(%d)", screen_width + 1); in format_next_process()
1010 snprintf(cmdbuf, screen_width, "%s{%s%s}", pp->ki_comm, in format_next_process()
1013 snprintf(cmdbuf, screen_width, "%s", pp->ki_comm); in format_next_process()
1021 snprintf(cmdbuf, screen_width, in format_next_process()
1025 snprintf(cmdbuf, screen_width, in format_next_process()
1035 argbuflen = screen_width * 4; in format_next_process()
1067 snprintf(cmdbuf, screen_width, in format_next_process()
1072 snprintf(cmdbuf, screen_width, in format_next_process()
1077 snprintf(cmdbuf, screen_width, in format_next_process()
[all …]
H A Dscreen.h26 extern int screen_width;
/freebsd-13.1/contrib/kyua/utils/cmdline/
H A Dui_test.cpp102 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 Dui.cpp130 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 Dui_mock.hpp67 optional< std::size_t > screen_width(void) const;
H A Dui.hpp61 virtual optional< std::size_t > screen_width(void) const;
H A Dui_mock.cpp91 ui_mock::screen_width(void) const in screen_width() function in ui_mock
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptions.h90 uint32_t screen_width);
/freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/
H A DOptions.cpp391 uint32_t screen_width) { in GenerateOptionUsage() argument
593 OutputFormattedUsageText(strm, opt_defs[i], screen_width); in GenerateOptionUsage()