/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Source/Common/ |
H A D | gdcmTerminal.cxx | 69 return ConsoleInfo.wAttributes; in get_attributes() 90 WORD wAttributes; in set_attributes() local 92 wAttributes = get_attributes(); in set_attributes() 132 wAttributes = (wAttributes & ~0x0007) | colors[n - 30]; in set_attributes() 134 wAttributes = (wAttributes & ~0x0007) | (wNormalAttributes & 0x0007); in set_attributes() 136 wAttributes = (wAttributes & ~0x0070) | (colors[n - 40] << 4); in set_attributes() 138 wAttributes = (wAttributes & ~0x0070) | (wNormalAttributes & 0x0070); in set_attributes() 140 wAttributes = (wAttributes & ~0x0007) | colors[n - 90] in set_attributes() 143 wAttributes = (wAttributes & ~0x0070) | (colors[n - 100] << 4) in set_attributes() 152 wAttributes = (wAttributes & COMMON_LVB_UNDERSCORE) in set_attributes() [all …]
|
/dports/devel/gdcm/gdcm-3.0.10/Source/Common/ |
H A D | gdcmTerminal.cxx | 69 return ConsoleInfo.wAttributes; in get_attributes() 90 WORD wAttributes; in set_attributes() local 92 wAttributes = get_attributes(); in set_attributes() 132 wAttributes = (wAttributes & ~0x0007) | colors[n - 30]; in set_attributes() 134 wAttributes = (wAttributes & ~0x0007) | (wNormalAttributes & 0x0007); in set_attributes() 136 wAttributes = (wAttributes & ~0x0070) | (colors[n - 40] << 4); in set_attributes() 138 wAttributes = (wAttributes & ~0x0070) | (wNormalAttributes & 0x0070); in set_attributes() 140 wAttributes = (wAttributes & ~0x0007) | colors[n - 90] in set_attributes() 143 wAttributes = (wAttributes & ~0x0070) | (colors[n - 100] << 4) in set_attributes() 152 wAttributes = (wAttributes & COMMON_LVB_UNDERSCORE) in set_attributes() [all …]
|
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/pydevd_attach_to_process/winappdbg/ |
H A D | textio.py | 876 def _set_text_attributes(wAttributes): argument 877 win32.SetConsoleTextAttribute(wAttributes = wAttributes) 923 wAttributes &= ~win32.FOREGROUND_MASK 924 wAttributes |= win32.FOREGROUND_GREY 926 cls._set_text_attributes(wAttributes) 933 cls._set_text_attributes(wAttributes) 940 cls._set_text_attributes(wAttributes) 946 wAttributes &= ~win32.FOREGROUND_MASK 948 cls._set_text_attributes(wAttributes) 963 wAttributes |= win32.FOREGROUND_RED [all …]
|
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/pydevd_attach_to_process/winappdbg/ |
H A D | textio.py | 876 def _set_text_attributes(wAttributes): argument 877 win32.SetConsoleTextAttribute(wAttributes = wAttributes) 923 wAttributes &= ~win32.FOREGROUND_MASK 924 wAttributes |= win32.FOREGROUND_GREY 926 cls._set_text_attributes(wAttributes) 933 cls._set_text_attributes(wAttributes) 940 cls._set_text_attributes(wAttributes) 946 wAttributes &= ~win32.FOREGROUND_MASK 948 cls._set_text_attributes(wAttributes) 963 wAttributes |= win32.FOREGROUND_RED [all …]
|
/dports/devel/py-pydevd/pydevd-1.1.1/pydevd_attach_to_process/winappdbg/ |
H A D | textio.py | 876 def _set_text_attributes(wAttributes): argument 877 win32.SetConsoleTextAttribute(wAttributes = wAttributes) 923 wAttributes &= ~win32.FOREGROUND_MASK 924 wAttributes |= win32.FOREGROUND_GREY 926 cls._set_text_attributes(wAttributes) 933 cls._set_text_attributes(wAttributes) 940 cls._set_text_attributes(wAttributes) 946 wAttributes &= ~win32.FOREGROUND_MASK 948 cls._set_text_attributes(wAttributes) 963 wAttributes |= win32.FOREGROUND_RED [all …]
|
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/ |
H A D | textio.py | 876 def _set_text_attributes(wAttributes): argument 877 win32.SetConsoleTextAttribute(wAttributes = wAttributes) 923 wAttributes &= ~win32.FOREGROUND_MASK 924 wAttributes |= win32.FOREGROUND_GREY 926 cls._set_text_attributes(wAttributes) 933 cls._set_text_attributes(wAttributes) 940 cls._set_text_attributes(wAttributes) 946 wAttributes &= ~win32.FOREGROUND_MASK 948 cls._set_text_attributes(wAttributes) 963 wAttributes |= win32.FOREGROUND_RED [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.le/windows/classes/jdk/internal/org/jline/terminal/impl/jna/win/ |
H A D | WindowsAnsiWriter.java | 90 originalColors = info.wAttributes; in WindowsAnsiWriter() 97 info.wAttributes = invertAttributeColors(info.wAttributes); in getConsoleInfo() 103 short attributes = info.wAttributes; in applyAttribute() 144 …Kernel32.INSTANCE.FillConsoleOutputAttribute(console, info.wAttributes, screenLength, topLeft, wri… in processEraseScreen() 249 …info.wAttributes = (short) ((info.wAttributes & ~0x0007) | ANSI_FOREGROUND_COLOR_MAP[color & 0x07]… in processSetForegroundColorExt() 250 …info.wAttributes = (short) ((info.wAttributes & ~FOREGROUND_INTENSITY) | (color >= 8 ? FOREGROUND_… in processSetForegroundColorExt() 256 …info.wAttributes = (short)((info.wAttributes & ~0x0070 ) | ANSI_BACKGROUND_COLOR_MAP[color & 0x07]… in processSetBackgroundColorExt() 257 …info.wAttributes = (short) ((info.wAttributes & ~BACKGROUND_INTENSITY) | (color >= 8 ? BACKGROUND_… in processSetBackgroundColorExt() 262 info.wAttributes = (short)((info.wAttributes & ~0x000F ) | (originalColors & 0x000F)); in processDefaultTextColor() 267 info.wAttributes = (short)((info.wAttributes & ~0x00F0 ) | (originalColors & 0x00F0)); in processDefaultBackgroundColor() [all …]
|
/dports/mail/rspamd-devel/rspamd-93430bb/contrib/replxx/src/ |
H A D | windows.hxx | 21 _defaultAttribute = info.wAttributes & INTENSITY; in WinAttributes() 22 _defaultColor = info.wAttributes & FOREGROUND_WHITE; in WinAttributes() 23 _defaultBackground = info.wAttributes & BACKGROUND_WHITE; in WinAttributes()
|
/dports/mail/rspamd/rspamd-3.1/contrib/replxx/src/ |
H A D | windows.hxx | 21 _defaultAttribute = info.wAttributes & INTENSITY; in WinAttributes() 22 _defaultColor = info.wAttributes & FOREGROUND_WHITE; in WinAttributes() 23 _defaultBackground = info.wAttributes & BACKGROUND_WHITE; in WinAttributes()
|
/dports/devel/replxx/replxx-release-0.0.3/src/ |
H A D | windows.hxx | 21 _defaultAttribute = info.wAttributes & INTENSITY; in WinAttributes() 22 _defaultColor = info.wAttributes & FOREGROUND_WHITE; in WinAttributes() 23 _defaultBackground = info.wAttributes & BACKGROUND_WHITE; in WinAttributes()
|
/dports/math/curv/curv-0.5/extern/replxx/src/ |
H A D | windows.hxx | 21 _defaultAttribute = info.wAttributes & INTENSITY; in WinAttributes() 22 _defaultColor = info.wAttributes & FOREGROUND_WHITE; in WinAttributes() 23 _defaultBackground = info.wAttributes & BACKGROUND_WHITE; in WinAttributes()
|
/dports/devel/tabulate/tabulate-1.4/include/tabulate/ |
H A D | termcolor.hpp | 411 defaultAttributes = info.wAttributes; in win_change_attributes() 426 info.wAttributes &= ~(info.wAttributes & 0x0F); in win_change_attributes() 427 info.wAttributes |= static_cast<WORD>(foreground); in win_change_attributes() 431 info.wAttributes &= ~(info.wAttributes & 0xF0); in win_change_attributes() 432 info.wAttributes |= static_cast<WORD>(background); in win_change_attributes() 435 SetConsoleTextAttribute(hTerminal, info.wAttributes); in win_change_attributes()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/iga/IGALibrary/ |
H A D | ColoredIO.cpp | 48 WORD attrs = (csbi.wAttributes & 0xFFF0) | in reset() 70 WORD attrs = csbi.wAttributes & 0xFFF0; // retain most attributes including background in setAttrs() 78 attrs |= FOREGROUND_INTENSITY & csbi.wAttributes; in setAttrs() 91 attrs |= 0xF & csbi.wAttributes; // retain old foreground in setAttrs()
|
/dports/www/wget2/wget2-2.0.0/libwget/ |
H A D | console.c | 51 SetConsoleTextAttribute(g_stdout_hnd, g_console_info.wAttributes); in reset_color() 81 SetConsoleTextAttribute (g_stdout_hnd, g_console_info.wAttributes); in wget_console_set_fg_color() 83 WORD attr = (g_console_info.wAttributes & ~7) | color[colorid]; in wget_console_set_fg_color()
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/tools/masterserver/ |
H A D | common.cpp | 93 ConsoleScreenBufferInfo.wAttributes = in dbgPrintf() 106 ConsoleScreenBufferInfo.wAttributes); in dbgPrintf() 137 ConsoleScreenBufferInfo.wAttributes = in conPrintf() 153 ConsoleScreenBufferInfo.wAttributes); in conPrintf()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/colorama/src/colorama/tests/ |
H A D | winterm_test.py | 18 mockAttr.wAttributes = 7 + 6 * 16 + 8 50 mockAttr.wAttributes = 1 + 2 * 16 + 8 102 mockAttr.wAttributes = 0 117 mockAttr.wAttributes = 0
|
/dports/archivers/maxcso/maxcso-1.10.0/libuv/src/win/ |
H A D | tty.c | 276 uv_tty_default_text_attributes = info->wAttributes; in uv_tty_capture_initial_style() 1342 info.wAttributes, in uv_tty_clear() 1474 if (fg_color & 1) info.wAttributes |= FOREGROUND_RED; in uv_tty_set_style() 1481 info.wAttributes |= FOREGROUND_INTENSITY; in uv_tty_set_style() 1483 info.wAttributes &= ~FOREGROUND_INTENSITY; in uv_tty_set_style() 1496 info.wAttributes |= BACKGROUND_INTENSITY; in uv_tty_set_style() 1498 info.wAttributes &= ~BACKGROUND_INTENSITY; in uv_tty_set_style() 1504 info.wAttributes |= COMMON_LVB_REVERSE_VIDEO; in uv_tty_set_style() 1506 info.wAttributes &= ~COMMON_LVB_REVERSE_VIDEO; in uv_tty_set_style() 1543 handle->tty.wr.saved_attributes = info.wAttributes & in uv_tty_save_state() [all …]
|
/dports/www/node10/node-v10.24.1/deps/uv/src/win/ |
H A D | tty.c | 286 uv_tty_default_text_attributes = info->wAttributes; in uv_tty_capture_initial_style() 1351 info.wAttributes, in uv_tty_clear() 1483 if (fg_color & 1) info.wAttributes |= FOREGROUND_RED; in uv_tty_set_style() 1490 info.wAttributes |= FOREGROUND_INTENSITY; in uv_tty_set_style() 1492 info.wAttributes &= ~FOREGROUND_INTENSITY; in uv_tty_set_style() 1505 info.wAttributes |= BACKGROUND_INTENSITY; in uv_tty_set_style() 1507 info.wAttributes &= ~BACKGROUND_INTENSITY; in uv_tty_set_style() 1513 info.wAttributes |= COMMON_LVB_REVERSE_VIDEO; in uv_tty_set_style() 1515 info.wAttributes &= ~COMMON_LVB_REVERSE_VIDEO; in uv_tty_set_style() 1552 handle->tty.wr.saved_attributes = info.wAttributes & in uv_tty_save_state() [all …]
|