Home | History | Annotate | Download | only in bus

Lines Matching refs:s_dir

75   BusServiceDirectory *s_dir;
257 BusServiceDirectory *s_dir,
285 if (!_dbus_string_append (&file_path, s_dir->dir_c) ||
360 entry = _dbus_hash_table_lookup_string (s_dir->entries,
390 entry->s_dir = s_dir;
404 if (!_dbus_hash_table_insert_string (s_dir->entries, entry->filename, bus_activation_entry_ref (entry)))
440 _dbus_hash_table_remove_string (entry->s_dir->entries,
490 if (!_dbus_string_append (&file_path, entry->s_dir->dir_c) ||
504 _dbus_hash_table_remove_string (entry->s_dir->entries, entry->filename);
539 if (!update_desktop_file_entry (activation, entry->s_dir, &filename, desktop_file, &tmp_error))
572 BusServiceDirectory *s_dir,
588 _dbus_string_init_const (&dir, s_dir->dir_c);
611 s_dir->dir_c,
631 entry = _dbus_hash_table_lookup_string (s_dir->entries, _dbus_string_get_const_data (&filename));
640 if (!_dbus_string_append (&full_path, s_dir->dir_c) ||
668 if (!update_desktop_file_entry (activation, s_dir, &filename, desktop_file, &tmp_error))
819 BusServiceDirectory *s_dir;
828 s_dir = dbus_new0 (BusServiceDirectory, 1);
829 if (!s_dir)
836 s_dir->refcount = 1;
837 s_dir->dir_c = dir;
839 s_dir->entries = _dbus_hash_table_new (DBUS_HASH_STRING, NULL,
842 if (!s_dir->entries)
844 bus_service_directory_unref (s_dir);
849 if (!_dbus_hash_table_insert_string (activation->directories, s_dir->dir_c, s_dir))
851 bus_service_directory_unref (s_dir);
857 if (!update_directory (activation, s_dir, error))
1506 BusServiceDirectory *s_dir;
1508 s_dir = _dbus_hash_iter_get_value (&iter);
1511 if (!update_directory (activation, s_dir, &tmp_error))