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

/freebsd-13-stable/usr.bin/top/
H A Dscreen.h26 extern int screen_width;
H A Dscreen.c38 int screen_width; variable
69 screen_width = 0;
75 screen_width = NON_INTERACTIVE_MODE_VIRTUAL_SCREEN_WIDTH;
125 /* screen_width is a little different */
126 if ((screen_width = tgetnum("co")) == -1)
128 screen_width = 79;
132 screen_width -= 1;
171 /* This may change screen_width and screen_length, and it always
264 screen_width = ws.ws_col - 1;
H A Ddisplay.c62 #define lineindex(l) ((l)*screen_width)
146 screenbuf = calloc(lines, screen_width);
316 Move_to(screen_width - 8, 0);
767 width = screen_width;
839 if (screen_width < len)
841 thisline[screen_width] = '\0';
852 if (p - base < screen_width)
854 memset(p, 0, screen_width - (p - base));
870 if (screen_width < len)
872 newline[screen_width]
[all...]
H A Dmachine.c966 cmdbuf = calloc(screen_width + 1, 1);
968 warn("calloc(%d)", screen_width + 1);
975 snprintf(cmdbuf, screen_width, "%s{%s%s}", pp->ki_comm,
978 snprintf(cmdbuf, screen_width, "%s", pp->ki_comm);
982 (args = kvm_getargv(kd, pp, screen_width)) == NULL ||
986 snprintf(cmdbuf, screen_width,
990 snprintf(cmdbuf, screen_width,
1000 argbuflen = screen_width * 4;
1032 snprintf(cmdbuf, screen_width,
1037 snprintf(cmdbuf, screen_width,
[all...]
/freebsd-13-stable/contrib/kyua/utils/cmdline/
H A Dui.hpp61 virtual optional< std::size_t > screen_width(void) const;
H A Dui_mock.hpp67 optional< std::size_t > screen_width(void) const;
H A Dui_test.cpp71 /// result is 5 columns narrower to match the screen_width() algorithm.
102 ATF_REQUIRE_EQ(4321 - 5, ui.screen_width().get());
113 ATF_REQUIRE_EQ(4321 - 5, ui.screen_width().get());
124 ATF_REQUIRE(!ui.screen_width());
135 ATF_REQUIRE_EQ(columns, ui.screen_width().get());
146 ATF_REQUIRE(!ui.screen_width());
157 ATF_REQUIRE_EQ(columns, ui.screen_width().get());
173 ATF_REQUIRE(!ui.screen_width());
183 ATF_REQUIRE_EQ(100 - 5, ui.screen_width().get());
186 ATF_REQUIRE_EQ(100 - 5, ui.screen_width()
[all...]
H A Dui.cpp130 cmdline::ui::screen_width(void) const function in class:cmdline::ui
172 const optional< std::size_t > max_width = screen_width();
198 const optional< std::size_t > max_width = screen_width();
229 const optional< std::size_t > max_width = screen_width();
H A Dui_mock.cpp91 ui_mock::screen_width(void) const function in class:ui_mock
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptions.h95 uint32_t screen_width);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptions.cpp394 uint32_t screen_width) {
596 OutputFormattedUsageText(strm, opt_defs[i], screen_width);

Completed in 117 milliseconds