Home
last modified time | relevance | path

Searched refs:prefs_path (Results 1 – 25 of 52) sorted by relevance

123

/dports/emulators/frodo/Frodo-4.1b/Src/
H A Dmain_WIN32.i37 prefs_path[0] = 0; in Frodo()
66 strncpy(prefs_path, argv[0] + cwd_len, 255); in ArgvReceived()
68 strncpy(prefs_path, argv[0], 255); in ArgvReceived()
69 int length = strlen(prefs_path); in ArgvReceived()
70 if (length > 4 && strchr(prefs_path, '.') == NULL) in ArgvReceived()
71 strcat(prefs_path, ".fpr"); in ArgvReceived()
85 if (!prefs_path[0]) in ReadyToRun()
86 strcpy(prefs_path, "Frodo.fpr"); in ReadyToRun()
87 ThePrefs.Load(prefs_path); in ReadyToRun()
90 if (!ThePrefs.ShowEditor(TRUE, prefs_path)) in ReadyToRun()
[all …]
H A Dmain_x.i14 char Frodo::prefs_path[256] = "";
60 strncpy(prefs_path, argv[1], 255); in ArgvReceived()
73 if (!prefs_path[0]) { in ReadyToRun()
76 strncpy(prefs_path, home, 200); in ReadyToRun()
77 strcat(prefs_path, "/"); in ReadyToRun()
79 strcat(prefs_path, ".frodorc"); in ReadyToRun()
81 ThePrefs.Load(prefs_path); in ReadyToRun()
94 newprefs.Load(prefs_path); in reload_prefs()
H A Dmain_Amiga.i111 prefs_path[0] = 0; in Frodo()
122 strncpy(prefs_path, argv[1], 255); in ArgvReceived()
135 if (!prefs_path[0]) in ReadyToRun()
136 strcpy(prefs_path, "Frodo Prefs"); in ReadyToRun()
137 ThePrefs.Load(prefs_path); in ReadyToRun()
140 if (ThePrefs.ShowEditor(TRUE, prefs_path)) { in ReadyToRun()
158 if (prefs->ShowEditor(FALSE, prefs_path)) { in RunPrefsEditor()
H A Dmain.h65 char prefs_path[1024]; // Pathname of current preferences file variable
94 char prefs_path[256]; // Pathname of current preferences file variable
123 static char prefs_path[256]; // Pathname of current preferences file variable
164 char prefs_path[256]; // Pathname of current preferences file variable
243 char prefs_path[256]; // Pathname of current preferences file variable
H A Dmain_Be.i50 strcpy(prefs_path, "/boot/home/config/settings/Frodo_settings"); in Frodo()
68 strncpy(prefs_path, argv[1], 1023); in ArgvReceived()
69 prefs_path[1023] = 0; in ArgvReceived()
90 strncpy(prefs_path, the_path.Path(), 1023); in RefsReceived()
91 prefs_path[1023] = 0; in RefsReceived()
123 ThePrefs.Load(prefs_path); in ReadyToRun()
127 ThePrefs.ShowEditor(true, prefs_path); in ReadyToRun()
163 prefs->ShowEditor(false, prefs_path); // Sends MSG_PREFS_DONE on close in MessageReceived()
H A DPrefs_Be.i114 char *prefs_path; variable
225 prefs_path = path; in PrefsWindow()
709 strncpy(prefs_path, the_path.Path(), 1023); in MessageReceived()
710 prefs_path[1023] = 0; in MessageReceived()
711 prefs->Load(prefs_path); in MessageReceived()
718 prefs->Save(prefs_path); in MessageReceived()
732 strncpy(prefs_path, the_path.Path(), 1023); in MessageReceived()
733 strncat(prefs_path, "/", 1023); in MessageReceived()
735 prefs_path[1023] = 0; in MessageReceived()
737 if (!prefs->Save(prefs_path)) in MessageReceived()
[all …]
H A DDisplay_WIN32.i800 strcpy(TheApp->prefs_path, "Untitled.fpr"); in WindowProc()
808 if (FileNameDialog(TheApp->prefs_path)) { in WindowProc()
810 prefs->Load(TheApp->prefs_path); in WindowProc()
820 ThePrefs.Save(TheApp->prefs_path); in WindowProc()
826 ThePrefs.Save(TheApp->prefs_path); in WindowProc()
2228 strcpy(filename, prefs_path); in FileNameDialog()
2264 strcpy(prefs_path, filename + cwd_len); in FileNameDialog()
2266 strcpy(prefs_path, filename); in FileNameDialog()
2275 const char *prefs_path = TheApp->prefs_path; in WindowTitle() local
2276 int prefs_path_length = strlen(prefs_path); in WindowTitle()
[all …]
/dports/audio/sweep/sweep-0.9.3/src/
H A Dpreferences.c51 G_CONST_RETURN char * prefs_path; in prefs_init() local
54 prefs_path = g_get_home_dir (); in prefs_init()
55 prefs_path = g_strconcat (prefs_path, "/.sweep", NULL); in prefs_init()
57 if (stat (prefs_path, &sbuf) == -1) { in prefs_init()
60 if (mkdir (prefs_path, DIR_MODE) == -1) { in prefs_init()
66 printf (_("Created %s/ mode %04o\n"), prefs_path, DIR_MODE); in prefs_init()
78 if (access (prefs_path, W_OK) == -1) { in prefs_init()
81 if (chmod (prefs_path, DIR_MODE) == -1) { in prefs_init()
94 prefs_path = g_strconcat (prefs_path, "/preferences.tdb", NULL); in prefs_init()
96 if (access (prefs_path, R_OK | W_OK) == -1) { in prefs_init()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/widget/
H A Dpreferences-widget.h82 void init(Glib::ustring const &prefs_path,
98 void init(Glib::ustring const &prefs_path,
157 void init(Glib::ustring const &prefs_path,
179 void init(Glib::ustring const &prefs_path,
186 void init(Glib::ustring const &prefs_path,
201 void init(Glib::ustring const &prefs_path,
215 void init(Glib::ustring const &prefs_path, bool mask);
236 void init(Glib::ustring const &prefs_path,
254 void init(Glib::ustring const &prefs_path,
280 void init(Glib::ustring const &prefs_path);
[all …]
H A Dpreferences-widget.cpp175 _prefs_path = prefs_path; in init()
194 _prefs_path = prefs_path; in init()
215 _prefs_path = prefs_path; in init()
249 _prefs_path = prefs_path; in init()
299 _prefs_path = prefs_path; in init()
582 _prefs_path = prefs_path; in init()
616 _prefs_path = prefs_path; in init()
634 _prefs_path = prefs_path; in init()
663 _prefs_path = prefs_path; in init()
687 _prefs_path = prefs_path; in init()
[all …]
/dports/x11/mate-panel/mate-panel-1.26.1/applets/clock/
H A Dcalendar-window.c54 char *prefs_path; member
488 const char *prefs_path, in calendar_window_new() argument
604 return calwin->priv->prefs_path; in calendar_window_get_prefs_path()
609 const char *prefs_path) in calendar_window_set_prefs_path() argument
613 if (!calwin->priv->prefs_path && (!prefs_path || !prefs_path [0])) in calendar_window_set_prefs_path()
616 if (calwin->priv->prefs_path && prefs_path && prefs_path [0] && in calendar_window_set_prefs_path()
617 !strcmp (calwin->priv->prefs_path, prefs_path)) in calendar_window_set_prefs_path()
620 if (calwin->priv->prefs_path) in calendar_window_set_prefs_path()
622 calwin->priv->prefs_path = NULL; in calendar_window_set_prefs_path()
624 if (prefs_path && prefs_path [0]) in calendar_window_set_prefs_path()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/dialog/
H A Dclonetiler.cpp91 static Glib::ustring const prefs_path = "/dialogs/clonetiler/"; variable
1225 prefs->setString(prefs_path + "initial_color", c); in on_picker_color_changed()
2185 int imax = prefs->getInt(prefs_path + "imax", 2); in apply()
2186 int jmax = prefs->getInt(prefs_path + "jmax", 2); in apply()
2193 int pick = prefs->getInt(prefs_path + "pick"); in apply()
2531 prefs->setBool(prefs_path + attr, tb->get_active()); in checkbox_toggled()
2733 prefs->setInt(prefs_path + "pick", v); in pick_switched()
2746 prefs->setBool(prefs_path + "fillrect", false); in switch_to_create()
2760 prefs->setBool(prefs_path + "fillrect", true); in switch_to_fill()
2770 prefs->setDouble(prefs_path + "fillwidth", pixels); in fill_width_changed()
[all …]
H A Ddialog-base.cpp41 DialogBase::DialogBase(gchar const *prefs_path, int verb_num) in DialogBase() argument
44 , _prefs_path(prefs_path) in DialogBase()
/dports/audio/libgpod-sharp/libgpod-0.8.3/src/
H A Ditdb_tzinfo.c90 static gboolean itdb_device_read_raw_timezone (const char *prefs_path, in itdb_device_read_raw_timezone() argument
101 f = fopen (prefs_path, "r"); in itdb_device_read_raw_timezone()
248 char *prefs_path; in itdb_device_set_timezone_info() local
254 prefs_path = get_preferences_path (device); in itdb_device_set_timezone_info()
256 if (!prefs_path) { in itdb_device_set_timezone_info()
260 status = g_stat (prefs_path, &stat_buf); in itdb_device_set_timezone_info()
262 g_free (prefs_path); in itdb_device_set_timezone_info()
284 g_free (prefs_path); in itdb_device_set_timezone_info()
288 result = itdb_device_read_raw_timezone (prefs_path, offset, in itdb_device_set_timezone_info()
290 g_free (prefs_path); in itdb_device_set_timezone_info()
/dports/audio/libgpod/libgpod-0.8.3/src/
H A Ditdb_tzinfo.c90 static gboolean itdb_device_read_raw_timezone (const char *prefs_path, in itdb_device_read_raw_timezone() argument
101 f = fopen (prefs_path, "r"); in itdb_device_read_raw_timezone()
248 char *prefs_path; in itdb_device_set_timezone_info() local
254 prefs_path = get_preferences_path (device); in itdb_device_set_timezone_info()
256 if (!prefs_path) { in itdb_device_set_timezone_info()
260 status = g_stat (prefs_path, &stat_buf); in itdb_device_set_timezone_info()
262 g_free (prefs_path); in itdb_device_set_timezone_info()
284 g_free (prefs_path); in itdb_device_set_timezone_info()
288 result = itdb_device_read_raw_timezone (prefs_path, offset, in itdb_device_set_timezone_info()
290 g_free (prefs_path); in itdb_device_set_timezone_info()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/util/
H A Dinitial_preferences.cc88 InitialPreferences::InitialPreferences(const base::FilePath& prefs_path) { in InitialPreferences() argument
89 InitializeFromFilePath(prefs_path); in InitialPreferences()
102 base::FilePath prefs_path( in InitializeFromCommandLine() local
104 InitializeFromFilePath(prefs_path); in InitializeFromCommandLine()
174 const base::FilePath& prefs_path) { in InitializeFromFilePath() argument
179 if (base::PathExists(prefs_path) && in InitializeFromFilePath()
180 !base::ReadFileToString(prefs_path, &json_data)) { in InitializeFromFilePath()
181 LOG(ERROR) << "Failed to read preferences from " << prefs_path.value(); in InitializeFromFilePath()
H A Dinitial_preferences.h92 explicit InitialPreferences(const base::FilePath& prefs_path);
181 void InitializeFromFilePath(const base::FilePath& prefs_path);
H A Dinitial_preferences_unittest.cc195 base::FilePath prefs_path; in TEST() local
196 ASSERT_TRUE(base::PathService::Get(chrome::DIR_TEST_DATA, &prefs_path)); in TEST()
197 prefs_path = prefs_path.AppendASCII("extensions") in TEST()
201 installer::InitialPreferences prefs(prefs_path); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/login/demo_mode/
H A Ddemo_extensions_external_loader.cc37 const base::FilePath& prefs_path) { in LoadPrefsFromDisk() argument
38 if (!base::PathExists(prefs_path)) { in LoadPrefsFromDisk()
39 LOG(WARNING) << "Demo extensions prefs not found " << prefs_path.value(); in LoadPrefsFromDisk()
44 if (!base::ReadFileToStringWithMaxSize(prefs_path, &prefs_str, in LoadPrefsFromDisk()
46 LOG(ERROR) << "Failed to read prefs " << prefs_path.value() << "; " in LoadPrefsFromDisk()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/credential_provider/setup/
H A Dsetup_utils.cc102 base::FilePath prefs_path( in ConfigureInstallationType() local
105 if (InitializeFromInstallerData(prefs_path)) in ConfigureInstallationType()
301 base::FilePath prefs_path) { in InitializeFromInstallerData() argument
303 if (base::PathExists(prefs_path) && in InitializeFromInstallerData()
304 !base::ReadFileToString(prefs_path, &json_data)) { in InitializeFromInstallerData()
305 LOGFN(ERROR) << "Failed to read preferences from " << prefs_path.value(); in InitializeFromInstallerData()
/dports/x11/mate-panel/mate-panel-1.26.1/mate-panel/
H A Dpanel-test-applets.c143 const char *prefs_path, in load_applet_into_window() argument
165 "prefs-path", g_variant_new_string (prefs_path)); in load_applet_into_window()
269 char *prefs_path = NULL; in setup_options() local
327 prefs_path = g_strdup_printf ("/tmp/%s/", unique_key); in setup_options()
330 gtk_entry_set_text (GTK_ENTRY (prefs_path_entry), prefs_path); in setup_options()
331 g_free (prefs_path); in setup_options()
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/harness/wptrunner/browsers/
H A Dfirefox.py169 prefs_path = os.path.join(self.prefs_root, "prefs_general.js")
170 if os.path.exists(prefs_path):
171 preferences = Preferences.read_prefs(prefs_path)
173 self.logger.warning("Failed to find base prefs file in %s" % prefs_path)
H A Db2g.py147 prefs_path = os.path.join(self.prefs_root, "prefs_general.js")
148 if os.path.exists(prefs_path):
149 preferences = Preferences.read_prefs(prefs_path)
151 self.logger.warning("Failed to find base prefs file in %s" % prefs_path)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/crash/linux/
H A Dminidump_uploader.cc52 base::FilePath prefs_path; in CreatePrefService() local
53 CHECK(base::PathService::Get(chromecast::FILE_CAST_CONFIG, &prefs_path)); in CreatePrefService()
54 DVLOG(1) << "Loading prefs from " << prefs_path.value(); in CreatePrefService()
64 prefs_path, base::ThreadTaskRunnerHandle::Get().get()); in CreatePrefService()
/dports/emulators/sameboy/SameBoy-0.14.7/SDL/
H A Dmain.c748 static char prefs_path[1024] = {0, }; variable
752 FILE *prefs_file = fopen(prefs_path, "wb"); in save_configuration()
813 strcpy(prefs_path, resource_path("prefs.bin")); in main()
814 if (access(prefs_path, R_OK | W_OK) != 0) { in main()
816 snprintf(prefs_path, sizeof(prefs_path) - 1, "%sprefs.bin", prefs_dir); in main()
820 FILE *prefs_file = fopen(prefs_path, "rb"); in main()

123