Home
last modified time | relevance | path

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

/dports/graphics/libvisual04-plugins/libvisual-plugins-0.4.0/plugins/actor/G-Force/Common/io/
H A DPrefs.cpp44 UtilStr prefPath; in Prefs() local
45 prefPath.Assign( (char*) EgOSUtils::sAppSpec.OSSpec() ); in Prefs()
46 prefPath.Append( mPrefName ); in Prefs()
47 mFileSpec.Assign( prefPath.getCStr(), 0 ); in Prefs()
51 UtilStr prefPath; in Prefs() local
52 prefPath.Assign( getenv("HOME") ); in Prefs()
53 prefPath.Append( '/' ); in Prefs()
54 prefPath.Append( mPrefName ); in Prefs()
55 mFileSpec.Assign( prefPath.getCStr(), 0 ); in Prefs()
/dports/games/devilutionX/devilutionX-1.2.1/SourceS/
H A Dpaths.cpp22 std::string *prefPath = NULL; variable
66 if (prefPath == NULL) in GetPrefPath()
67 prefPath = FromSDL(SDL_GetPrefPath("diasurgical", "devilution")); in GetPrefPath()
68 return *prefPath; in GetPrefPath()
102 if (prefPath == NULL) in SetPrefPath()
103 prefPath = new std::string; in SetPrefPath()
104 *prefPath = path; in SetPrefPath()
105 AddTrailingSlash(prefPath); in SetPrefPath()
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/
H A Duxmanager.cpp53 Glib::ustring prefPath; in getLayoutPrefPath() local
56 prefPath = "/focus/"; in getLayoutPrefPath()
58 prefPath = "/fullscreen/"; in getLayoutPrefPath()
60 prefPath = "/window/"; in getLayoutPrefPath()
63 return prefPath; in getLayoutPrefPath()
136 Glib::ustring prefPath = getLayoutPrefPath( desktop ); in getDefaultTask() local
137 taskNum = Inkscape::Preferences::get()->getInt( prefPath + "task/taskset", taskNum ); in getDefaultTask()
177 Glib::ustring prefPath = getLayoutPrefPath( dtw->desktop ); in setTask() local
178 Inkscape::Preferences::get()->setInt( prefPath + "task/taskset", taskNum ); in setTask()
H A Dinterface.cpp122 Glib::ustring prefPath; in getLayoutPrefPath() local
125 prefPath = "/focus/"; in getLayoutPrefPath()
127 prefPath = "/fullscreen/"; in getLayoutPrefPath()
129 prefPath = "/window/"; in getLayoutPrefPath()
132 return prefPath; in getLayoutPrefPath()
/dports/games/criticalmass/CriticalMass-1.5/utils/
H A DGetDataPath.cpp130 std::string prefPath = ""; in getPreferencesPath() local
132 prefPath = getPath( kPreferencesFolderType); in getPreferencesPath()
133 if( prefPath.empty()) in getPreferencesPath()
135 prefPath = getPath( kCurrentUserFolderType); in getPreferencesPath()
138 prefPath = getPath( CSIDL_APPDATA); in getPreferencesPath()
140 prefPath = getenv("HOME"); in getPreferencesPath()
142 return prefPath; in getPreferencesPath()
H A DConfig.cpp103 string prefPath = getPreferencesPath(); in getConfigFileName() local
104 if( prefPath.length()) in getConfigFileName()
106 _configDirectory = prefPath + string("/") + _configDirectory; in getConfigFileName()
107 configFile = prefPath + string("/") + configFile; in getConfigFileName()
124 string prefPath = getPreferencesPath(); in getConfigFileName() local
125 if( prefPath.length()) in getConfigFileName()
127 string homeConfig = prefPath + string("/") + configFile; in getConfigFileName()
130 _configDirectory = prefPath + string("/") + _configDirectory; in getConfigFileName()
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/standalone/source/platform/gdk/
H A Dgdkpreference.cpp107 auto prefPath = IApplication::instance ().getCommonDirectories ().get (
109 if (!prefPath)
111 *prefPath += "preferences.db";
112 if (sqlite3_open (prefPath->data (), &db) != 0)
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/standalone/source/platform/gdk/
H A Dgdkpreference.cpp107 auto prefPath = IApplication::instance ().getCommonDirectories ().get (
109 if (!prefPath)
111 *prefPath += "preferences.db";
112 if (sqlite3_open (prefPath->data (), &db) != 0)
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DGameFactory.cpp83 … bool GameFactory::isGamePathPreference(const String& gameName, const IO::Path& prefPath) const { in isGamePathPreference()
88 return pref.path() == prefPath; in isGamePathPreference()
137 … const IO::Path prefPath = IO::Path("Games") + IO::Path(config.name()) + IO::Path("Path"); in loadGameConfig() local
138 … m_gamePaths.insert(std::make_pair(config.name(), Preference<IO::Path>(prefPath, IO::Path("")))); in loadGameConfig()
H A DGame.cpp39 bool Game::isGamePathPreference(const IO::Path& prefPath) const { in isGamePathPreference()
41 return gameFactory.isGamePathPreference(gameName(), prefPath); in isGamePathPreference()
H A DGameFactory.h57 bool isGamePathPreference(const String& gameName, const IO::Path& prefPath) const;
H A DGame.h55 bool isGamePathPreference(const IO::Path& prefPath) const;
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/IO/
H A DFileSystem.cpp100 char* prefPath = SDL_GetPrefPath("urho3d", "temp"); in DoSystemCommand()
101 if (prefPath) in DoSystemCommand()
103 stderrFilename = String(prefPath) + "command-stderr"; in DoSystemCommand()
105 SDL_free(prefPath); in DoSystemCommand()
749 char* prefPath = SDL_GetPrefPath(org.CString(), app.CString()); in GetAppPreferencesDir() local
750 if (prefPath) in GetAppPreferencesDir()
752 dir = GetInternalPath(String(prefPath)); in GetAppPreferencesDir()
753 SDL_free(prefPath); in GetAppPreferencesDir()
/dports/games/reminiscence/REminiscence-0.4.9/
H A Dfile.cpp284 char *prefPath = SDL_GetPrefPath("org.cyxdown", "fb"); in open() local
285 if (prefPath) { in open()
287 snprintf(path, sizeof(path), "%s/%s", prefPath, filename); in open()
290 SDL_free(prefPath); in open()
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/standalone/source/platform/mac/
H A Dmaccommondirectories.mm75 UTF8String prefPath ("Preferences");
76 return getPath (NSUserDomainMask, NSLibraryDirectory, {&prefPath, &appPath, &subDir},
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/standalone/source/platform/mac/
H A Dmaccommondirectories.mm88 UTF8String prefPath ("Preferences");
89 return getPath (NSUserDomainMask, NSLibraryDirectory, {&prefPath, &appPath, &subDir},
/dports/games/SpaceCadetPinball/SpaceCadetPinball-Release_2.0/SpaceCadetPinball/
H A Dwinmain.cpp123 auto prefPath = SDL_GetPrefPath(nullptr, "SpaceCadetPinball"); in WinMain() local
124 auto iniPath = std::string(prefPath) + "imgui_pb.ini"; in WinMain()
126 SDL_free(prefPath); in WinMain()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Utilities/simmToOpenSim/
H A Dtools.c1646 void build_full_path(const char* prefPath, const char* filePath, char* fullPath) in build_full_path() argument
1652 while (prefPath && *prefPath && isspace(*prefPath)) in build_full_path()
1653 prefPath++; in build_full_path()
1659 if (prefPath && ! is_absolute_path(filePath)) in build_full_path()
1661 strcpy(fullPath, prefPath); in build_full_path()
H A Dfunctions.h65 void build_full_path(const char* prefPath, const char* filePath, char* fullPath);
/dports/deskutils/treeline/TreeLine/source/
H A Dexports.py402 prefPath = templatePath + '/exports' if templatePath else ''
404 'templates/exports', prefPath)
406 'templates/exports', prefPath)
408 'templates/exports', prefPath)
468 prefPath = templatePath + '/exports' if templatePath else ''
470 'templates/exports', prefPath)
472 'templates/exports', prefPath)
474 'templates/exports', prefPath)
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dpreferences.cpp242 TFilePath prefPath = layoutDir + TFilePath("preferences.ini"); in Preferences() local
244 if (!TFileStatus(prefPath).doesExist()) { in Preferences()
249 TSystem::copyFile(prefPath, templatePath); in Preferences()
252 QString::fromStdWString(prefPath.getWideString()), QSettings::IniFormat)); in Preferences()