Home
last modified time | relevance | path

Searched refs:WCHAR (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-14.2/crypto/openssl/crypto/
H A Dcryptlib.c42 WCHAR *name; in OPENSSL_isservice()
76 name = (WCHAR *)alloca(len + sizeof(WCHAR)); in OPENSSL_isservice()
81 name[len / sizeof(WCHAR)] = L'\0'; /* paranoia */ in OPENSSL_isservice()
140 WCHAR *fmtw; in OPENSSL_showfatal()
142 fmtw = (WCHAR *)alloca(len_0 * sizeof(WCHAR)); in OPENSSL_showfatal()
149 fmtw[i] = (WCHAR)fmta[i]; in OPENSSL_showfatal()
H A Dgetenv.c24 WCHAR *namew = NULL; in ossl_safe_getenv()
25 WCHAR *valw = NULL; in ossl_safe_getenv()
47 namew = _malloca(rsize * sizeof(WCHAR)); in ossl_safe_getenv()
58 valw = _malloca(envlen * sizeof(WCHAR)); in ossl_safe_getenv()
H A Do_fopen.c63 WCHAR wmode[8]; in openssl_fopen()
64 WCHAR *wfilename = _alloca(sz * sizeof(WCHAR)); in openssl_fopen()
H A Dcpuid.c31 typedef WCHAR variant_char;
40 static WCHAR value[48]; in ossl_getenv()
H A DLPdir_win.c125 (WCHAR *)wdir, sz)) { in LP_find_file()
189 if (!WideCharToMultiByte(CP_DEFAULT, 0, (WCHAR *)wdir, len_0, in LP_find_file()
/freebsd-14.2/crypto/openssl/apps/lib/
H A Dwin32_init.c58 static int process_glob(WCHAR *wstr, int wlen) in process_glob()
61 WCHAR saved_char; in process_glob()
143 const WCHAR *wcmdline; in win32_utf8argv()
144 WCHAR *warg, *wend, *p; in win32_utf8argv()
163 p = _alloca((wlen + 1) * sizeof(WCHAR)); in win32_utf8argv()
207 const WCHAR *q = p; in win32_utf8argv()
H A Dopt.c1161 WCHAR tempname[MAX_PATH]; in opt_isdir()
1170 tempname[i] = (WCHAR)name[i]; in opt_isdir()
H A Dapps.c2658 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen)) in WIN32_rename()
2663 if (!MultiByteToWideChar(CP_ACP, 0, to, tlen, (WCHAR *)tto, tlen)) in WIN32_rename()
/freebsd-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp91 std::unique_ptr<WCHAR[]> Buffer{new WCHAR[Size + 1]}; in DirectoryWatcherWindows()
94 WCHAR *Data = Buffer.get(); in DirectoryWatcherWindows()
102 size_t EntrySize = sizeof(FILE_NOTIFY_INFORMATION) + MAX_PATH * sizeof(WCHAR); in DirectoryWatcherWindows()
220 sys::windows::UTF16ToUTF8(I->FileName, I->FileNameLength / sizeof(WCHAR), in WatcherThreadProc()
/freebsd-14.2/crypto/openssl/crypto/dso/
H A Ddso_win32.c19 WCHAR lpProcNameW[64]; in GetProcAddressA()
23 lpProcNameW[i] = (WCHAR)lpProcName[i]; in GetProcAddressA()
36 WCHAR *fnamw; in LoadLibraryA()
40 fnamw = (WCHAR *)_alloca(len_0 * sizeof(WCHAR)); in LoadLibraryA()
42 fnamw = (WCHAR *)alloca(len_0 * sizeof(WCHAR)); in LoadLibraryA()
52 fnamw[i] = (WCHAR)lpLibFileName[i]; in LoadLibraryA()
/freebsd-14.2/crypto/openssl/crypto/rand/
H A Drandfile.c275 WCHAR *var; in RAND_file_name()
289 WCHAR *val = _alloca(envlen * sizeof(WCHAR)); in RAND_file_name()
/freebsd-14.2/crypto/openssl/engines/
H A De_capi.c404 static const WCHAR rsa_aes_cspname[] =
406 static const WCHAR rsa_enh_cspname[] =
1183 *pname = wide_to_asc((WCHAR *)name); in capi_get_provname()
1228 cspname = alloca(clen * sizeof(WCHAR)); in capi_list_containers()
1501 static CAPI_KEY *capi_get_key(CAPI_CTX *ctx, const WCHAR *contname, in capi_get_key()
1502 const WCHAR *provname, DWORD ptype, in capi_get_key()
1589 WCHAR *contname, *provname; in capi_find_key()
1593 (contname = alloca(len * sizeof(WCHAR)), in capi_find_key()
1597 (provname = alloca(len * sizeof(WCHAR)), in capi_find_key()
1664 name = alloca(len * sizeof(WCHAR)); in capi_ctx_set_provname()
[all …]
/freebsd-14.2/contrib/libpcap/
H A Dpcap-npf.c2550 static WCHAR AdaptersName[ADAPTERSNAME_LEN]; in pcap_lookupdev()
2553 WCHAR *Unameptr; in pcap_lookupdev()
2556 WCHAR *TAdaptersName = (WCHAR*)malloc(ADAPTERSNAME_LEN * sizeof(WCHAR)); in pcap_lookupdev()
2574 BufferSpaceLeft = ADAPTERSNAME_LEN * sizeof(WCHAR); in pcap_lookupdev()
2592 if (BufferSpaceLeft < namelen * sizeof(WCHAR)) { in pcap_lookupdev()
2598 BufferSpaceLeft -= namelen * sizeof(WCHAR); in pcap_lookupdev()
/freebsd-14.2/contrib/tcsh/
H A Dtc.decls.h267 #define one_wctomb(S, WCHAR) (*(S) = (char)(WCHAR), (size_t)1) argument
/freebsd-14.2/contrib/wpa/src/drivers/
H A Dndis_events.c35 WCHAR *adapter_desc;
399 WCHAR query[256]; in notification_query()
473 events->adapter_desc = os_malloc((len + 1) * sizeof(WCHAR)); in ndis_events_use_desc()
490 WCHAR query[MAX_QUERY_LEN]; in ndis_events_get_adapter()
H A Ddriver_ndis.c2042 WCHAR *pos; in wpa_driver_ndis_get_names()
2063 pos = (WCHAR *) ((char *) b + b->DeviceNameOffset); in wpa_driver_ndis_get_names()
2071 pos = (WCHAR *) ((char *) b + b->DeviceDescrOffset); in wpa_driver_ndis_get_names()
2531 WCHAR *pos; in wpa_driver_ndis_set_wzc()
2743 WCHAR ifname[MAX_NDIS_DEVICE_NAME_LEN]; in wpa_driver_ndis_adapter_open()
2756 ifname[i] = (WCHAR) prefix[i]; in wpa_driver_ndis_adapter_open()
2758 ifname[i] = (WCHAR) drv->ifname[i - pos]; in wpa_driver_ndis_adapter_open()
2767 (const u8 *) ifname, len * sizeof(WCHAR)); in wpa_driver_ndis_adapter_open()
2989 WCHAR *pos; in wpa_driver_ndis_get_interfaces()
3034 pos = (WCHAR *) ((char *) b + b->DeviceNameOffset); in wpa_driver_ndis_get_interfaces()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c114 WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN]; in lprofGetHostName()
/freebsd-14.2/contrib/mandoc/
H A Dconfigure383 runtest wchar WCHAR "-DUTF8_LOCALE=\"${UTF8_LOCALE}\"" \
/freebsd-14.2/contrib/less/
H A Dcommand.c858 WCHAR w[MAX_PATH+16]; in prompt()
895 WCHAR w[MAX_PATH*2]; in prompt()
H A Dscreen.c142 WCHAR unicode;
3004 WCHAR wtext[1024]; in WIN32textout()
/freebsd-14.2/crypto/openssl/crypto/ui/
H A Dui_openssl.c303 WCHAR wresult[BUFSIZ]; in read_string_inner()
/freebsd-14.2/crypto/openssl/util/
H A Dindent.pro421 -T WCHAR
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_digest.c58 win_crypto_init(Digest_CTX *ctx, const WCHAR *algo) in win_crypto_init()
/freebsd-14.2/contrib/libarchive/test_utils/
H A Dtest_main.c188 WCHAR PathBuffer[1];
195 WCHAR PathBuffer[1];
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dtls_openssl.c671 WCHAR *wstore; in tls_cryptoapi_ca_cert()
679 wstore = os_malloc((os_strlen(store) + 1) * sizeof(WCHAR)); in tls_cryptoapi_ca_cert()

12