Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dtty.c1669 WCHAR utf16_buf[MAX_CONSOLE_CHAR]; local
1676 uv__tty_emit_text(handle, utf16_buf, utf16_buf_used, error); \
1682 if (wchars_needed > ARRAY_SIZE(utf16_buf) - utf16_buf_used) { \
2121 utf16_buf[utf16_buf_used++] = L'\r';
2122 utf16_buf[utf16_buf_used++] = L'\n';
2131 utf16_buf[utf16_buf_used++] = (WCHAR) utf8_codepoint;
2139 utf16_buf[utf16_buf_used++] = (WCHAR) utf8_codepoint;
2144 utf16_buf[utf16_buf_used++] = (WCHAR) (utf8_codepoint / 0x400 + 0xD800);
2145 utf16_buf[utf16_buf_used++] = (WCHAR) (utf8_codepoint % 0x400 + 0xDC00);

Completed in 8 milliseconds