| /freebsd/crypto/openssl/crypto/ |
| H A D | cryptlib.c | 42 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 D | getenv.c | 24 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 D | o_fopen.c | 67 WCHAR wmode[8]; in openssl_fopen() 68 WCHAR *wfilename = _alloca(sz * sizeof(WCHAR)); in openssl_fopen()
|
| H A D | defaults.c | 88 if (keysizebytes > MAX_PATH * sizeof(WCHAR)) in get_windows_regdirs() 95 tempstr = OPENSSL_zalloc(keysizebytes + sizeof(WCHAR)); in get_windows_regdirs()
|
| H A D | cpuid.c | 29 typedef WCHAR variant_char; 38 static WCHAR value[OPENSSL_IA32CAP_P_MAX_CHAR_SIZE]; in ossl_getenv()
|
| H A D | LPdir_win.c | 126 (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 D | leashwin.h | 78 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 D | win32_init.c | 57 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 D | opt.c | 1250 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 D | cc_mslsa.c | 103 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 D | DirectoryWatcher-windows.cpp | 91 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 D | dso_win32.c | 19 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 D | randfile.c | 277 WCHAR *var; in RAND_file_name() 292 WCHAR *val = _alloca(envlen * sizeof(WCHAR)); in RAND_file_name()
|
| /freebsd/lib/libc/tests/gen/ |
| H A D | limits_test.c | 81 CHECK_UTYPE(wchar_t, WCHAR); 83 CHECK_STYPE(wchar_t, WCHAR);
|
| /freebsd/crypto/openssl/engines/ |
| H A D | e_capi.c | 401 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() 1590 …WCHAR)), 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 D | pcap-npf.c | 2616 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 D | tc.decls.h | 267 #define one_wctomb(S, WCHAR) (*(S) = (char)(WCHAR), (size_t)1) argument
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | ndis_events.c | 35 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 D | driver_ndis.c | 2042 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 D | ccs_os_server.cpp | 732 WCHAR* username = (WCHAR*)authz_handle; in GetClientId()
|
| /freebsd/contrib/mandoc/ |
| H A D | configure | 387 runtest wchar WCHAR "-DUTF8_LOCALE=\"${UTF8_LOCALE}\"" \
|
| /freebsd/crypto/krb5/src/windows/kfwlogon/ |
| H A D | kfwlogon.c | 460 WCHAR szUserW[128] = L""; in KFW_Logon_Event()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingUtil.c | 123 WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN]; in lprofGetHostName()
|
| /freebsd/crypto/openssl/crypto/ui/ |
| H A D | ui_openssl.c | 303 WCHAR wresult[BUFSIZ]; in read_string_inner()
|
| /freebsd/contrib/less/ |
| H A D | command.c | 938 WCHAR w[MAX_PATH+16]; in prompt() 993 WCHAR w[MAX_PATH*2]; in prompt()
|