Home
last modified time | relevance | path

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

/freebsd/usr.bin/top/
H A Dscreen.c36 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 Ddisplay.c60 #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 Dmachine.c1120 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 Dscreen.h24 extern int screen_width;
/freebsd/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/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptions.h91 uint32_t screen_width);
/freebsd/contrib/dialog/
H A Ddialog.h132 #define DLG_COLS (COLS ? COLS : dialog_state.screen_width)
489 int screen_width; member
H A Ddialog.c1453 &dialog_state.screen_width); in PrintTextOnly()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptions.cpp396 uint32_t screen_width) { in GenerateOptionUsage() argument
538 OutputFormattedUsageText(strm, opt_def, screen_width); in GenerateOptionUsage()