Home
last modified time | relevance | path

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

12

/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 str_utf8_len = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, NULL, in Curl_convert_wchar_to_UTF8()
72 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/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/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/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/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/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/v8/tools/clang/plugins/
DChromeClassTester.cpp144 MultiByteToWideChar(CP_UTF8, 0, filename.data(), -1, nullptr, 0); in InBannedDirectory()
146 MultiByteToWideChar(CP_UTF8, 0, filename.data(), -1, in InBannedDirectory()
153 size_needed = WideCharToMultiByte(CP_UTF8, 0, full_utf16.data(), -1, in InBannedDirectory()
156 WideCharToMultiByte(CP_UTF8, 0, full_utf16.data(), -1, &filename[0], in InBannedDirectory()
/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()
/external/skia/tools/viewer/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/src/views/win/
Dskia_win.cpp45 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8()
47 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8()
/external/fmtlib/fmt/
Dformat.cc315 CP_UTF8, MB_ERR_INVALID_CHARS, s.data(), s_size, FMT_NULL, 0); in UTF8ToUTF16()
320 CP_UTF8, MB_ERR_INVALID_CHARS, s.data(), s_size, &buffer_[0], length); in UTF8ToUTF16()
338 CP_UTF8, 0, s.data(), s_size, FMT_NULL, 0, FMT_NULL, FMT_NULL); in convert()
343 CP_UTF8, 0, s.data(), s_size, &buffer_[0], length, FMT_NULL, FMT_NULL); in convert()
/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/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/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc45 int len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS,
55 len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS,
72 int len = ::WideCharToMultiByte(CP_UTF8, 0,
84 len = ::WideCharToMultiByte(CP_UTF8, 0,
161 len = ::WideCharToMultiByte(CP_UTF8, 0,
172 len = ::WideCharToMultiByte(CP_UTF8, 0,
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
DChooserDialog.cpp1336 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, NULL, 0 ); in UTF8StringToStringObject()
1346 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, unicode, n ); in UTF8StringToStringObject()
1390 n = WideCharToMultiByte( CP_UTF8, 0, unicode, nUnicode, NULL, 0, NULL, NULL ); in StringObjectToUTF8String()
1397 n = WideCharToMultiByte( CP_UTF8, 0, unicode, nUnicode, utf8, n, NULL, NULL ); in StringObjectToUTF8String()
/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()

12