Home
last modified time | relevance | path

Searched refs:CP_UTF8 (Results 1 – 25 of 69) sorted by relevance

123

/external/tensorflow/tensorflow/core/platform/windows/
Dwide_char.cc25 int size_required = MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), in Utf8ToWideChar()
28 MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), (int)utf8str.size(), in Utf8ToWideChar()
36 CP_UTF8, 0, wstr.c_str(), (int)wstr.size(), NULL, 0, NULL, NULL); in WideCharToUtf8()
38 WideCharToMultiByte(CP_UTF8, 0, wstr.c_str(), (int)wstr.size(), in WideCharToUtf8()
/external/grpc-grpc/src/core/lib/gpr/
Dstring_util_windows.cc46 int needed = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); in gpr_char_to_tchar()
49 MultiByteToWideChar(CP_UTF8, 0, input, -1, ret, needed); in gpr_char_to_tchar()
56 int needed = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); in gpr_tchar_to_char()
59 WideCharToMultiByte(CP_UTF8, 0, input, -1, ret, needed, NULL, NULL); in gpr_tchar_to_char()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dstring_util_windows.cc46 int needed = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); in gpr_char_to_tchar()
49 MultiByteToWideChar(CP_UTF8, 0, input, -1, ret, needed); in gpr_char_to_tchar()
56 int needed = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); in gpr_tchar_to_char()
59 WideCharToMultiByte(CP_UTF8, 0, input, -1, ret, needed, NULL, NULL); in gpr_tchar_to_char()
/external/webrtc/rtc_base/
Dstring_utils.h52 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16()
55 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), &*ws.begin(), in ToUtf16()
67 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), in ToUtf8()
70 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), &*ns.begin(), in ToUtf8()
/external/ImageMagick/MagickCore/
Dutility-private.h70 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0); in create_wchar_path()
86 count=MultiByteToWideChar(CP_UTF8,0,buffer,-1,longPath,count); in create_wchar_path()
99 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count); in create_wchar_path()
170 (void) WideCharToMultiByte(CP_UTF8,0,wide_path,-1,path,(int) extent,NULL,NULL); in getcwd_utf8()
215 length=MultiByteToWideChar(CP_UTF8,0,type,-1,type_wide,5); in popen_utf8()
218 length=MultiByteToWideChar(CP_UTF8,0,command,-1,NULL,0); in popen_utf8()
224 length=MultiByteToWideChar(CP_UTF8,0,command,-1,command_wide,length); in popen_utf8()
/external/curl/lib/
Dcurl_multibyte.c42 int str_w_len = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, in curlx_convert_UTF8_to_wchar()
47 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
64 int bytes = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, in curlx_convert_wchar_to_UTF8()
69 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
/external/skia/src/utils/win/
DSkDWrite.cpp57 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar()
63 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
72 int len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, nullptr, 0, nullptr, nullptr); in sk_wchar_to_skstring()
83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
/external/skqp/src/utils/win/
DSkDWrite.cpp57 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar()
63 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
72 int len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, nullptr, 0, nullptr, nullptr); in sk_wchar_to_skstring()
83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
/external/mdnsresponder/mDNSWindows/
DWinServices.cpp34 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, NULL, 0 ); in UTF8StringToStringObject()
44 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, unicode, n ); in UTF8StringToStringObject()
85 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, inObject.GetBuffer(), inObject.GetLength(), outUT… in StringObjectToUTF8String()
DSecret.c271 size = MultiByteToWideChar( CP_UTF8, 0, input, -1, NULL, 0 ); in MakeLsaStringFromUTF8String()
278 size = MultiByteToWideChar( CP_UTF8, 0, input, -1, output->Buffer, size ); in MakeLsaStringFromUTF8String()
315 …size = (size_t) WideCharToMultiByte(CP_UTF8, 0, input->Buffer, ( input->Length / sizeof( wchar_t )… in MakeUTF8StringFromLsaString()
325 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, input->Buffer, ( input->Length / sizeof( wchar_t … in MakeUTF8StringFromLsaString()
/external/flac/src/share/utf8/
Dutf8.c58 len = WideCharToMultiByte(CP_UTF8, 0, unicode, -1, NULL, 0, NULL, NULL); in utf8_encode()
62 len = WideCharToMultiByte(CP_UTF8, 0, unicode, -1, utf8, len, NULL, NULL); in utf8_encode()
90 len = MultiByteToWideChar(CP_UTF8, 0, from, -1, NULL, 0); in utf8_decode()
94 len = MultiByteToWideChar(CP_UTF8, 0, from, -1, unicode, len); in utf8_decode()
/external/mdnsresponder/mDNSWindows/DLLX/
DStringServices.cpp71 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, utf16String, ( int ) wcslen( utf16String ), NULL,… in BSTRToUTF8()
99 …size = (size_t) WideCharToMultiByte( CP_UTF8, 0, utf16String, ( int ) wcslen( utf16String ), utf8S… in BSTRToUTF8()
169 n = MultiByteToWideChar( CP_UTF8, 0, inString, -1, NULL, 0 ); in UTF8ToBSTR()
199 n = MultiByteToWideChar( CP_UTF8, 0, inString, -1, unicode, n ); in UTF8ToBSTR()
/external/flac/src/share/win_utf8_io/
Dwin_utf8_io.c69 if ((len = WideCharToMultiByte(CP_UTF8, 0, wstr, -1, NULL, 0, NULL, NULL)) == 0) in utf8_from_wchar()
73 if (WideCharToMultiByte(CP_UTF8, 0, wstr, -1, utf8str, len, NULL, NULL) == 0) { in utf8_from_wchar()
89 if ((len = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0)) == 0) in wchar_from_utf8()
93 if (MultiByteToWideChar(CP_UTF8, 0, str, -1, widestr, len) == 0) { in wchar_from_utf8()
174 len = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0); /* includes terminating null */ in strlen_utf8()
/external/python/cpython3/Modules/_io/
Dwinconsoleio.c700 if (WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
705 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
718 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
855 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
874 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
983 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
992 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
1002 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, wbuf, wlen); in _io__WindowsConsoleIO_write_impl()
1011 len = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in _io__WindowsConsoleIO_write_impl()
1014 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, in _io__WindowsConsoleIO_write_impl()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtil.cpp64 int len = WideCharToMultiByte(CP_UTF8, 0, wstr.wstr, -1, NULL, 0, 0, 0); in operator <<()
70 WideCharToMultiByte(CP_UTF8, 0, wstr.wstr, -1, &result[0], len, 0, 0); in operator <<()
/external/python/cpython3/Parser/
Dmyreadline.c204 u8len = WideCharToMultiByte(CP_UTF8, 0, in _PyOS_WindowsConsoleReadline()
216 u8len = WideCharToMultiByte(CP_UTF8, 0, in _PyOS_WindowsConsoleReadline()
263 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
273 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
/external/skqp/tools/sk_app/win/
Dmain_win.cpp20 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
22 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/external/skia/tools/sk_app/win/
Dmain_win.cpp20 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
22 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/external/protobuf/src/google/protobuf/io/
Dio_win32.cc370 outUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, nullptr, 0, nullptr, in wcs_to_mbs()
378 outUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, astr.get(), size, nullptr, nullptr); in wcs_to_mbs()
391 MultiByteToWideChar(inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, nullptr, 0); in mbs_to_wcs()
397 inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, wstr.get(), size + 1); in mbs_to_wcs()
/external/webrtc/rtc_base/system/
Dfile_wrapper.cc28 int len = MultiByteToWideChar(CP_UTF8, 0, file_name_utf8, -1, nullptr, 0); in FileOpen()
30 MultiByteToWideChar(CP_UTF8, 0, file_name_utf8, -1, &wstr[0], len); in FileOpen()
/external/flac/src/libFLAC/
Dwindows_unicode_filenames.c50 if ((len = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0)) == 0) in wchar_from_utf8()
54 if (MultiByteToWideChar(CP_UTF8, 0, str, -1, widestr, len) == 0) { in wchar_from_utf8()
/external/lzma/CPP/Common/
DStdOutStream.cpp54 if (codePage == CP_UTF8) in operator <<()
66 if (codePage == CP_UTF8) in StdOut_Convert_UString_to_AString()
/external/curl/src/
Dtool_cb_wrt.c204 wc_len = MultiByteToWideChar(CP_UTF8, 0, buffer, in_len, NULL, 0); in tool_write_cb()
210 wc_len = MultiByteToWideChar(CP_UTF8, 0, buffer, in_len, wc_buf, wc_len); in tool_write_cb()
/external/webrtc/modules/video_capture/windows/
Ddevice_info_ds.cc162 convResult = WideCharToMultiByte(CP_UTF8, 0, varName.bstrVal, -1, in GetDeviceInfo()
182 CP_UTF8, 0, varName.bstrVal, -1, (char*)deviceUniqueIdUTF8, in GetDeviceInfo()
254 WideCharToMultiByte(CP_UTF8, 0, varName.bstrVal, -1, in GetDeviceFilter()
614 MultiByteToWideChar(CP_UTF8, 0, (char*)dialogTitleUTF8, -1, in DisplayCaptureSettingsDialogBox()
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc74 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); in UTF8ToWide()
82 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount); in UTF8ToWide()
163 return WideToMBCP(wide, CP_UTF8); in WideToUTF8()

123