Home
last modified time | relevance | path

Searched refs:session_path (Results 1 – 25 of 127) sorted by relevance

123456

/dports/x11/lightdm/lightdm-1.30.0/src/
H A Dconsole-kit.c72 g_autofree gchar *session_path = NULL; in get_ck_session() local
73 g_variant_get (result, "(o)", &session_path); in get_ck_session()
75 return g_steal_pointer (&session_path); in get_ck_session()
92 g_autofree gchar *session_path = get_ck_session (bus, cookie); in ck_lock_session() local
93 if (!session_path) in ck_lock_session()
125 g_autofree gchar *session_path = get_ck_session (bus, cookie); in ck_unlock_session() local
126 if (!session_path) in ck_unlock_session()
158 g_autofree gchar *session_path = get_ck_session (bus, cookie); in ck_activate_session() local
159 if (!session_path) in ck_activate_session()
227 g_autofree gchar *session_path = get_ck_session (bus, cookie); in ck_get_xdg_runtime_dir() local
[all …]
H A Ddm-tool.c325 const gchar *session_path; in main() local
326 while (g_variant_iter_loop (session_iter, "&o", &session_path)) in main()
329 if (g_str_has_prefix (session_path, "/org/freedesktop/DisplayManager/")) in main()
330 session_name = session_path + strlen ("/org/freedesktop/DisplayManager/"); in main()
332 session_name = session_path; in main()
338 session_path, in main()
/dports/www/py-httpie/httpie-2.6.0/tests/
H A Dtest_sessions.py192 session_path = self.config_dir / 'session-data.json'
193 session_path.write_text(json.dumps(session_data))
251 session_path = self.config_dir / 'test-session.json'
266 '--session', str(session_path),
275 '--session', str(session_path),
298 '--session', str(session_path),
306 '--session', str(session_path),
325 http('--session', str(self.session_path),
354 '--session', str(self.session_path),
446 '--session', str(self.session_path),
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/sessions/
H A Dsession_service_ios_unittest.mm82 base::FilePath session_path;
86 session_path = session_path.Append(FILE_PATH_LITERAL("sessions"));
87 session_path = session_path.Append(filename);
88 if (!base::PathExists(session_path))
205 NSString* session_path =
222 NSString* session_path =
224 ASSERT_NSNE(nil, session_path);
232 NSString* session_path =
234 ASSERT_NSNE(nil, session_path);
242 NSString* session_path =
[all …]
/dports/devel/py-python-dbusmock/python-dbusmock-0.25.0/dbusmock/templates/
H A Dbluez5-obex.py122 def RemoveSession(self, session_path): argument
132 while session_path + '/transfer' + str(transfer_id) in mockobject.objects:
133 transfer_path = session_path + '/transfer' + str(transfer_id)
145 self.RemoveObject(session_path)
149 dbus.ObjectPath(session_path),
180 session_path = self.path
182 while session_path + '/transfer' + str(transfer_id) in mockobject.objects:
185 transfer_path = session_path + '/transfer' + str(transfer_id)
195 'Session': dbus.ObjectPath(session_path,
H A Dlogind.py232 session_path = dbus.ObjectPath(f'/org/freedesktop/login1/session/{session_id}')
233 if session_path in mockobject.objects:
237 self.AddObject(session_path,
279 cur_sessions.append((session_id, session_path))
281 obj_seat.Set('org.freedesktop.login1.Seat', 'ActiveSession', (session_id, session_path))
286 cur_sessions.append((session_id, session_path))
289 return session_path
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/unit/misc/
H A Dtest_sessions.py207 session_path = tmp_path / 'foo.yml'
208 sess_man.save(str(session_path))
212 session_path = tmp_path / 'foo.yml'
218 assert not session_path.exists()
222 session_path = tmp_path / 'foo.yml'
223 sess_man.save(str(session_path), last_window=True)
224 data = session_path.read_text('utf-8')
240 session_path = tmp_path / 'foo.yml'
247 session_path = tmp_path / 'foo.yml'
252 sess_man.save(str(session_path))
[all …]
/dports/editors/neovim/neovim-0.6.1/test/functional/ex_cmds/
H A Dmksession_spec.lua77 local session_path = cwd_dir .. get_pathsep() .. session_file
84 command('mksession ' .. session_path)
90 command('silent source ' .. session_path)
105 local session_path = cwd_dir..'/'..session_file
110 command('mksession '..session_path)
115 command('silent source '..session_path)
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/
H A Dstartup_fsm.cc584 session_path = Glib::path_get_dirname (path); in get_session_parameters_from_path()
586 session_path = path; in get_session_parameters_from_path()
615 session_path = Glib::build_filename (Config->get_default_session_parent_dir (), session_name); in get_session_parameters_from_path()
618 session_path = path; in get_session_parameters_from_path()
698 session_path = session_dialog->session_folder (); in check_session_parameters()
773 session_path = Glib::path_get_dirname (session_name); in check_session_parameters()
785 if (Glib::file_test (session_path, Glib::FileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR))) { in check_session_parameters()
789 std::string existing = Glib::build_filename (session_path, session_name); in check_session_parameters()
805 …dourMessageDialog msg (string_compose (_("There is no existing session at \"%1\""), session_path)); in check_session_parameters()
832 …const string statefile_path = Glib::build_filename (session_path, session_name + ARDOUR::statefile… in check_session_parameters()
[all …]
H A Dardour_ui_session.cc157 string session_path; in session_dialog_response_handler() local
161 session_path = ""; in session_dialog_response_handler()
172 session_path = session_dialog->session_folder (); in session_dialog_response_handler()
190 session_dialog->set_provided_session (session_name, session_path); in session_dialog_response_handler()
225 session_path = Glib::path_get_dirname (session_name); in session_dialog_response_handler()
230 session_path = session_dialog->session_folder(); in session_dialog_response_handler()
291 load_session (session_path, session_name, template_name); in session_dialog_response_handler()
1091 string session_path = open_session_selector.get_filename(); in open_session() local
1095 if (session_path.length() > 0) { in open_session()
1096 int rv = ARDOUR::inflate_session (session_path, in open_session()
[all …]
H A Dstartup_fsm.h65 std::string session_path; variable
105 bool ask_about_loading_existing_session (const std::string& session_path);
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/crash_report/
H A Dcrash_restore_helper_unittest.mm65 NSString* session_path =
68 NSString* directory = [session_path stringByDeletingLastPathComponent];
75 [file_manager createFileAtPath:session_path contents:data attributes:nil];
76 if (![file_manager fileExistsAtPath:session_path])
94 NSString* session_path =
97 if ([file_manager fileExistsAtPath:session_path])
/dports/audio/ardour6/Ardour-6.8.0/tools/
H A Dsession_exchange.py125 def add_session(self, session_path): argument
128 session_name = session_path[session_path.rfind('/', 0, len(session_path)-2)+1: -1]
130 sessions[session_name]['path'] = session_path
135 if os.path.isdir (os.path.join (session_path,'sounds')):
148 session_path = sessions[session_name]['path']
158 def create_session(self, session_path): argument
161 session_name = session_path[session_path.rfind('/', 0, len(session_path)-2)+1: ]
163 os.mkdir(session_path)
164 os.mkdir(os.path.join (session_path,'interchange'))
165 os.mkdir(os.path.join (session_path,'interchange',session_name))
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/modules/printbackends/
H A Dgtkcupssecretsutils.c45 *session_path, member
343 task_data->session_path, in do_store_auth_info()
416 task_data->session_path), in prompt_completed_cb()
519 task_data->session_path), in unlock_collection_cb()
656 task_data->session_path), in item_proxy_cb()
774 task_data->session_path = g_variant_dup_string (session_variant, NULL); in open_session_cb()
776 if (task_data->session_path == NULL) in open_session_cb()
927 if (task_data->session_path != NULL) in cleanup_task_data()
931 task_data->session_path, in cleanup_task_data()
944 g_clear_pointer (&task_data->session_path, g_free); in cleanup_task_data()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/modules/printbackends/cups/
H A Dgtkcupssecretsutils.c45 *session_path, member
343 task_data->session_path, in do_store_auth_info()
416 task_data->session_path), in prompt_completed_cb()
517 task_data->session_path), in unlock_collection_cb()
652 task_data->session_path), in item_proxy_cb()
768 task_data->session_path = g_variant_dup_string (session_variant, NULL); in open_session_cb()
770 if (task_data->session_path == NULL) in open_session_cb()
919 if (task_data->session_path != NULL) in cleanup_task_data()
923 task_data->session_path, in cleanup_task_data()
936 g_clear_pointer (&task_data->session_path, g_free); in cleanup_task_data()
/dports/www/janus/janus-gateway-0.11.6/transports/
H A Djanus_http.c1465 session_path = g_strdup(path[1]); in janus_http_handler()
1504 if(session_path != NULL && !strcmp(session_path, "info")) { in janus_http_handler()
1525 session_id = session_path ? g_ascii_strtoull(session_path, NULL, 10) : 0; in janus_http_handler()
1690 if(session_id && session_path && g_ascii_strtoull(session_path, NULL, 10) != session_id) { in janus_http_handler()
1697 session_id = session_path ? g_ascii_strtoull(session_path, NULL, 10) : 0; in janus_http_handler()
1740 g_free(session_path); in janus_http_handler()
1863 session_path = g_strdup(path[1]); in janus_http_admin_handler()
1902 if(session_path != NULL && !strcmp(session_path, "info")) { in janus_http_admin_handler()
1940 if(session_id && session_path && g_ascii_strtoull(session_path, NULL, 10) != session_id) { in janus_http_admin_handler()
1947 session_id = session_path ? g_ascii_strtoull(session_path, NULL, 10) : 0; in janus_http_admin_handler()
[all …]
/dports/security/libsecret/libsecret-0.20.4/libsecret/
H A Dsecret-session.c474 gchar *session_path; in _secret_session_decode_secret() local
485 g_variant_get_child (encoded, 0, "o", &session_path); in _secret_session_decode_secret()
487 if (session_path == NULL || !g_str_equal (session_path, session->path)) { in _secret_session_decode_secret()
489 session_path, session->path); in _secret_session_decode_secret()
490 g_free (session_path); in _secret_session_decode_secret()
512 g_free (session_path); in _secret_session_decode_secret()
/dports/net/krill/krill-0.9.4/src/pubd/
H A Dmanager.rs616 fn session_dir_contains_serial(session_path: &Path, serial: u64) -> bool { in session_dir_contains_serial()
617 let mut path = session_path.to_path_buf(); in session_dir_contains_serial()
622 fn session_dir_contains_delta(session_path: &Path, serial: u64) -> bool { in session_dir_contains_delta()
623 RrdpServer::find_in_serial_dir(session_path, serial, "delta.xml") in session_dir_contains_delta()
628 fn session_dir_contains_snapshot(session_path: &Path, serial: u64) -> bool { in session_dir_contains_snapshot()
629 RrdpServer::session_dir_snapshot(session_path, serial) in session_dir_contains_snapshot()
640 let session_path = base_dir.join(format!("repo/rrdp/{}", session)); in find_in_session_and_serial_dir() localVariable
641 RrdpServer::find_in_serial_dir(&session_path, serial, filename).unwrap() in find_in_session_and_serial_dir()
/dports/sysutils/brasero/brasero-3.12.3/libbrasero-burn/
H A Dbrasero-session.c100 gchar *session_path; member
2190 return priv->session_path; in brasero_burn_session_get_log_path()
2213 g_free (priv->session_path); in brasero_burn_session_start()
2225 g_free (priv->session_path); in brasero_burn_session_start()
2226 priv->session_path = NULL; in brasero_burn_session_start()
2307 if (priv->session_path) { in brasero_burn_session_stop()
2308 g_free (priv->session_path); in brasero_burn_session_stop()
2309 priv->session_path = NULL; in brasero_burn_session_stop()
2457 if (priv->session_path) { in brasero_burn_session_finalize()
2459 g_free (priv->session_path); in brasero_burn_session_finalize()
[all …]
/dports/x11-wm/mutter/mutter-41.1/src/backends/
H A Dmeta-remote-desktop.c145 char *session_path; in handle_create_session() local
185 session_path = meta_remote_desktop_session_get_object_path (session); in handle_create_session()
188 session_path); in handle_create_session()
/dports/security/libgnome-keyring/libgnome-keyring-3.12.0/library/tests/mock/
H A Dservice.py242 def GetSecret(self, session_path, sender=None): argument
243 session = objects.get(session_path, None)
245 raise InvalidArgs("session invalid: %s" % session_path)
389 session_path = value[0]
390 session = objects.get(session_path, None)
392 raise InvalidArgs("session invalid: %s" % session_path)
620 def GetSecrets(self, item_paths, session_path, sender=None): argument
621 session = objects.get(session_path, None)
623 raise InvalidArgs("session invalid: %s" % session_path)
628 results[item_path] = item.GetSecret(session_path, sender)
/dports/security/libsecret/libsecret-0.20.4/libsecret/mock/
H A Dservice.py233 def GetSecret(self, session_path, sender=None): argument
234 session = objects.get(session_path, None)
236 raise InvalidArgs("session invalid: %s" % session_path)
383 session_path = value[0]
384 session = objects.get(session_path, None)
386 raise InvalidArgs("session invalid: %s" % session_path)
638 def GetSecrets(self, item_paths, session_path, sender=None): argument
639 session = objects.get(session_path, None)
641 raise InvalidArgs("session invalid: %s" % session_path)
646 results[item_path] = item.GetSecret(session_path, sender)
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sessions/core/
H A Dsnapshotting_command_storage_backend.cc44 base::FilePath session_path = base_path; in GetLegacySessionPath() local
47 return session_path.Append(current ? kLegacyCurrentTabSessionFileName in GetLegacySessionPath()
50 return session_path.Append(current ? kLegacyCurrentSessionFileName in GetLegacySessionPath()
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/modules/polkit/
H A Dpolkit.c17 static const char *session_path = NULL; variable
324 if ((session_id) && (session_user) && (session_path)) in cb_login_prop()
347 eina_stringshare_replace(&session_path, s); in cb_login_session()
434 eina_stringshare_replace(&session_path, NULL); in cb_name_owner_changed()
520 eina_stringshare_replace(&session_path, NULL); in e_mod_polkit_unregister()
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/
H A Dxsession_chooser_linux.cc278 base::FilePath session_path; in CollectXSessions() local
279 while (!(session_path = file_enumerator.Next()).empty()) { in CollectXSessions()
280 base::FilePath basename = session_path.BaseName().RemoveFinalExtension(); in CollectXSessions()
284 session_files.emplace(basename, session_path); in CollectXSessions()

123456