Home
last modified time | relevance | path

Searched refs:csbi (Results 1 – 7 of 7) sorted by relevance

/third_party/ninja/src/
Dline_printer.cc44 CONSOLE_SCREEN_BUFFER_INFO csbi; in LinePrinter() local
45 smart_terminal_ = GetConsoleScreenBufferInfo(console_, &csbi); in LinePrinter()
81 CONSOLE_SCREEN_BUFFER_INFO csbi; in Print() local
82 GetConsoleScreenBufferInfo(console_, &csbi); in Print()
84 to_print = ElideMiddle(to_print, static_cast<size_t>(csbi.dwSize.X)); in Print()
93 COORD buf_size = { csbi.dwSize.X, 1 }; in Print()
95 SMALL_RECT target = { csbi.dwCursorPosition.X, csbi.dwCursorPosition.Y, in Print()
96 static_cast<SHORT>(csbi.dwCursorPosition.X + in Print()
97 csbi.dwSize.X - 1), in Print()
98 csbi.dwCursorPosition.Y }; in Print()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc300 CONSOLE_SCREEN_BUFFER_INFO csbi;
301 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi))
302 Columns = csbi.dwSize.X;
308 CONSOLE_SCREEN_BUFFER_INFO csbi;
309 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_ERROR_HANDLE), &csbi))
310 Columns = csbi.dwSize.X;
341 CONSOLE_SCREEN_BUFFER_INFO csbi;
342 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi))
343 return csbi.wAttributes;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProcess.inc291 CONSOLE_SCREEN_BUFFER_INFO csbi;
292 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi))
293 Columns = csbi.dwSize.X;
299 CONSOLE_SCREEN_BUFFER_INFO csbi;
300 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_ERROR_HANDLE), &csbi))
301 Columns = csbi.dwSize.X;
341 CONSOLE_SCREEN_BUFFER_INFO csbi;
342 if (GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi))
343 return csbi.wAttributes;
/third_party/gn/src/util/test/
Dgn_test.cc93 CONSOLE_SCREEN_BUFFER_INFO csbi; in ScopedEnableVTEscapeProcessing() local
94 if (GetConsoleScreenBufferInfo(console_, &csbi) && in ScopedEnableVTEscapeProcessing()
/third_party/libuv/test/
Dtest-tty-escape-sequence-processing.c82 CONSOLE_SCREEN_BUFFER_INFO csbi; member
97 ASSERT(GetConsoleScreenBufferInfo(tty_out->handle, &(si->csbi))); in get_screen_info()
98 si->width = si->csbi.dwSize.X; in get_screen_info()
99 si->height = si->csbi.srWindow.Bottom - si->csbi.srWindow.Top + 1; in get_screen_info()
101 si->default_attr = si->csbi.wAttributes; in get_screen_info()
102 si->top = si->csbi.srWindow.Top; in get_screen_info()
213 origin.Y = cs->si.csbi.srWindow.Top; in capture_screen()
1336 ASSERT(actual.si.csbi.srWindow.Top == 0); in TEST_IMPL()
/third_party/pcre2/pcre2/src/
Dpcre2grep.c783 static CONSOLE_SCREEN_BUFFER_INFO csbi; variable
789 WORD result = csbi.wAttributes; in decode_ANSI_colour()
799 else if (code == 39) result = (result & 0xF0) | (csbi.wAttributes & 0x0F); in decode_ANSI_colour()
801 else if (code == 49) result = (result & 0x0F) | (csbi.wAttributes & 0xF0); in decode_ANSI_colour()
821 if (!GetConsoleScreenBufferInfo(hstdout, &csbi) && !do_ansi) in init_colour_output()
825 GetConsoleScreenBufferInfo(hcon, &csbi); in init_colour_output()
1095 else SetConsoleTextAttribute(hstdout, csbi.wAttributes); in print_match()
/third_party/python/Modules/
Dposixmodule.c13179 CONSOLE_SCREEN_BUFFER_INFO csbi; in os_get_terminal_size_impl() local
13196 if (!GetConsoleScreenBufferInfo(handle, &csbi)) in os_get_terminal_size_impl()
13199 columns = csbi.srWindow.Right - csbi.srWindow.Left + 1; in os_get_terminal_size_impl()
13200 lines = csbi.srWindow.Bottom - csbi.srWindow.Top + 1; in os_get_terminal_size_impl()