Searched refs:utf16 (Results 1 – 5 of 5) sorted by relevance
/libuv/src/win/ |
H A D | internal.h | 260 int uv__convert_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char** utf8); 261 int uv__copy_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char* utf8, size_t *size); 262 int uv__convert_utf8_to_utf16(const char* utf8, WCHAR** utf16);
|
H A D | util.c | 1024 int uv__convert_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char** utf8) { in uv__convert_utf16_to_utf8() argument 1027 if (utf16 == NULL) in uv__convert_utf16_to_utf8() 1031 return uv_utf16_to_wtf8(utf16, utf16len, utf8, &utf8_len); in uv__convert_utf16_to_utf8() 1039 int uv__convert_utf8_to_utf16(const char* utf8, WCHAR** utf16) { in uv__convert_utf8_to_utf16() argument 1051 *utf16 = uv__malloc(sizeof(WCHAR) * bufsize); in uv__convert_utf8_to_utf16() 1053 if (*utf16 == NULL) in uv__convert_utf8_to_utf16() 1057 uv_wtf8_to_utf16(utf8, *utf16, bufsize); in uv__convert_utf8_to_utf16()
|
H A D | tty.c | 487 WCHAR utf16[MAX_INPUT_BUFFER_LENGTH / 3]; in uv_tty_line_read_thread() local 524 (void*) utf16, in uv_tty_line_read_thread() 531 uv_utf16_to_wtf8(utf16, in uv_tty_line_read_thread()
|
/libuv/docs/src/ |
H A D | misc.rst | 891 .. c:function:: size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, ssize_t utf16_len) 893 Get the length of a UTF-16 (or UCS-2) `utf16` value after converting it to 894 WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1, 899 .. c:function:: int uv_utf16_to_wtf8(const uint16_t* utf16, ssize_t utf16_len, char** wtf8_ptr, siz… 901 Convert UTF-16 (or UCS-2) data in `utf16` to WTF-8 data in `*wtf8_ptr`. The 902 `utf16_len` count (in characters) gives the length of `utf16`. If `utf16` 923 .. c:function:: void uv_wtf8_to_utf16(const char* utf8, uint16_t* utf16, size_t utf16_len) 926 in `utf16`. The `utf16_len` count (in characters) must include space
|
/libuv/include/ |
H A D | uv.h | 1946 UV_EXTERN size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, 1948 UV_EXTERN int uv_utf16_to_wtf8(const uint16_t* utf16, 1954 uint16_t* utf16,
|
Completed in 23 milliseconds