Lines Matching refs:utf16_buf_used
1670 DWORD utf16_buf_used = 0; local
1675 if (utf16_buf_used > 0) { \
1676 uv__tty_emit_text(handle, utf16_buf, utf16_buf_used, error); \
1677 utf16_buf_used = 0; \
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);