Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A 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()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A 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()
H A 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()
H A 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/
H A 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()
H A 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()
/netbsd-src/external/mit/libuv/dist/src/win/
H A 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()
H A 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 …]
H A Dgetnameinfo.c60 ret = WideCharToMultiByte(CP_UTF8, in uv__getnameinfo_work()
73 ret = WideCharToMultiByte(CP_UTF8, in uv__getnameinfo_work()
H A 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()
H A Ddl.c34 if (!MultiByteToWideChar(CP_UTF8, in uv_dlopen()
H A Dpipe.c730 nameSize = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0) * sizeof(WCHAR); in uv_pipe_bind()
736 if (!MultiByteToWideChar(CP_UTF8, in uv_pipe_bind()
843 nameSize = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0) * sizeof(WCHAR); in uv_pipe_connect()
849 if (!MultiByteToWideChar(CP_UTF8, in uv_pipe_connect()
2373 addrlen = WideCharToMultiByte(CP_UTF8, in uv__pipe_getname()
2391 addrlen = WideCharToMultiByte(CP_UTF8, in uv__pipe_getname()
2471 addrlen = WideCharToMultiByte(CP_UTF8, in uv__pipe_getname()
2491 addrlen = WideCharToMultiByte(CP_UTF8, in uv__pipe_getname()
H A Dfs-event.c181 name_size = MultiByteToWideChar(CP_UTF8, 0, path, -1, NULL, 0) * in uv_fs_event_start()
188 if (!MultiByteToWideChar(CP_UTF8, in uv_fs_event_start()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Ddmain2.d35 import core.sys.windows.winnls : CP_UTF8, MultiByteToWideChar, WideCharToMultiByte; in version()
282 …immutable size_t totalArgsLength = WideCharToMultiByte(CP_UTF8, 0, wCommandLine, cast(int)wCommand… in _d_run_main()
290 …immutable int len = WideCharToMultiByte(CP_UTF8, 0, &wargs[i][0], cast(int) wlen, null, 0, null, n… in _d_run_main()
296 … WideCharToMultiByte(CP_UTF8, 0, &wargs[i][0], cast(int) wlen, &args[i][0], len, null, null); in _d_run_main()
340 const int len = WideCharToMultiByte(CP_UTF8, 0, warg, cast(int) wlen, null, 0, null, null); in version()
354 WideCharToMultiByte(CP_UTF8, 0, wargv[i], wlen, utf8, len, null, null); in version()
586 CP_UTF8, 0, s.ptr, cast(int)s.length, null, 0); in _d_print_throwable()
594 CP_UTF8, 0, s.ptr, cast(int)s.length, ptr+len, swlen); in _d_print_throwable()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dwinduni.h81 #ifndef CP_UTF8
83 #define CP_UTF8 65001 /* UTF-8 translation. */ macro
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dwinduni.h81 #ifndef CP_UTF8
83 #define CP_UTF8 65001 /* UTF-8 translation. */ macro
H A Dwinduni.c86 { CP_UTF8, "UTF-8" },
758 if (cp == CP_UTF8 || cp == CP_UTF7) in wind_MultiByteToWideChar()
/netbsd-src/external/bsd/libfido2/dist/openbsd-compat/
H A Dreadpassphrase_win32.c59 if ((needed = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, NULL, 0)) == 0 || in utf8_to_utf16()
61 MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, needed) == 0) { in utf8_to_utf16()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Drandfile.c257 #if defined(_WIN32) && defined(CP_UTF8) && !defined(_WIN32_WCE) in RAND_file_name()
276 && (sz = WideCharToMultiByte(CP_UTF8, 0, val, -1, NULL, 0, in RAND_file_name()
279 if (WideCharToMultiByte(CP_UTF8, 0, val, -1, s, sz, in RAND_file_name()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Ddmain2.d394 …immutable size_t totalArgsLength = WideCharToMultiByte(CP_UTF8, 0, wCommandLine, cast(int)wCommand… in _d_run_main()
402 …immutable int len = WideCharToMultiByte(CP_UTF8, 0, &wargs[i][0], cast(int) wlen, null, 0, null, n… in _d_run_main()
408 … WideCharToMultiByte(CP_UTF8, 0, &wargs[i][0], cast(int) wlen, &args[i][0], len, null, null); in _d_run_main()
553 CP_UTF8, 0, s.ptr, cast(int)s.length, null, 0); in _d_print_throwable()
561 CP_UTF8, 0, s.ptr, cast(int)s.length, ptr+len, swlen); in _d_print_throwable()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dhid_win.c138 if ((utf8_len = WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf, in get_manufacturer()
149 if (WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf, -1, in get_manufacturer()
179 if ((utf8_len = WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf, in get_product()
190 if (WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf, -1, in get_product()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Druntime.d225 import core.sys.windows.winnls : CP_UTF8, MultiByteToWideChar; in loadLibrary()
231 CP_UTF8, 0, name.ptr, cast(int)name.length, null, 0); in loadLibrary()
240 CP_UTF8, 0, name.ptr, cast(int)name.length, buf, len); in loadLibrary()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ui/
H A Dui_openssl.c301 # if defined(CP_UTF8) in read_string_inner()
314 if (WideCharToMultiByte(CP_UTF8, 0, wresult, -1, in read_string_inner()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ui/
H A Dui_openssl.c305 # if defined(CP_UTF8) in read_string_inner()
318 if (WideCharToMultiByte(CP_UTF8, 0, wresult, -1, in read_string_inner()

12