Searched refs:wdir (Results 1 – 2 of 2) sorted by relevance
/external/openssl/crypto/ |
D | LPdir_win.c | 76 TCHAR *wdir = NULL; in LP_find_file() local 80 wdir = (TCHAR *)malloc(len_0 * sizeof(TCHAR)); in LP_find_file() 81 if (wdir == NULL) in LP_find_file() 90 if (!MultiByteToWideChar(CP_ACP, 0, directory, len_0, (WCHAR *)wdir, len_0)) in LP_find_file() 93 wdir[index] = (TCHAR)directory[index]; in LP_find_file() 95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); in LP_find_file() 97 free(wdir); in LP_find_file() 120 TCHAR *wdir = (*ctx)->ctx.cFileName; in LP_find_file() local 123 while (wdir[len_0] && len_0 < (sizeof((*ctx)->entry_name) - 1)) len_0++; in LP_find_file() 127 if (!WideCharToMultiByte(CP_ACP, 0, (WCHAR *)wdir, len_0, (*ctx)->entry_name, in LP_find_file() [all …]
|
/external/bluetooth/glib/glib/ |
D | gutils.c | 999 wchar_t dummy[2], *wdir; in g_get_current_dir() local 1003 wdir = g_new (wchar_t, len); in g_get_current_dir() 1005 if (GetCurrentDirectoryW (len, wdir) == len - 1) in g_get_current_dir() 1006 dir = g_utf16_to_utf8 (wdir, -1, NULL, NULL, NULL); in g_get_current_dir() 1008 g_free (wdir); in g_get_current_dir()
|