• Home
  • Raw
  • Download

Lines Matching refs:file

129 static void               g_file_real_query_info_async            (GFile                  *file,
136 static GFileInfo * g_file_real_query_info_finish (GFile *file,
139 static void g_file_real_query_filesystem_info_async (GFile *file,
145 static GFileInfo * g_file_real_query_filesystem_info_finish (GFile *file,
148 static void g_file_real_enumerate_children_async (GFile *file,
155 static GFileEnumerator * g_file_real_enumerate_children_finish (GFile *file,
158 static void g_file_real_read_async (GFile *file,
163 static GFileInputStream * g_file_real_read_finish (GFile *file,
166 static void g_file_real_append_to_async (GFile *file,
172 static GFileOutputStream *g_file_real_append_to_finish (GFile *file,
175 static void g_file_real_create_async (GFile *file,
181 static GFileOutputStream *g_file_real_create_finish (GFile *file,
184 static void g_file_real_replace_async (GFile *file,
192 static GFileOutputStream *g_file_real_replace_finish (GFile *file,
195 static gboolean g_file_real_set_attributes_from_info (GFile *file,
200 static void g_file_real_set_display_name_async (GFile *file,
206 static GFile * g_file_real_set_display_name_finish (GFile *file,
209 static void g_file_real_set_attributes_async (GFile *file,
216 static gboolean g_file_real_set_attributes_finish (GFile *file,
220 static void g_file_real_find_enclosing_mount_async (GFile *file,
225 static GMount * g_file_real_find_enclosing_mount_finish (GFile *file,
237 static gboolean g_file_real_copy_finish (GFile *file,
329 g_file_is_native (GFile *file) in g_file_is_native() argument
333 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_is_native()
335 iface = G_FILE_GET_IFACE (file); in g_file_is_native()
337 return (* iface->is_native) (file); in g_file_is_native()
355 g_file_has_uri_scheme (GFile *file, in g_file_has_uri_scheme() argument
360 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_has_uri_scheme()
363 iface = G_FILE_GET_IFACE (file); in g_file_has_uri_scheme()
365 return (* iface->has_uri_scheme) (file, uri_scheme); in g_file_has_uri_scheme()
387 g_file_get_uri_scheme (GFile *file) in g_file_get_uri_scheme() argument
391 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_uri_scheme()
393 iface = G_FILE_GET_IFACE (file); in g_file_get_uri_scheme()
395 return (* iface->get_uri_scheme) (file); in g_file_get_uri_scheme()
422 g_file_get_basename (GFile *file) in g_file_get_basename() argument
426 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_basename()
428 iface = G_FILE_GET_IFACE (file); in g_file_get_basename()
430 return (* iface->get_basename) (file); in g_file_get_basename()
446 g_file_get_path (GFile *file) in g_file_get_path() argument
450 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_path()
452 iface = G_FILE_GET_IFACE (file); in g_file_get_path()
454 return (* iface->get_path) (file); in g_file_get_path()
469 g_file_get_uri (GFile *file) in g_file_get_uri() argument
473 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_uri()
475 iface = G_FILE_GET_IFACE (file); in g_file_get_uri()
477 return (* iface->get_uri) (file); in g_file_get_uri()
503 g_file_get_parse_name (GFile *file) in g_file_get_parse_name() argument
507 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_parse_name()
509 iface = G_FILE_GET_IFACE (file); in g_file_get_parse_name()
511 return (* iface->get_parse_name) (file); in g_file_get_parse_name()
527 g_file_dup (GFile *file) in g_file_dup() argument
531 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_dup()
533 iface = G_FILE_GET_IFACE (file); in g_file_dup()
535 return (* iface->dup) (file); in g_file_dup()
552 g_file_hash (gconstpointer file) in g_file_hash() argument
556 g_return_val_if_fail (G_IS_FILE (file), 0); in g_file_hash()
558 iface = G_FILE_GET_IFACE (file); in g_file_hash()
560 return (* iface->hash) ((GFile *)file); in g_file_hash()
611 g_file_get_parent (GFile *file) in g_file_get_parent() argument
615 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_parent()
617 iface = G_FILE_GET_IFACE (file); in g_file_get_parent()
619 return (* iface->get_parent) (file); in g_file_get_parent()
639 g_file_get_child (GFile *file, in g_file_get_child() argument
642 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_child()
645 return g_file_resolve_relative_path (file, name); in g_file_get_child()
667 g_file_get_child_for_display_name (GFile *file, in g_file_get_child_for_display_name() argument
673 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_get_child_for_display_name()
676 iface = G_FILE_GET_IFACE (file); in g_file_get_child_for_display_name()
678 return (* iface->get_child_for_display_name) (file, display_name, error); in g_file_get_child_for_display_name()
700 g_file_has_prefix (GFile *file, in g_file_has_prefix() argument
705 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_has_prefix()
708 if (G_TYPE_FROM_INSTANCE (file) != G_TYPE_FROM_INSTANCE (prefix)) in g_file_has_prefix()
711 iface = G_FILE_GET_IFACE (file); in g_file_has_prefix()
715 return (* iface->prefix_matches) (prefix, file); in g_file_has_prefix()
762 g_file_resolve_relative_path (GFile *file, in g_file_resolve_relative_path() argument
767 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_resolve_relative_path()
770 iface = G_FILE_GET_IFACE (file); in g_file_resolve_relative_path()
772 return (* iface->resolve_relative_path) (file, relative_path); in g_file_resolve_relative_path()
807 g_file_enumerate_children (GFile *file, in g_file_enumerate_children() argument
816 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_enumerate_children()
821 iface = G_FILE_GET_IFACE (file); in g_file_enumerate_children()
831 return (* iface->enumerate_children) (file, attributes, flags, in g_file_enumerate_children()
857 g_file_enumerate_children_async (GFile *file, in g_file_enumerate_children_async() argument
867 g_return_if_fail (G_IS_FILE (file)); in g_file_enumerate_children_async()
869 iface = G_FILE_GET_IFACE (file); in g_file_enumerate_children_async()
870 (* iface->enumerate_children_async) (file, in g_file_enumerate_children_async()
892 g_file_enumerate_children_finish (GFile *file, in g_file_enumerate_children_finish() argument
898 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_enumerate_children_finish()
908 iface = G_FILE_GET_IFACE (file); in g_file_enumerate_children_finish()
909 return (* iface->enumerate_children_finish) (file, res, error); in g_file_enumerate_children_finish()
943 g_file_query_exists (GFile *file, in g_file_query_exists() argument
948 g_return_val_if_fail (G_IS_FILE(file), FALSE); in g_file_query_exists()
950 info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE, in g_file_query_exists()
979 g_file_query_file_type (GFile *file, in g_file_query_file_type() argument
986 g_return_val_if_fail (G_IS_FILE(file), G_FILE_TYPE_UNKNOWN); in g_file_query_file_type()
987 info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE, flags, in g_file_query_file_type()
1038 g_file_query_info (GFile *file, in g_file_query_info() argument
1046 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_info()
1051 iface = G_FILE_GET_IFACE (file); in g_file_query_info()
1061 return (* iface->query_info) (file, attributes, flags, cancellable, error); in g_file_query_info()
1086 g_file_query_info_async (GFile *file, in g_file_query_info_async() argument
1096 g_return_if_fail (G_IS_FILE (file)); in g_file_query_info_async()
1098 iface = G_FILE_GET_IFACE (file); in g_file_query_info_async()
1099 (* iface->query_info_async) (file, in g_file_query_info_async()
1121 g_file_query_info_finish (GFile *file, in g_file_query_info_finish() argument
1127 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_info_finish()
1137 iface = G_FILE_GET_IFACE (file); in g_file_query_info_finish()
1138 return (* iface->query_info_finish) (file, res, error); in g_file_query_info_finish()
1174 g_file_query_filesystem_info (GFile *file, in g_file_query_filesystem_info() argument
1181 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_filesystem_info()
1186 iface = G_FILE_GET_IFACE (file); in g_file_query_filesystem_info()
1196 return (* iface->query_filesystem_info) (file, attributes, cancellable, error); in g_file_query_filesystem_info()
1222 g_file_query_filesystem_info_async (GFile *file, in g_file_query_filesystem_info_async() argument
1231 g_return_if_fail (G_IS_FILE (file)); in g_file_query_filesystem_info_async()
1233 iface = G_FILE_GET_IFACE (file); in g_file_query_filesystem_info_async()
1234 (* iface->query_filesystem_info_async) (file, in g_file_query_filesystem_info_async()
1255 g_file_query_filesystem_info_finish (GFile *file, in g_file_query_filesystem_info_finish() argument
1261 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_filesystem_info_finish()
1271 iface = G_FILE_GET_IFACE (file); in g_file_query_filesystem_info_finish()
1272 return (* iface->query_filesystem_info_finish) (file, res, error); in g_file_query_filesystem_info_finish()
1295 g_file_find_enclosing_mount (GFile *file, in g_file_find_enclosing_mount() argument
1301 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_find_enclosing_mount()
1306 iface = G_FILE_GET_IFACE (file); in g_file_find_enclosing_mount()
1317 return (* iface->find_enclosing_mount) (file, cancellable, error); in g_file_find_enclosing_mount()
1338 g_file_find_enclosing_mount_async (GFile *file, in g_file_find_enclosing_mount_async() argument
1346 g_return_if_fail (G_IS_FILE (file)); in g_file_find_enclosing_mount_async()
1348 iface = G_FILE_GET_IFACE (file); in g_file_find_enclosing_mount_async()
1349 (* iface->find_enclosing_mount_async) (file, in g_file_find_enclosing_mount_async()
1369 g_file_find_enclosing_mount_finish (GFile *file, in g_file_find_enclosing_mount_finish() argument
1375 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_find_enclosing_mount_finish()
1385 iface = G_FILE_GET_IFACE (file); in g_file_find_enclosing_mount_finish()
1386 return (* iface->find_enclosing_mount_finish) (file, res, error); in g_file_find_enclosing_mount_finish()
1411 g_file_read (GFile *file, in g_file_read() argument
1417 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_read()
1422 iface = G_FILE_GET_IFACE (file); in g_file_read()
1432 return (* iface->read_fn) (file, cancellable, error); in g_file_read()
1464 g_file_append_to (GFile *file, in g_file_append_to() argument
1471 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_append_to()
1476 iface = G_FILE_GET_IFACE (file); in g_file_append_to()
1486 return (* iface->append_to) (file, flags, cancellable, error); in g_file_append_to()
1521 g_file_create (GFile *file, in g_file_create() argument
1528 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_create()
1533 iface = G_FILE_GET_IFACE (file); in g_file_create()
1543 return (* iface->create) (file, flags, cancellable, error); in g_file_create()
1602 g_file_replace (GFile *file, in g_file_replace() argument
1611 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_replace()
1616 iface = G_FILE_GET_IFACE (file); in g_file_replace()
1631 return (* iface->replace) (file, etag, make_backup, flags, cancellable, error); in g_file_replace()
1652 g_file_read_async (GFile *file, in g_file_read_async() argument
1660 g_return_if_fail (G_IS_FILE (file)); in g_file_read_async()
1662 iface = G_FILE_GET_IFACE (file); in g_file_read_async()
1663 (* iface->read_async) (file, in g_file_read_async()
1683 g_file_read_finish (GFile *file, in g_file_read_finish() argument
1689 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_read_finish()
1699 iface = G_FILE_GET_IFACE (file); in g_file_read_finish()
1700 return (* iface->read_finish) (file, res, error); in g_file_read_finish()
1722 g_file_append_to_async (GFile *file, in g_file_append_to_async() argument
1731 g_return_if_fail (G_IS_FILE (file)); in g_file_append_to_async()
1733 iface = G_FILE_GET_IFACE (file); in g_file_append_to_async()
1734 (* iface->append_to_async) (file, in g_file_append_to_async()
1755 g_file_append_to_finish (GFile *file, in g_file_append_to_finish() argument
1761 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_append_to_finish()
1771 iface = G_FILE_GET_IFACE (file); in g_file_append_to_finish()
1772 return (* iface->append_to_finish) (file, res, error); in g_file_append_to_finish()
1795 g_file_create_async (GFile *file, in g_file_create_async() argument
1804 g_return_if_fail (G_IS_FILE (file)); in g_file_create_async()
1806 iface = G_FILE_GET_IFACE (file); in g_file_create_async()
1807 (* iface->create_async) (file, in g_file_create_async()
1828 g_file_create_finish (GFile *file, in g_file_create_finish() argument
1834 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_create_finish()
1844 iface = G_FILE_GET_IFACE (file); in g_file_create_finish()
1845 return (* iface->create_finish) (file, res, error); in g_file_create_finish()
1871 g_file_replace_async (GFile *file, in g_file_replace_async() argument
1882 g_return_if_fail (G_IS_FILE (file)); in g_file_replace_async()
1884 iface = G_FILE_GET_IFACE (file); in g_file_replace_async()
1885 (* iface->replace_async) (file, in g_file_replace_async()
1908 g_file_replace_finish (GFile *file, in g_file_replace_finish() argument
1914 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_replace_finish()
1924 iface = G_FILE_GET_IFACE (file); in g_file_replace_finish()
1925 return (* iface->replace_finish) (file, res, error); in g_file_replace_finish()
2575 g_file_copy_finish (GFile *file, in g_file_copy_finish() argument
2581 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_copy_finish()
2592 iface = G_FILE_GET_IFACE (file); in g_file_copy_finish()
2593 return (* iface->copy_finish) (file, res, error); in g_file_copy_finish()
2749 g_file_make_directory (GFile *file, in g_file_make_directory() argument
2755 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_make_directory()
2760 iface = G_FILE_GET_IFACE (file); in g_file_make_directory()
2770 return (* iface->make_directory) (file, cancellable, error); in g_file_make_directory()
2796 g_file_make_directory_with_parents (GFile *file, in g_file_make_directory_with_parents() argument
2808 result = g_file_make_directory (file, cancellable, &my_error); in g_file_make_directory_with_parents()
2816 work_file = file; in g_file_make_directory_with_parents()
2851 return g_file_make_directory (file, cancellable, error); in g_file_make_directory_with_parents()
2870 g_file_make_symbolic_link (GFile *file, in g_file_make_symbolic_link() argument
2877 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_make_symbolic_link()
2891 iface = G_FILE_GET_IFACE (file); in g_file_make_symbolic_link()
2901 return (* iface->make_symbolic_link) (file, symlink_value, cancellable, error); in g_file_make_symbolic_link()
2920 g_file_delete (GFile *file, in g_file_delete() argument
2926 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_delete()
2931 iface = G_FILE_GET_IFACE (file); in g_file_delete()
2941 return (* iface->delete_file) (file, cancellable, error); in g_file_delete()
2963 g_file_trash (GFile *file, in g_file_trash() argument
2969 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_trash()
2974 iface = G_FILE_GET_IFACE (file); in g_file_trash()
2984 return (* iface->trash) (file, cancellable, error); in g_file_trash()
3014 g_file_set_display_name (GFile *file, in g_file_set_display_name() argument
3021 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_set_display_name()
3036 iface = G_FILE_GET_IFACE (file); in g_file_set_display_name()
3038 return (* iface->set_display_name) (file, display_name, cancellable, error); in g_file_set_display_name()
3060 g_file_set_display_name_async (GFile *file, in g_file_set_display_name_async() argument
3069 g_return_if_fail (G_IS_FILE (file)); in g_file_set_display_name_async()
3072 iface = G_FILE_GET_IFACE (file); in g_file_set_display_name_async()
3073 (* iface->set_display_name_async) (file, in g_file_set_display_name_async()
3094 g_file_set_display_name_finish (GFile *file, in g_file_set_display_name_finish() argument
3100 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_set_display_name_finish()
3110 iface = G_FILE_GET_IFACE (file); in g_file_set_display_name_finish()
3111 return (* iface->set_display_name_finish) (file, res, error); in g_file_set_display_name_finish()
3135 g_file_query_settable_attributes (GFile *file, in g_file_query_settable_attributes() argument
3143 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_settable_attributes()
3148 iface = G_FILE_GET_IFACE (file); in g_file_query_settable_attributes()
3154 list = (* iface->query_settable_attributes) (file, cancellable, &my_error); in g_file_query_settable_attributes()
3188 g_file_query_writable_namespaces (GFile *file, in g_file_query_writable_namespaces() argument
3196 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_query_writable_namespaces()
3201 iface = G_FILE_GET_IFACE (file); in g_file_query_writable_namespaces()
3207 list = (* iface->query_writable_namespaces) (file, cancellable, &my_error); in g_file_query_writable_namespaces()
3242 g_file_set_attribute (GFile *file, in g_file_set_attribute() argument
3252 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_set_attribute()
3258 iface = G_FILE_GET_IFACE (file); in g_file_set_attribute()
3268 return (* iface->set_attribute) (file, attribute, type, value_p, flags, cancellable, error); in g_file_set_attribute()
3295 g_file_set_attributes_from_info (GFile *file, in g_file_set_attributes_from_info() argument
3303 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_set_attributes_from_info()
3311 iface = G_FILE_GET_IFACE (file); in g_file_set_attributes_from_info()
3313 return (* iface->set_attributes_from_info) (file, in g_file_set_attributes_from_info()
3322 g_file_real_set_attributes_from_info (GFile *file, in g_file_real_set_attributes_from_info() argument
3344 if (!g_file_set_attribute (file, attributes[i], in g_file_real_set_attributes_from_info()
3382 g_file_set_attributes_async (GFile *file, in g_file_set_attributes_async() argument
3392 g_return_if_fail (G_IS_FILE (file)); in g_file_set_attributes_async()
3395 iface = G_FILE_GET_IFACE (file); in g_file_set_attributes_async()
3396 (* iface->set_attributes_async) (file, in g_file_set_attributes_async()
3417 g_file_set_attributes_finish (GFile *file, in g_file_set_attributes_finish() argument
3424 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_set_attributes_finish()
3430 iface = G_FILE_GET_IFACE (file); in g_file_set_attributes_finish()
3431 return (* iface->set_attributes_finish) (file, result, info, error); in g_file_set_attributes_finish()
3453 g_file_set_attribute_string (GFile *file, in g_file_set_attribute_string() argument
3460 return g_file_set_attribute (file, attribute, in g_file_set_attribute_string()
3486 g_file_set_attribute_byte_string (GFile *file, in g_file_set_attribute_byte_string() argument
3493 return g_file_set_attribute (file, attribute, in g_file_set_attribute_byte_string()
3518 g_file_set_attribute_uint32 (GFile *file, in g_file_set_attribute_uint32() argument
3525 return g_file_set_attribute (file, attribute, in g_file_set_attribute_uint32()
3550 g_file_set_attribute_int32 (GFile *file, in g_file_set_attribute_int32() argument
3557 return g_file_set_attribute (file, attribute, in g_file_set_attribute_int32()
3582 g_file_set_attribute_uint64 (GFile *file, in g_file_set_attribute_uint64() argument
3589 return g_file_set_attribute (file, attribute, in g_file_set_attribute_uint64()
3613 g_file_set_attribute_int64 (GFile *file, in g_file_set_attribute_int64() argument
3620 return g_file_set_attribute (file, attribute, in g_file_set_attribute_int64()
3646 g_file_mount_mountable (GFile *file, in g_file_mount_mountable() argument
3655 g_return_if_fail (G_IS_FILE (file)); in g_file_mount_mountable()
3657 iface = G_FILE_GET_IFACE (file); in g_file_mount_mountable()
3661 g_simple_async_report_error_in_idle (G_OBJECT (file), in g_file_mount_mountable()
3670 (* iface->mount_mountable) (file, in g_file_mount_mountable()
3693 g_file_mount_mountable_finish (GFile *file, in g_file_mount_mountable_finish() argument
3699 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_mount_mountable_finish()
3709 iface = G_FILE_GET_IFACE (file); in g_file_mount_mountable_finish()
3710 return (* iface->mount_mountable_finish) (file, result, error); in g_file_mount_mountable_finish()
3731 g_file_unmount_mountable (GFile *file, in g_file_unmount_mountable() argument
3739 g_return_if_fail (G_IS_FILE (file)); in g_file_unmount_mountable()
3741 iface = G_FILE_GET_IFACE (file); in g_file_unmount_mountable()
3745 g_simple_async_report_error_in_idle (G_OBJECT (file), in g_file_unmount_mountable()
3754 (* iface->unmount_mountable) (file, in g_file_unmount_mountable()
3776 g_file_unmount_mountable_finish (GFile *file, in g_file_unmount_mountable_finish() argument
3782 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_unmount_mountable_finish()
3792 iface = G_FILE_GET_IFACE (file); in g_file_unmount_mountable_finish()
3793 return (* iface->unmount_mountable_finish) (file, result, error); in g_file_unmount_mountable_finish()
3814 g_file_eject_mountable (GFile *file, in g_file_eject_mountable() argument
3822 g_return_if_fail (G_IS_FILE (file)); in g_file_eject_mountable()
3824 iface = G_FILE_GET_IFACE (file); in g_file_eject_mountable()
3828 g_simple_async_report_error_in_idle (G_OBJECT (file), in g_file_eject_mountable()
3837 (* iface->eject_mountable) (file, in g_file_eject_mountable()
3857 g_file_eject_mountable_finish (GFile *file, in g_file_eject_mountable_finish() argument
3863 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_eject_mountable_finish()
3873 iface = G_FILE_GET_IFACE (file); in g_file_eject_mountable_finish()
3874 return (* iface->eject_mountable_finish) (file, result, error); in g_file_eject_mountable_finish()
3895 g_file_monitor_directory (GFile *file, in g_file_monitor_directory() argument
3902 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_monitor_directory()
3907 iface = G_FILE_GET_IFACE (file); in g_file_monitor_directory()
3917 return (* iface->monitor_dir) (file, flags, cancellable, error); in g_file_monitor_directory()
3938 g_file_monitor_file (GFile *file, in g_file_monitor_file() argument
3946 g_return_val_if_fail (G_IS_FILE (file), NULL); in g_file_monitor_file()
3951 iface = G_FILE_GET_IFACE (file); in g_file_monitor_file()
3956 monitor = (* iface->monitor_file) (file, flags, cancellable, NULL); in g_file_monitor_file()
3960 monitor = _g_poll_file_monitor_new (file); in g_file_monitor_file()
3985 g_file_monitor (GFile *file, in g_file_monitor() argument
3990 if (g_file_query_file_type (file, 0, cancellable) == G_FILE_TYPE_DIRECTORY) in g_file_monitor()
3991 return g_file_monitor_directory (file, flags, cancellable, error); in g_file_monitor()
3993 return g_file_monitor_file (file, flags, cancellable, error); in g_file_monitor()
4038 g_file_real_query_info_async (GFile *file, in g_file_real_query_info_async() argument
4053 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_query_info_asyn… in g_file_real_query_info_async()
4061 g_file_real_query_info_finish (GFile *file, in g_file_real_query_info_finish() argument
4114 g_file_real_query_filesystem_info_async (GFile *file, in g_file_real_query_filesystem_info_async() argument
4127 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_query_filesyste… in g_file_real_query_filesystem_info_async()
4135 g_file_real_query_filesystem_info_finish (GFile *file, in g_file_real_query_filesystem_info_finish() argument
4189 g_file_real_enumerate_children_async (GFile *file, in g_file_real_enumerate_children_async() argument
4204 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_enumerate_child… in g_file_real_enumerate_children_async()
4212 g_file_real_enumerate_children_finish (GFile *file, in g_file_real_enumerate_children_finish() argument
4263 g_file_real_read_async (GFile *file, in g_file_real_read_async() argument
4271 res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_read_async); in g_file_real_read_async()
4278 g_file_real_read_finish (GFile *file, in g_file_real_read_finish() argument
4320 g_file_real_append_to_async (GFile *file, in g_file_real_append_to_async() argument
4333 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_append_to_async… in g_file_real_append_to_async()
4341 g_file_real_append_to_finish (GFile *file, in g_file_real_append_to_finish() argument
4383 g_file_real_create_async (GFile *file, in g_file_real_create_async() argument
4396 res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_create_async); in g_file_real_create_async()
4404 g_file_real_create_finish (GFile *file, in g_file_real_create_finish() argument
4467 g_file_real_replace_async (GFile *file, in g_file_real_replace_async() argument
4484 res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_replace_async); in g_file_real_replace_async()
4492 g_file_real_replace_finish (GFile *file, in g_file_real_replace_finish() argument
4510 GFile *file; member
4517 if (data->file) in set_display_name_data_free()
4518 g_object_unref (data->file); in set_display_name_data_free()
4529 GFile *file; in set_display_name_async_thread() local
4533 file = g_file_set_display_name (G_FILE (object), data->name, cancellable, &error); in set_display_name_async_thread()
4535 if (file == NULL) in set_display_name_async_thread()
4541 data->file = file; in set_display_name_async_thread()
4545 g_file_real_set_display_name_async (GFile *file, in g_file_real_set_display_name_async() argument
4558 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_set_display_nam… in g_file_real_set_display_name_async()
4566 g_file_real_set_display_name_finish (GFile *file, in g_file_real_set_display_name_finish() argument
4576 if (data->file) in g_file_real_set_display_name_finish()
4577 return g_object_ref (data->file); in g_file_real_set_display_name_finish()
4617 g_file_real_set_attributes_async (GFile *file, in g_file_real_set_attributes_async() argument
4632 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_set_attributes_… in g_file_real_set_attributes_async()
4640 g_file_real_set_attributes_finish (GFile *file, in g_file_real_set_attributes_finish() argument
4681 g_file_real_find_enclosing_mount_async (GFile *file, in g_file_real_find_enclosing_mount_async() argument
4689 …res = g_simple_async_result_new (G_OBJECT (file), callback, user_data, g_file_real_find_enclosing_… in g_file_real_find_enclosing_mount_async()
4696 g_file_real_find_enclosing_mount_finish (GFile *file, in g_file_real_find_enclosing_mount_finish() argument
4842 g_file_real_copy_finish (GFile *file, in g_file_real_copy_finish() argument
4951 GFile *file; in g_file_new_for_commandline_arg() local
4967 file = g_file_new_for_path (filename); in g_file_new_for_commandline_arg()
4970 return file; in g_file_new_for_commandline_arg()
5075 g_file_query_default_handler (GFile *file, in g_file_query_default_handler() argument
5085 uri_scheme = g_file_get_uri_scheme (file); in g_file_query_default_handler()
5092 info = g_file_query_info (file, in g_file_query_default_handler()
5106 path = g_file_get_path (file); in g_file_query_default_handler()
5151 g_file_load_contents (GFile *file, in g_file_load_contents() argument
5164 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_load_contents()
5167 in = g_file_read (file, cancellable, error); in g_file_load_contents()
5222 GFile *file; member
5244 g_object_unref (data->file); in load_contents_data_free()
5261 res = g_simple_async_result_new (G_OBJECT (data->file), in load_contents_close_callback()
5353 GFile *file = G_FILE (obj); in load_contents_open_callback() local
5359 stream = g_file_read_finish (file, open_res, &error); in load_contents_open_callback()
5376 res = g_simple_async_result_new_from_error (G_OBJECT (data->file), in load_contents_open_callback()
5408 g_file_load_partial_contents_async (GFile *file, in g_file_load_partial_contents_async() argument
5416 g_return_if_fail (G_IS_FILE (file)); in g_file_load_partial_contents_async()
5426 data->file = g_object_ref (file); in g_file_load_partial_contents_async()
5428 g_file_read_async (file, in g_file_load_partial_contents_async()
5456 g_file_load_partial_contents_finish (GFile *file, in g_file_load_partial_contents_finish() argument
5466 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_load_partial_contents_finish()
5530 g_file_load_contents_async (GFile *file, in g_file_load_contents_async() argument
5535 g_file_load_partial_contents_async (file, in g_file_load_contents_async()
5562 g_file_load_contents_finish (GFile *file, in g_file_load_contents_finish() argument
5569 return g_file_load_partial_contents_finish (file, in g_file_load_contents_finish()
5611 g_file_replace_contents (GFile *file, in g_file_replace_contents() argument
5626 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_replace_contents()
5629 out = g_file_replace (file, etag, make_backup, flags, cancellable, error); in g_file_replace_contents()
5667 GFile *file; member
5685 g_object_unref (data->file); in replace_contents_data_free()
5705 res = g_simple_async_result_new (G_OBJECT (data->file), in replace_contents_close_callback()
5759 GFile *file = G_FILE (obj); in replace_contents_open_callback() local
5765 stream = g_file_replace_finish (file, open_res, &error); in replace_contents_open_callback()
5780 res = g_simple_async_result_new_from_error (G_OBJECT (data->file), in replace_contents_open_callback()
5819 g_file_replace_contents_async (GFile *file, in g_file_replace_contents_async() argument
5831 g_return_if_fail (G_IS_FILE (file)); in g_file_replace_contents_async()
5843 data->file = g_object_ref (file); in g_file_replace_contents_async()
5845 g_file_replace_async (file, in g_file_replace_contents_async()
5871 g_file_replace_contents_finish (GFile *file, in g_file_replace_contents_finish() argument
5879 g_return_val_if_fail (G_IS_FILE (file), FALSE); in g_file_replace_contents_finish()