Home
last modified time | relevance | path

Searched refs:wdir (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/
Ddirectory_win.c69 TCHAR *wdir = NULL; in OPENSSL_DIR_read() local
73 wdir = (TCHAR *)malloc(len_0 * sizeof(TCHAR)); in OPENSSL_DIR_read()
74 if (wdir == NULL) { in OPENSSL_DIR_read()
81 if (!MultiByteToWideChar(CP_ACP, 0, directory, len_0, (WCHAR *)wdir, in OPENSSL_DIR_read()
84 wdir[index] = (TCHAR)directory[index]; in OPENSSL_DIR_read()
88 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); in OPENSSL_DIR_read()
90 free(wdir); in OPENSSL_DIR_read()
108 TCHAR *wdir = (*ctx)->ctx.cFileName; in OPENSSL_DIR_read() local
111 while (wdir[len_0] && len_0 < (sizeof((*ctx)->entry_name) - 1)) { in OPENSSL_DIR_read()
116 if (!WideCharToMultiByte(CP_ACP, 0, (WCHAR *)wdir, len_0, in OPENSSL_DIR_read()
[all …]