Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/
H A Dcryptlib.c42 WCHAR *name; in OPENSSL_isservice()
75 name = (WCHAR *)alloca(len + sizeof(WCHAR)); in OPENSSL_isservice()
80 name[len / sizeof(WCHAR)] = L'\0'; /* paranoia */ in OPENSSL_isservice()
138 WCHAR *fmtw; in OPENSSL_showfatal()
140 fmtw = (WCHAR *)alloca(len_0 * sizeof(WCHAR)); in OPENSSL_showfatal()
147 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()
44 namew = _malloca(rsize * sizeof(WCHAR)); in ossl_safe_getenv()
55 valw = _malloca(envlen * sizeof(WCHAR)); in ossl_safe_getenv()
H A Do_fopen.c67 WCHAR wmode[8]; in openssl_fopen()
68 WCHAR *wfilename = _alloca(sz * sizeof(WCHAR)); in openssl_fopen()
H A Ddefaults.c88 if (keysizebytes > MAX_PATH * sizeof(WCHAR)) in get_windows_regdirs()
95 tempstr = OPENSSL_zalloc(keysizebytes + sizeof(WCHAR)); in get_windows_regdirs()
H A Dcpuid.c29 typedef WCHAR variant_char;
38 static WCHAR value[OPENSSL_IA32CAP_P_MAX_CHAR_SIZE]; in ossl_getenv()
H A DLPdir_win.c126 (WCHAR *)wdir, sz)) { in LP_find_file()
190 if (!WideCharToMultiByte(CP_DEFAULT, 0, (WCHAR *)wdir, len_0, in LP_find_file()
/freebsd/crypto/krb5/src/windows/include/
H A Dleashwin.h78 WCHAR title[NETID_TITLE_SZ];
79 WCHAR username[NETID_USERNAME_SZ];
80 WCHAR realm[NETID_REALM_SZ];
81 WCHAR ccache[NETID_CCACHE_NAME_SZ];
92 WCHAR username[NETID_USERNAME_SZ];
93 WCHAR realm[NETID_REALM_SZ];
94 WCHAR ccache[NETID_CCACHE_NAME_SZ];
100 + sizeof(WCHAR) * (NETID_TITLE_SZ + \
/freebsd/crypto/openssl/apps/lib/
H A Dwin32_init.c57 static int process_glob(WCHAR *wstr, int wlen) in process_glob()
60 WCHAR saved_char; in process_glob()
141 const WCHAR *wcmdline; in win32_utf8argv()
142 WCHAR *warg, *wend, *p; in win32_utf8argv()
162 p = _alloca((wlen + 1) * sizeof(WCHAR)); in win32_utf8argv()
206 const WCHAR *q = p; in win32_utf8argv()
H A Dopt.c1250 WCHAR tempname[MAX_PATH]; in opt_isdir()
1259 tempname[i] = (WCHAR)name[i]; in opt_isdir()
/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Dcc_mslsa.c103 WCHAR szMsgBuf[MAX_MSG_SIZE]; in ShowWinError()
192 msprinc->Length = strlen(aname) * sizeof(WCHAR); in MITPrincToMSPrinc()
205 WCHAR princbuf[512]; in UnicodeStringToMITPrinc()
206 WCHAR realmbuf[512]; in UnicodeStringToMITPrinc()
211 wcsncpy(realmbuf, realm->Buffer, realm->Length / sizeof(WCHAR)); in UnicodeStringToMITPrinc()
212 realmbuf[realm->Length / sizeof(WCHAR)] = 0; in UnicodeStringToMITPrinc()
215 wcsncpy(princbuf, service->Buffer, service->Length/sizeof(WCHAR)); in UnicodeStringToMITPrinc()
216 princbuf[service->Length/sizeof(WCHAR)]=0; in UnicodeStringToMITPrinc()
228 KerbExternalNameToMITPrinc(KERB_EXTERNAL_NAME *msprinc, WCHAR *realm, krb5_context context, in KerbExternalNameToMITPrinc()
231 WCHAR princbuf[512],tmpbuf[128]; in KerbExternalNameToMITPrinc()
[all …]
/freebsd/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/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/crypto/openssl/crypto/rand/
H A Drandfile.c277 WCHAR *var; in RAND_file_name()
292 WCHAR *val = _alloca(envlen * sizeof(WCHAR)); in RAND_file_name()
/freebsd/lib/libc/tests/gen/
H A Dlimits_test.c81 CHECK_UTYPE(wchar_t, WCHAR);
83 CHECK_STYPE(wchar_t, WCHAR);
/freebsd/crypto/openssl/engines/
H A De_capi.c401 static const WCHAR rsa_aes_cspname[] = L"Microsoft Enhanced RSA and AES Cryptographic Provider";
402 static const WCHAR rsa_enh_cspname[] = L"Microsoft Enhanced Cryptographic Provider v1.0";
1187 *pname = wide_to_asc((WCHAR *)name); in capi_get_provname()
1232 cspname = alloca(clen * sizeof(WCHAR)); in capi_list_containers()
1233 MultiByteToWideChar(CP_ACP, 0, ctx->cspname, -1, (WCHAR *)cspname, 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()
1587 WCHAR *contname, *provname; in capi_find_key()
1590WCHAR)), MultiByteToWideChar(CP_ACP, 0, id, -1, contname, len)) && (len = MultiByteToWideChar(CP_A… in capi_find_key()
1651 name = alloca(len * sizeof(WCHAR)); in capi_ctx_set_provname()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-npf.c2616 static WCHAR AdaptersName[ADAPTERSNAME_LEN]; in pcap_lookupdev()
2619 WCHAR *Unameptr; in pcap_lookupdev()
2622 WCHAR *TAdaptersName = (WCHAR*)malloc(ADAPTERSNAME_LEN * sizeof(WCHAR)); in pcap_lookupdev()
2640 BufferSpaceLeft = ADAPTERSNAME_LEN * sizeof(WCHAR); in pcap_lookupdev()
2658 if (BufferSpaceLeft < namelen * sizeof(WCHAR)) { in pcap_lookupdev()
2664 BufferSpaceLeft -= namelen * sizeof(WCHAR); in pcap_lookupdev()
/freebsd/contrib/tcsh/
H A Dtc.decls.h267 #define one_wctomb(S, WCHAR) (*(S) = (char)(WCHAR), (size_t)1) argument
/freebsd/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()
2762 ifname, len * sizeof(WCHAR), NULL, 0, &written, 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()
[all …]
/freebsd/crypto/krb5/src/ccapi/server/win/
H A Dccs_os_server.cpp732 WCHAR* username = (WCHAR*)authz_handle; in GetClientId()
/freebsd/contrib/mandoc/
H A Dconfigure387 runtest wchar WCHAR "-DUTF8_LOCALE=\"${UTF8_LOCALE}\"" \
/freebsd/crypto/krb5/src/windows/kfwlogon/
H A Dkfwlogon.c460 WCHAR szUserW[128] = L""; in KFW_Logon_Event()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c123 WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN]; in lprofGetHostName()
/freebsd/crypto/openssl/crypto/ui/
H A Dui_openssl.c303 WCHAR wresult[BUFSIZ]; in read_string_inner()
/freebsd/contrib/less/
H A Dcommand.c938 WCHAR w[MAX_PATH+16]; in prompt()
993 WCHAR w[MAX_PATH*2]; in prompt()

12