Lines Matching refs:path
118 /* Get the path as UTF-16. */
230 /* Windows stores the drive-local path in an "hidden" environment variable,
245 /* Doesn't look like a drive letter could be there - probably an UNC path.
972 wchar_t *path;
985 path = uv__malloc(len * sizeof(wchar_t));
986 if (path == NULL) {
989 len = GetTempPathW(len, path);
992 uv__free(path);
998 if (path[len - 1] == L'\\' &&
999 !(len == 3 && path[1] == L':')) {
1001 path[len] = L'\0';
1004 return uv__copy_utf16_to_utf8(path, len, buffer, size);
1083 wchar_t *path;
1102 path = uv__malloc(bufsize * sizeof(wchar_t));
1103 if (path == NULL) {
1108 if (!GetUserProfileDirectoryW(token, path, &bufsize)) {
1111 uv__free(path);
1121 uv__free(path);
1131 r = uv__convert_utf16_to_utf8(path, -1, &pwd->homedir);
1132 uv__free(path);