Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libuv/dist/src/win/
H A Dtty.c1680 WCHAR utf16_buf[MAX_CONSOLE_CHAR]; local
1687 uv__tty_emit_text(handle, utf16_buf, utf16_buf_used, error); \
1693 if (wchars_needed > ARRAY_SIZE(utf16_buf) - utf16_buf_used) { \
2132 utf16_buf[utf16_buf_used++] = L'\r';
2133 utf16_buf[utf16_buf_used++] = L'\n';
2142 utf16_buf[utf16_buf_used++] = (WCHAR) utf8_codepoint;
2150 utf16_buf[utf16_buf_used++] = (WCHAR) utf8_codepoint;
2155 utf16_buf[utf16_buf_used++] = (WCHAR) (utf8_codepoint / 0x400 + 0xD800);
2156 utf16_buf[utf16_buf_used++] = (WCHAR) (utf8_codepoint % 0x400 + 0xDC00);