Home
last modified time | relevance | path

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

123

/third_party/openssl/apps/lib/
Dwin32_init.c15 #if defined(CP_UTF8)
94 udlen = WideCharToMultiByte(CP_UTF8, 0, wstr, slash, in process_glob()
119 uflen = WideCharToMultiByte(CP_UTF8, 0, data.cFileName, -1, in process_glob()
127 WideCharToMultiByte(CP_UTF8, 0, wstr, slash, in process_glob()
130 WideCharToMultiByte(CP_UTF8, 0, data.cFileName, -1, in process_glob()
261 ulen = WideCharToMultiByte(CP_UTF8, 0, warg, wlen, in win32_utf8argv()
274 WideCharToMultiByte(CP_UTF8, 0, warg, wlen, in win32_utf8argv()
284 SetConsoleOutputCP(CP_UTF8); in win32_utf8argv()
/third_party/openssl/crypto/
Do_fopen.c41 # if defined(_WIN32) && defined(CP_UTF8) in openssl_fopen()
57 if ((sz = MultiByteToWideChar(CP_UTF8, (flags = MB_ERR_INVALID_CHARS), in openssl_fopen()
60 (sz = MultiByteToWideChar(CP_UTF8, (flags = 0), in openssl_fopen()
66 if (MultiByteToWideChar(CP_UTF8, flags, in openssl_fopen()
68 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, in openssl_fopen()
DLPdir_win.c62 #ifdef CP_UTF8
63 # define CP_DEFAULT CP_UTF8
106 # ifdef CP_UTF8 in LP_find_file()
107 if ((sz = MultiByteToWideChar((cp = CP_UTF8), 0, in LP_find_file()
Dgetenv.c20 #if defined(_WIN32) && defined(CP_UTF8) && !defined(_WIN32_WCE) in ossl_safe_getenv()
64 vallen = WideCharToMultiByte(CP_UTF8, 0, valw, -1, NULL, 0, in ossl_safe_getenv()
74 if (WideCharToMultiByte(CP_UTF8, 0, valw, -1, val, vallen, in ossl_safe_getenv()
/third_party/skia/third_party/externals/dawn/src/common/
DWindowsUtils.cpp24 int requiredSize = WideCharToMultiByte(CP_UTF8, 0, input, -1, nullptr, 0, nullptr, nullptr); in WCharToUTF8()
28 WideCharToMultiByte(CP_UTF8, 0, input, -1, result.get(), requiredSize, nullptr, nullptr); in WCharToUTF8()
37 int requiredSize = MultiByteToWideChar(CP_UTF8, 0, input, -1, nullptr, 0); in UTF8ToWStr()
41 MultiByteToWideChar(CP_UTF8, 0, input, -1, result.get(), requiredSize); in UTF8ToWStr()
/third_party/libuv/src/win/
Dgetaddrinfo.c134 name_len = WideCharToMultiByte(CP_UTF8, in uv__getaddrinfo_done()
185 name_len = WideCharToMultiByte(CP_UTF8, in uv__getaddrinfo_done()
195 name_len = WideCharToMultiByte(CP_UTF8, in uv__getaddrinfo_done()
289 nodesize = ALIGNED_SIZE(MultiByteToWideChar(CP_UTF8, 0, hostname_ascii, in uv_getaddrinfo()
299 servicesize = ALIGNED_SIZE(MultiByteToWideChar(CP_UTF8, in uv_getaddrinfo()
329 if (MultiByteToWideChar(CP_UTF8, in uv_getaddrinfo()
347 if (MultiByteToWideChar(CP_UTF8, in uv_getaddrinfo()
419 bufsize = WideCharToMultiByte(CP_UTF8, 0, wname, -1, NULL, 0, NULL, NULL); in uv_if_indextoname()
429 bufsize = WideCharToMultiByte(CP_UTF8, in uv_if_indextoname()
Dutil.c128 utf8_len = WideCharToMultiByte(CP_UTF8, in uv_exepath()
190 r = WideCharToMultiByte(CP_UTF8, in uv_cwd()
208 r = WideCharToMultiByte(CP_UTF8, in uv_cwd()
236 utf16_len = MultiByteToWideChar(CP_UTF8, in uv_chdir()
250 if (MultiByteToWideChar(CP_UTF8, in uv_chdir()
402 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, NULL, 0); in uv_set_process_title()
414 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
864 name_size = WideCharToMultiByte(CP_UTF8, in uv_interface_addresses()
917 name_size = WideCharToMultiByte(CP_UTF8, in uv_interface_addresses()
1154 bufsize = WideCharToMultiByte(CP_UTF8, 0, path, -1, NULL, 0, NULL, NULL); in uv_os_tmpdir()
[all …]
Dgetnameinfo.c60 ret = WideCharToMultiByte(CP_UTF8, in uv__getnameinfo_work()
73 ret = WideCharToMultiByte(CP_UTF8, in uv__getnameinfo_work()
Dprocess.c112 ws_len = MultiByteToWideChar(CP_UTF8, in uv__utf8_to_utf16_alloc()
127 r = MultiByteToWideChar(CP_UTF8, in uv__utf8_to_utf16_alloc()
542 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
583 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
702 len = MultiByteToWideChar(CP_UTF8, in make_program_env()
727 len = MultiByteToWideChar(CP_UTF8, in make_program_env()
/third_party/flutter/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()
/third_party/skia/src/utils/win/
DSkDWrite.cpp62 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar()
68 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
77 int len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, nullptr, 0, nullptr, nullptr); in sk_wchar_to_skstring()
88 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
/third_party/vulkan-loader/loader/
Dget_environment.c109 int name_utf16_size = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0); in loader_getenv()
114 if (MultiByteToWideChar(CP_UTF8, 0, name, -1, name_utf16, name_utf16_size) != name_utf16_size) { in loader_getenv()
130 int val_utf8_size = WideCharToMultiByte(CP_UTF8, 0, val, -1, NULL, 0, NULL, NULL); in loader_getenv()
138 …if (WideCharToMultiByte(CP_UTF8, 0, val, -1, val_utf8, val_utf8_size, NULL, NULL) != val_utf8_size… in loader_getenv()
Dvk_loader_platform.h403 int path_utf16_size = MultiByteToWideChar(CP_UTF8, 0, path, -1, NULL, 0); in loader_platform_file_exists()
408 if (MultiByteToWideChar(CP_UTF8, 0, path, -1, path_utf16, path_utf16_size) != path_utf16_size) { in loader_platform_file_exists()
457 int buffer_utf8_size = WideCharToMultiByte(CP_UTF8, 0, buffer_utf16, -1, NULL, 0, NULL, NULL); in loader_platform_executable_path()
461 …if (WideCharToMultiByte(CP_UTF8, 0, buffer_utf16, -1, buffer, buffer_utf8_size, NULL, NULL) != buf… in loader_platform_executable_path()
469 int lib_path_utf16_size = MultiByteToWideChar(CP_UTF8, 0, lib_path, -1, NULL, 0); in loader_platform_open_library()
474 …if (MultiByteToWideChar(CP_UTF8, 0, lib_path, -1, lib_path_utf16, lib_path_utf16_size) != lib_path… in loader_platform_open_library()
/third_party/ffmpeg/libavutil/
Dwchar_filename.h30 num_chars = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, filename_utf8, -1, NULL, 0); in utf8towchar()
40 MultiByteToWideChar(CP_UTF8, 0, filename_utf8, -1, *filename_w, num_chars); in utf8towchar()
/third_party/python/Modules/_io/
Dwinconsoleio.c687 if (WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
692 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
705 u8n = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in readinto()
847 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
866 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl()
980 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
989 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl()
999 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, wbuf, wlen); in _io__WindowsConsoleIO_write_impl()
1008 len = WideCharToMultiByte(CP_UTF8, 0, wbuf, n, in _io__WindowsConsoleIO_write_impl()
1011 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, in _io__WindowsConsoleIO_write_impl()
/third_party/vk-gl-cts/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 <<()
/third_party/python/Parser/
Dmyreadline.c204 u8len = WideCharToMultiByte(CP_UTF8, 0, in _PyOS_WindowsConsoleReadline()
216 u8len = WideCharToMultiByte(CP_UTF8, 0, in _PyOS_WindowsConsoleReadline()
261 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
271 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
/third_party/openssl/crypto/rand/
Drandfile.c264 #if defined(_WIN32) && defined(CP_UTF8) && !defined(_WIN32_WCE) in RAND_file_name()
283 && (sz = WideCharToMultiByte(CP_UTF8, 0, val, -1, NULL, 0, in RAND_file_name()
286 if (WideCharToMultiByte(CP_UTF8, 0, val, -1, s, sz, in RAND_file_name()
/third_party/node/src/
Dnode_main.cc56 DWORD size = WideCharToMultiByte(CP_UTF8, in wmain()
71 DWORD result = WideCharToMultiByte(CP_UTF8, in wmain()
Ddebug_utils.cc458 CP_UTF8, 0, module_name, -1, nullptr, 0, nullptr, nullptr); in GetLoadedLibraries()
461 CP_UTF8, 0, module_name, -1, str, size, nullptr, nullptr); in GetLoadedLibraries()
496 int n = MultiByteToWideChar(CP_UTF8, 0, str.data(), str.size(), nullptr, 0); in FWrite()
499 MultiByteToWideChar(CP_UTF8, 0, str.data(), str.size(), wbuf.data(), n); in FWrite()
/third_party/flutter/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()
/third_party/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()
/third_party/protobuf/src/google/protobuf/io/
Dio_win32.cc424 outUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, nullptr, 0, nullptr, in wcs_to_mbs()
432 outUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, astr.get(), size, nullptr, nullptr); in wcs_to_mbs()
445 MultiByteToWideChar(inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, nullptr, 0); in mbs_to_wcs()
451 inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, wstr.get(), size + 1); in mbs_to_wcs()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h48 int l = WideCharToMultiByte(CP_UTF8, 0, w, -1, 0, 0, 0, 0); in dup_wchar_to_utf8()
51 WideCharToMultiByte(CP_UTF8, 0, w, -1, s, l, 0, 0); in dup_wchar_to_utf8()
/third_party/flutter/glfw/src/
Dwin32_init.c354 length = MultiByteToWideChar(CP_UTF8, 0, source, -1, NULL, 0); in _glfwCreateWideStringFromUTF8Win32()
360 if (!MultiByteToWideChar(CP_UTF8, 0, source, -1, target, length)) in _glfwCreateWideStringFromUTF8Win32()
376 length = WideCharToMultiByte(CP_UTF8, 0, source, -1, NULL, 0, NULL, NULL); in _glfwCreateUTF8FromWideStringWin32()
382 if (!WideCharToMultiByte(CP_UTF8, 0, source, -1, target, length, NULL, NULL)) in _glfwCreateUTF8FromWideStringWin32()

123