Lines Matching refs:wr
275 tty->tty.wr.utf8_bytes_left = 0; in uv_tty_init()
276 tty->tty.wr.utf8_codepoint = 0; in uv_tty_init()
279 tty->tty.wr.previous_eol = 0; in uv_tty_init()
282 tty->tty.wr.ansi_parser_state = ANSI_NORMAL; in uv_tty_init()
1404 unsigned short argc = handle->tty.wr.ansi_csi_argc; in uv__tty_set_style()
1405 unsigned short* argv = handle->tty.wr.ansi_csi_argv; in uv__tty_set_style()
1574 handle->tty.wr.saved_position.X = info.dwCursorPosition.X; in uv__tty_save_state()
1575 handle->tty.wr.saved_position.Y = info.dwCursorPosition.Y - in uv__tty_save_state()
1580 handle->tty.wr.saved_attributes = info.wAttributes & in uv__tty_save_state()
1600 handle->tty.wr.saved_position.X, in uv__tty_restore_state()
1602 handle->tty.wr.saved_position.Y, in uv__tty_restore_state()
1618 new_attributes |= handle->tty.wr.saved_attributes; in uv__tty_restore_state()
1698 unsigned char utf8_bytes_left = handle->tty.wr.utf8_bytes_left;
1699 unsigned int utf8_codepoint = handle->tty.wr.utf8_codepoint;
1700 unsigned char previous_eol = handle->tty.wr.previous_eol;
1701 unsigned short ansi_parser_state = handle->tty.wr.ansi_parser_state;
1779 handle->tty.wr.ansi_csi_argc = 0;
1787 handle->tty.wr.ansi_csi_argc = 0;
1849 int style = handle->tty.wr.ansi_csi_argc
1850 ? handle->tty.wr.ansi_csi_argv[0] : 1;
1874 if (handle->tty.wr.ansi_csi_argc >=
1875 ARRAY_SIZE(handle->tty.wr.ansi_csi_argv)) {
1880 handle->tty.wr.ansi_csi_argc++;
1881 handle->tty.wr.ansi_csi_argv[handle->tty.wr.ansi_csi_argc - 1] =
1888 handle->tty.wr.ansi_csi_argv[handle->tty.wr.ansi_csi_argc - 1];
1896 handle->tty.wr.ansi_csi_argv[handle->tty.wr.ansi_csi_argc - 1] =
1912 if (handle->tty.wr.ansi_csi_argc >=
1914 ARRAY_SIZE(handle->tty.wr.ansi_csi_argv)) {
1919 handle->tty.wr.ansi_csi_argc++;
1920 handle->tty.wr.ansi_csi_argv[handle->tty.wr.ansi_csi_argc - 1] = 0;
1927 handle->tty.wr.ansi_csi_argc == 0) {
1948 if (handle->tty.wr.ansi_csi_argc == 1 &&
1949 handle->tty.wr.ansi_csi_argv[0] == 25) {
1957 if (handle->tty.wr.ansi_csi_argc == 1 &&
1958 handle->tty.wr.ansi_csi_argv[0] == 25) {
1972 y = -(handle->tty.wr.ansi_csi_argc
1973 ? handle->tty.wr.ansi_csi_argv[0] : 1);
1980 y = handle->tty.wr.ansi_csi_argc
1981 ? handle->tty.wr.ansi_csi_argv[0] : 1;
1988 x = handle->tty.wr.ansi_csi_argc
1989 ? handle->tty.wr.ansi_csi_argv[0] : 1;
1996 x = -(handle->tty.wr.ansi_csi_argc
1997 ? handle->tty.wr.ansi_csi_argv[0] : 1);
2004 y = handle->tty.wr.ansi_csi_argc
2005 ? handle->tty.wr.ansi_csi_argv[0] : 1;
2012 y = -(handle->tty.wr.ansi_csi_argc
2013 ? handle->tty.wr.ansi_csi_argv[0] : 1);
2020 x = (handle->tty.wr.ansi_csi_argc >= 1 &&
2021 handle->tty.wr.ansi_csi_argv[0])
2022 ? handle->tty.wr.ansi_csi_argv[0] - 1 : 0;
2030 y = (handle->tty.wr.ansi_csi_argc >= 1 &&
2031 handle->tty.wr.ansi_csi_argv[0])
2032 ? handle->tty.wr.ansi_csi_argv[0] - 1 : 0;
2033 x = (handle->tty.wr.ansi_csi_argc >= 2 &&
2034 handle->tty.wr.ansi_csi_argv[1])
2035 ? handle->tty.wr.ansi_csi_argv[1] - 1 : 0;
2042 d = handle->tty.wr.ansi_csi_argc
2043 ? handle->tty.wr.ansi_csi_argv[0] : 0;
2052 d = handle->tty.wr.ansi_csi_argc
2053 ? handle->tty.wr.ansi_csi_argv[0] : 0;
2166 handle->tty.wr.utf8_bytes_left = utf8_bytes_left;
2167 handle->tty.wr.utf8_codepoint = utf8_codepoint;
2168 handle->tty.wr.previous_eol = previous_eol;
2169 handle->tty.wr.ansi_parser_state = ansi_parser_state;