Home
last modified time | relevance | path

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

123

/external/curl/lib/
Dcurl_multibyte.c45 int str_w_len = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
67 int bytes = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in Curl_convert_wchar_to_UTF8()
/external/tensorflow/tensorflow/core/platform/windows/
Dwide_char.h29 int size_required = MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), in Utf8ToWideChar()
32 MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), (int)utf8str.size(), in Utf8ToWideChar()
40 CP_UTF8, 0, wstr.c_str(), (int)wstr.size(), NULL, 0, NULL, NULL); in WideCharToUtf8()
42 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/webrtc/webrtc/system_wrappers/include/
Dutf_util_win.h25 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16()
28 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws.get(), in ToUtf16()
38 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), in ToUtf8()
41 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns.get(), len8, in ToUtf8()
/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/webrtc/webrtc/base/
Dwin32.h50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16()
53 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16); in ToUtf16()
62 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), in ToUtf8()
65 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns, len8, in ToUtf8()
/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/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/python/cpython3/Modules/_io/
Dwinconsoleio.c699 if (WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
704 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
717 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
854 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
873 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
982 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
991 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
1001 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, wbuf, wlen); in _io__WindowsConsoleIO_write_impl()
1010 len = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in _io__WindowsConsoleIO_write_impl()
1013 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, in _io__WindowsConsoleIO_write_impl()
/external/ImageMagick/MagickCore/
Dutility-private.h70 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0); in create_wchar_path()
85 count=MultiByteToWideChar(CP_UTF8,0,buffer,-1,longPath,count); in create_wchar_path()
98 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count); in create_wchar_path()
169 (void) WideCharToMultiByte(CP_UTF8,0,wide_path,-1,path,(int) extent,NULL,NULL); in getcwd_utf8()
Dnt-base.c180 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,NULL,0,NULL,NULL); in create_utf8_string()
186 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,utf8,count,NULL,NULL); in create_utf8_string()
876 (void) WideCharToMultiByte(CP_UTF8,0,wide_path,-1,path,(int) extent,NULL, in NTGetExecutionPath()
1800 length=MultiByteToWideChar(CP_UTF8,0,path,-1,file_specification, in NTOpenDirectory()
1897 length=MultiByteToWideChar(CP_UTF8,0,filename,-1,path,MagickPathExtent); in NTLoadLibrary()
1982 length=WideCharToMultiByte(CP_UTF8,0,entry->Win32FindData.cFileName,-1, in NTReadDirectory()
2837 length=MultiByteToWideChar(CP_UTF8,0,(char *) path,-1,lib_path, in NTWindowsGenesis()
/external/libusb/msvc/
Dmissing.c44 if (MultiByteToWideChar(CP_UTF8, 0, name, -1, wName, MAX_PATH) <= 0) { in getenv()
71 if (WideCharToMultiByte(CP_UTF8, 0, in getenv()
/external/python/cpython3/Parser/
Dmyreadline.c181 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, NULL, 0, NULL, NULL); in _PyOS_WindowsConsoleReadline()
187 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, buf, u8len, NULL, NULL); in _PyOS_WindowsConsoleReadline()
229 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
237 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/lzma/CPP/Common/
DStdOutStream.cpp54 if (codePage == CP_UTF8) in operator <<()
66 if (codePage == CP_UTF8) in StdOut_Convert_UString_to_AString()
DStdInStream.cpp62 if (codePage == CP_UTF8) in ScanUStringUntilNewLine()
/external/flac/libFLAC/
Dwindows_unicode_filenames.c47 if ((len = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0)) == 0) in wchar_from_utf8()
51 if (MultiByteToWideChar(CP_UTF8, 0, str, -1, widestr, len) == 0) { in wchar_from_utf8()
/external/curl/src/
Dtool_cb_wrt.c171 wc_len = MultiByteToWideChar(CP_UTF8, 0, buffer, in_len, NULL, 0); in tool_write_cb()
177 wc_len = MultiByteToWideChar(CP_UTF8, 0, buffer, in_len, wc_buf, wc_len); in tool_write_cb()
/external/webrtc/webrtc/modules/video_capture/windows/
Ddevice_info_ds.cc203 convResult = WideCharToMultiByte(CP_UTF8, 0, in GetDeviceInfo()
232 CP_UTF8, in GetDeviceInfo()
331 WideCharToMultiByte(CP_UTF8, 0, varName.bstrVal, -1, in GetDeviceFilter()
774 MultiByteToWideChar(CP_UTF8, 0, (char*) dialogTitleUTF8, -1, in DisplayCaptureSettingsDialogBox()
/external/catch2/include/internal/
Dcatch_session.cpp200 int bufSize = WideCharToMultiByte( CP_UTF8, 0, argv[i], -1, NULL, 0, NULL, NULL ); in applyCommandLine()
204 WideCharToMultiByte( CP_UTF8, 0, argv[i], -1, utf8Argv[i], bufSize, NULL, NULL ); in applyCommandLine()
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/WindowsCE/Sources/
DBrowserDialog.cpp373 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, NULL, 0 ); in UTF8StringToStringObject()
379 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, unicode, n ); in UTF8StringToStringObject()
/external/google-breakpad/src/common/windows/
Dhttp_upload.h108 return WideToMBCP(wide, CP_UTF8); in WideToUTF8()

123