• Home
  • Raw
  • Download

Lines Matching refs:vfs

62   GVfs *vfs = G_VFS (object);  in G_DEFINE_TYPE_WITH_PRIVATE()  local
63 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in G_DEFINE_TYPE_WITH_PRIVATE()
79 resource_parse_name (GVfs *vfs, in resource_parse_name() argument
90 resource_get_file_for_uri (GVfs *vfs, in resource_get_file_for_uri() argument
111 g_vfs_init (GVfs *vfs) in g_vfs_init() argument
113 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in g_vfs_init()
118 g_vfs_register_uri_scheme (vfs, "resource", in g_vfs_init()
133 g_vfs_is_active (GVfs *vfs) in g_vfs_is_active() argument
137 g_return_val_if_fail (G_IS_VFS (vfs), FALSE); in g_vfs_is_active()
139 class = G_VFS_GET_CLASS (vfs); in g_vfs_is_active()
141 return (* class->is_active) (vfs); in g_vfs_is_active()
156 g_vfs_get_file_for_path (GVfs *vfs, in g_vfs_get_file_for_path() argument
161 g_return_val_if_fail (G_IS_VFS (vfs), NULL); in g_vfs_get_file_for_path()
164 class = G_VFS_GET_CLASS (vfs); in g_vfs_get_file_for_path()
166 return (* class->get_file_for_path) (vfs, path); in g_vfs_get_file_for_path()
170 parse_name_internal (GVfs *vfs, in parse_name_internal() argument
173 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in parse_name_internal()
183 ret = closure->parse_name_func (vfs, parse_name, in parse_name_internal()
196 get_file_for_uri_internal (GVfs *vfs, in get_file_for_uri_internal() argument
199 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in get_file_for_uri_internal()
212 ret = closure->uri_func (vfs, uri, closure->uri_data); in get_file_for_uri_internal()
235 g_vfs_get_file_for_uri (GVfs *vfs, in g_vfs_get_file_for_uri() argument
241 g_return_val_if_fail (G_IS_VFS (vfs), NULL); in g_vfs_get_file_for_uri()
244 class = G_VFS_GET_CLASS (vfs); in g_vfs_get_file_for_uri()
246 ret = get_file_for_uri_internal (vfs, uri); in g_vfs_get_file_for_uri()
248 ret = (* class->get_file_for_uri) (vfs, uri); in g_vfs_get_file_for_uri()
266 g_vfs_get_supported_uri_schemes (GVfs *vfs) in g_vfs_get_supported_uri_schemes() argument
270 g_return_val_if_fail (G_IS_VFS (vfs), NULL); in g_vfs_get_supported_uri_schemes()
272 priv = g_vfs_get_instance_private (vfs); in g_vfs_get_supported_uri_schemes()
282 class = G_VFS_GET_CLASS (vfs); in g_vfs_get_supported_uri_schemes()
284 default_schemes = (* class->get_supported_uri_schemes) (vfs); in g_vfs_get_supported_uri_schemes()
322 g_vfs_parse_name (GVfs *vfs, in g_vfs_parse_name() argument
328 g_return_val_if_fail (G_IS_VFS (vfs), NULL); in g_vfs_parse_name()
331 class = G_VFS_GET_CLASS (vfs); in g_vfs_parse_name()
333 ret = parse_name_internal (vfs, parse_name); in g_vfs_parse_name()
337 return (* class->parse_name) (vfs, parse_name); in g_vfs_parse_name()
380 static gsize vfs = 0; in g_vfs_get_local() local
382 if (g_once_init_enter (&vfs)) in g_vfs_get_local()
383 g_once_init_leave (&vfs, (gsize)_g_local_vfs_new ()); in g_vfs_get_local()
385 return G_VFS (vfs); in g_vfs_get_local()
431 g_vfs_register_uri_scheme (GVfs *vfs, in g_vfs_register_uri_scheme() argument
443 g_return_val_if_fail (G_IS_VFS (vfs), FALSE); in g_vfs_register_uri_scheme()
446 priv = g_vfs_get_instance_private (vfs); in g_vfs_register_uri_scheme()
487 g_vfs_unregister_uri_scheme (GVfs *vfs, in g_vfs_unregister_uri_scheme() argument
493 g_return_val_if_fail (G_IS_VFS (vfs), FALSE); in g_vfs_unregister_uri_scheme()
496 priv = g_vfs_get_instance_private (vfs); in g_vfs_unregister_uri_scheme()