Lines Matching refs:path
49 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
50 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
51 path = Windows::ApplicationModel::Package::Current->InstalledLocation->Path->Data(); in SDL_WinRTGetFSPathUNICODE()
53 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
58 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
59 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
60 path = ApplicationData::Current->LocalFolder->Path->Data(); in SDL_WinRTGetFSPathUNICODE()
62 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
68 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
69 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
70 path = ApplicationData::Current->RoamingFolder->Path->Data(); in SDL_WinRTGetFSPathUNICODE()
72 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
77 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
78 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
79 path = ApplicationData::Current->TemporaryFolder->Path->Data(); in SDL_WinRTGetFSPathUNICODE()
81 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
148 WCHAR path[MAX_PATH]; in SDL_GetPrefPath() local
173 SDL_wcslcpy(path, srcPath, SDL_arraysize(path)); in SDL_GetPrefPath()
188 new_wpath_len = SDL_wcslen(worg) + SDL_wcslen(wapp) + SDL_wcslen(path) + 3; in SDL_GetPrefPath()
198 SDL_wcslcat(path, L"\\", new_wpath_len + 1); in SDL_GetPrefPath()
199 SDL_wcslcat(path, worg, new_wpath_len + 1); in SDL_GetPrefPath()
203 api_result = CreateDirectoryW(path, NULL); in SDL_GetPrefPath()
212 SDL_wcslcat(path, L"\\", new_wpath_len + 1); in SDL_GetPrefPath()
213 SDL_wcslcat(path, wapp, new_wpath_len + 1); in SDL_GetPrefPath()
216 api_result = CreateDirectoryW(path, NULL); in SDL_GetPrefPath()
224 SDL_wcslcat(path, L"\\", new_wpath_len + 1); in SDL_GetPrefPath()
226 retval = WIN_StringToUTF8(path); in SDL_GetPrefPath()