Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DConvertUTF.h296 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
299 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
/external/llvm/lib/Support/Windows/
DWindowsSupport.h221 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
224 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
DPath.inc961 size_t utf16_len,
963 if (utf16_len) {
965 int len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, utf8.begin(),
975 len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, utf8.data(),
989 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
991 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8);
994 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
996 return UTF16ToCodePage(CP_ACP, utf16, utf16_len, utf8);
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DWindowsSupport.h255 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
258 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
DPath.inc943 size_t utf16_len,
945 if (utf16_len) {
947 int len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, utf8.begin(),
957 len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, utf8.data(),
971 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
973 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8);
976 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
978 return UTF16ToCodePage(CP_ACP, utf16, utf16_len, utf8);
/external/u-boot/lib/
Dvsprintf.c281 int utf16_len = utf16_strnlen(str, precision); in string16() local
282 u8 utf8[utf16_len * MAX_UTF8_PER_UTF16]; in string16()
285 utf8_len = utf16_to_utf8(utf8, str, utf16_len) - utf8; in string16()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DPath.inc1363 size_t utf16_len,
1365 if (utf16_len) {
1367 int len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, converted.begin(),
1378 len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, converted.data(),
1393 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
1395 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8);
1398 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
1400 return UTF16ToCodePage(CP_ACP, utf16, utf16_len, curcp);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc69 error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
73 utf16, utf16_len,
85 utf16, utf16_len,