Home
last modified time | relevance | path

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

12

/external/curl/lib/
Dcurl_multibyte.c43 int str_w_len = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, in Curl_convert_UTF8_to_wchar()
48 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
65 int str_utf8_len = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, NULL, in Curl_convert_wchar_to_UTF8()
70 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in Curl_convert_wchar_to_UTF8()
/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/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()
Dwin32.cc376 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), in Utf8ToWindowsFilename()
383 if (0 == ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), in Utf8ToWindowsFilename()
/external/boringssl/src/crypto/bio/
Dfile.c91 #if defined(OPENSSL_WINDOWS) && defined(CP_UTF8) in open_file()
102 if ((sz = MultiByteToWideChar(CP_UTF8, (flags = MB_ERR_INVALID_CHARS), in open_file()
105 (sz = MultiByteToWideChar(CP_UTF8, (flags = 0), filename, len_0, NULL, in open_file()
110 if (MultiByteToWideChar(CP_UTF8, flags, filename, len_0, wfilename, sz) && in open_file()
111 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, wmode, in open_file()
/external/ImageMagick/MagickCore/
Dutility-private.h57 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0); in create_wchar_path()
72 count=MultiByteToWideChar(CP_UTF8,0,buffer,-1,longPath,count); in create_wchar_path()
85 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count); in create_wchar_path()
156 (void) WideCharToMultiByte(CP_UTF8,0,wide_path,-1,path,(int) extent,NULL,NULL); in getcwd_utf8()
Dnt-base.c179 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,NULL,0,NULL,NULL); in create_utf8_string()
185 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,utf8,count,NULL,NULL); in create_utf8_string()
859 (void) WideCharToMultiByte(CP_UTF8,0,wide_path,-1,path,(int) extent,NULL, in NTGetExecutionPath()
1756 length=MultiByteToWideChar(CP_UTF8,0,path,-1,file_specification, in NTOpenDirectory()
1856 length=MultiByteToWideChar(CP_UTF8,0,filename,-1,path,MagickPathExtent); in NTLoadLibrary()
1941 length=WideCharToMultiByte(CP_UTF8,0,entry->Win32FindData.cFileName,-1, in NTReadDirectory()
/external/lzma/CPP/Common/
DStdOutStream.cpp56 if (codePage == CP_UTF8) in operator <<()
68 if (codePage == CP_UTF8) in StdOut_Convert_UString_to_AString()
DStdInStream.cpp68 if (codePage == CP_UTF8) in ScanUStringUntilNewLine()
DListFileUtils.cpp86 if (codePage == CP_UTF8) in ReadNamesFromListFile()
DMyWindows.h206 #define CP_UTF8 65001 macro
/external/skia/src/views/win/
Dskia_win.cpp44 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
46 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/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/google-breakpad/src/common/windows/
Dhttp_upload.h108 return WideToMBCP(wide, CP_UTF8); in WideToUTF8()
Dhttp_upload.cc365 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); in UTF8ToWide()
373 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount); in UTF8ToWide()
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/
DMainPage.xaml.cpp142 int size = WideCharToMultiByte(CP_UTF8, 0, &input[0], (int)input.size(), NULL, 0, NULL, NULL); in StrToWStr()
145 WideCharToMultiByte(CP_UTF8, 0, &input[0], (int)input.size(), &result[0], size, NULL, NULL); in StrToWStr()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc1311 …if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, name, kAdmMaxDeviceNameSize, NULL, NULL) == … in PlayoutDeviceName()
1337 … if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in PlayoutDeviceName()
1359 … if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in PlayoutDeviceName()
1367 if (WideCharToMultiByte(CP_UTF8, 0, pstrEndpointId, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in PlayoutDeviceName()
1416 …if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, name, kAdmMaxDeviceNameSize, NULL, NULL) == … in RecordingDeviceName()
1442 … if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in RecordingDeviceName()
1464 … if (WideCharToMultiByte(CP_UTF8, 0, caps.szPname, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in RecordingDeviceName()
1472 if (WideCharToMultiByte(CP_UTF8, 0, pstrEndpointId, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in RecordingDeviceName()
Daudio_device_core_win.cc1866 …if (WideCharToMultiByte(CP_UTF8, 0, szDeviceName, -1, name, kAdmMaxDeviceNameSize, NULL, NULL) == … in PlayoutDeviceName()
1885 … if (WideCharToMultiByte(CP_UTF8, 0, szDeviceName, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in PlayoutDeviceName()
1946 …if (WideCharToMultiByte(CP_UTF8, 0, szDeviceName, -1, name, kAdmMaxDeviceNameSize, NULL, NULL) == … in RecordingDeviceName()
1965 … if (WideCharToMultiByte(CP_UTF8, 0, szDeviceName, -1, guid, kAdmMaxGuidSize, NULL, NULL) == 0) in RecordingDeviceName()
5081 int required_size = WideCharToMultiByte(CP_UTF8, 0, src, -1, _str, 0, 0, 0); in WideToUTF8()
5085 if (WideCharToMultiByte(CP_UTF8, 0, src, -1, _str, kStrLen, 0, 0) == 0) in WideToUTF8()
/external/v8/src/base/platform/
Dplatform-win32.cc137 WideCharToMultiByte(CP_UTF8, 0, tzinfo_.StandardName, -1, in InitializeIfNeeded()
140 WideCharToMultiByte(CP_UTF8, 0, tzinfo_.DaylightName, -1, in InitializeIfNeeded()
1144 CP_UTF8, 0, module_entry.szExePath, -1, NULL, 0, NULL, NULL); in LoadSymbols()
1146 WideCharToMultiByte(CP_UTF8, 0, module_entry.szExePath, -1, &lib_name[0], in LoadSymbols()
/external/webrtc/webrtc/system_wrappers/source/
Dfile_impl.cc118 MultiByteToWideChar(CP_UTF8, in OpenFile()
/external/dbus/dbus/
Ddbus-sysdeps-wince-glue.c109 len = WideCharToMultiByte (CP_UTF8, 0, result_w, -1, NULL, 0, NULL, NULL); in get_verbose_setting()
123 len = WideCharToMultiByte (CP_UTF8, 0, result_w, -1, result, len, NULL, NULL); in get_verbose_setting()
Ddbus-sysdeps-win.c587 n = MultiByteToWideChar (CP_UTF8, 0, str, -1, NULL, 0); in _dbus_win_utf8_to_utf16()
603 if (MultiByteToWideChar (CP_UTF8, 0, str, -1, retval, n) != n) in _dbus_win_utf8_to_utf16()
627 n = WideCharToMultiByte (CP_UTF8, 0, str, -1, NULL, 0, NULL, NULL); in _dbus_win_utf16_to_utf8()
643 if (WideCharToMultiByte (CP_UTF8, 0, str, -1, retval, n, NULL, NULL) != n) in _dbus_win_utf16_to_utf8()
/external/llvm/lib/Support/Windows/
DPath.inc838 int len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(),
847 len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(),
893 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8);
/external/skia/src/ports/
DSkFontHost_win.cpp93 size_t sSize = WideCharToMultiByte(CP_UTF8, 0, t, -1, nullptr, 0, nullptr, nullptr); in tchar_to_skstring()
95 WideCharToMultiByte(CP_UTF8, 0, t, -1, s->writable_str(), sSize, nullptr, nullptr); in tchar_to_skstring()
1673 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName, in logfont_for_name()
1679 ::MultiByteToWideChar(CP_UTF8, 0, familyName, -1, in logfont_for_name()

12