• Home
  • Raw
  • Download

Lines Matching refs:error

138 								   GError                **error);
147 GError **error);
157 GError **error);
165 GError **error);
174 GError **error);
183 GError **error);
194 GError **error);
199 GError **error);
208 GError **error);
219 GError **error);
227 GError **error);
239 GError **error);
669 GError **error) in g_file_get_child_for_display_name() argument
678 return (* iface->get_child_for_display_name) (file, display_name, error); in g_file_get_child_for_display_name()
811 GError **error) in g_file_enumerate_children() argument
818 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_enumerate_children()
825 g_set_error_literal (error, G_IO_ERROR, in g_file_enumerate_children()
832 cancellable, error); in g_file_enumerate_children()
894 GError **error) in g_file_enumerate_children_finish() argument
904 if (g_simple_async_result_propagate_error (simple, error)) in g_file_enumerate_children_finish()
909 return (* iface->enumerate_children_finish) (file, res, error); in g_file_enumerate_children_finish()
1042 GError **error) in g_file_query_info() argument
1048 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_query_info()
1055 g_set_error_literal (error, G_IO_ERROR, in g_file_query_info()
1061 return (* iface->query_info) (file, attributes, flags, cancellable, error); in g_file_query_info()
1123 GError **error) in g_file_query_info_finish() argument
1133 if (g_simple_async_result_propagate_error (simple, error)) in g_file_query_info_finish()
1138 return (* iface->query_info_finish) (file, res, error); in g_file_query_info_finish()
1177 GError **error) in g_file_query_filesystem_info() argument
1183 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_query_filesystem_info()
1190 g_set_error_literal (error, G_IO_ERROR, in g_file_query_filesystem_info()
1196 return (* iface->query_filesystem_info) (file, attributes, cancellable, error); in g_file_query_filesystem_info()
1257 GError **error) in g_file_query_filesystem_info_finish() argument
1267 if (g_simple_async_result_propagate_error (simple, error)) in g_file_query_filesystem_info_finish()
1272 return (* iface->query_filesystem_info_finish) (file, res, error); in g_file_query_filesystem_info_finish()
1297 GError **error) in g_file_find_enclosing_mount() argument
1303 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_find_enclosing_mount()
1310 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, in g_file_find_enclosing_mount()
1317 return (* iface->find_enclosing_mount) (file, cancellable, error); in g_file_find_enclosing_mount()
1371 GError **error) in g_file_find_enclosing_mount_finish() argument
1381 if (g_simple_async_result_propagate_error (simple, error)) in g_file_find_enclosing_mount_finish()
1386 return (* iface->find_enclosing_mount_finish) (file, res, error); in g_file_find_enclosing_mount_finish()
1413 GError **error) in g_file_read() argument
1419 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_read()
1426 g_set_error_literal (error, G_IO_ERROR, in g_file_read()
1432 return (* iface->read_fn) (file, cancellable, error); in g_file_read()
1467 GError **error) in g_file_append_to() argument
1473 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_append_to()
1480 g_set_error_literal (error, G_IO_ERROR, in g_file_append_to()
1486 return (* iface->append_to) (file, flags, cancellable, error); in g_file_append_to()
1524 GError **error) in g_file_create() argument
1530 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_create()
1537 g_set_error_literal (error, G_IO_ERROR, in g_file_create()
1543 return (* iface->create) (file, flags, cancellable, error); in g_file_create()
1607 GError **error) in g_file_replace() argument
1613 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_replace()
1620 g_set_error_literal (error, G_IO_ERROR, in g_file_replace()
1631 return (* iface->replace) (file, etag, make_backup, flags, cancellable, error); in g_file_replace()
1685 GError **error) in g_file_read_finish() argument
1695 if (g_simple_async_result_propagate_error (simple, error)) in g_file_read_finish()
1700 return (* iface->read_finish) (file, res, error); in g_file_read_finish()
1757 GError **error) in g_file_append_to_finish() argument
1767 if (g_simple_async_result_propagate_error (simple, error)) in g_file_append_to_finish()
1772 return (* iface->append_to_finish) (file, res, error); in g_file_append_to_finish()
1830 GError **error) in g_file_create_finish() argument
1840 if (g_simple_async_result_propagate_error (simple, error)) in g_file_create_finish()
1845 return (* iface->create_finish) (file, res, error); in g_file_create_finish()
1910 GError **error) in g_file_replace_finish() argument
1920 if (g_simple_async_result_propagate_error (simple, error)) in g_file_replace_finish()
1925 return (* iface->replace_finish) (file, res, error); in g_file_replace_finish()
1933 GError **error) in copy_symlink() argument
1964 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, in copy_symlink()
1970 if (!g_file_delete (destination, cancellable, error)) in copy_symlink()
1977 g_propagate_error (error, my_error); in copy_symlink()
1989 GError **error) in open_source_for_copy() argument
2024 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, in open_source_for_copy()
2032 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_EXISTS, in open_source_for_copy()
2044 g_propagate_error (error, my_error); in open_source_for_copy()
2050 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, in open_source_for_copy()
2055 g_propagate_error (error, my_error); in open_source_for_copy()
2145 GError **error) in g_file_copy_attributes() argument
2185 error); in g_file_copy_attributes()
2203 GError **error) in copy_stream_with_progress() argument
2244 n_read = g_input_stream_read (in, buffer, sizeof (buffer), cancellable, error); in copy_stream_with_progress()
2259 n_written = g_output_stream_write (out, p, n_read, cancellable, error); in copy_stream_with_progress()
2278 error = NULL; /* Ignore further errors */ in copy_stream_with_progress()
2288 if (!g_output_stream_close (out, cancellable, error)) in copy_stream_with_progress()
2304 GError **error) in file_copy_fallback() argument
2316 error); in file_copy_fallback()
2328 if (!copy_symlink (destination, flags, cancellable, target, error)) in file_copy_fallback()
2345 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, in file_copy_fallback()
2354 in = open_source_for_copy (source, destination, flags, cancellable, error); in file_copy_fallback()
2364 cancellable, error); in file_copy_fallback()
2368 out = (GOutputStream *)g_file_create (destination, 0, cancellable, error); in file_copy_fallback()
2379 error)) in file_copy_fallback()
2447 GError **error) in g_file_copy() argument
2456 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_copy()
2473 g_propagate_error (error, my_error); in g_file_copy()
2499 g_propagate_error (error, my_error); in g_file_copy()
2509 error); in g_file_copy()
2577 GError **error) in g_file_copy_finish() argument
2588 if (g_simple_async_result_propagate_error (simple, error)) in g_file_copy_finish()
2593 return (* iface->copy_finish) (file, res, error); in g_file_copy_finish()
2652 GError **error) in g_file_move() argument
2661 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_move()
2678 g_propagate_error (error, my_error); in g_file_move()
2702 g_propagate_error (error, my_error); in g_file_move()
2710 g_set_error_literal (error, G_IO_ERROR, in g_file_move()
2719 error)) in g_file_move()
2722 return g_file_delete (source, cancellable, error); in g_file_move()
2751 GError **error) in g_file_make_directory() argument
2757 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_make_directory()
2764 g_set_error_literal (error, G_IO_ERROR, in g_file_make_directory()
2770 return (* iface->make_directory) (file, cancellable, error); in g_file_make_directory()
2798 GError **error) in g_file_make_directory_with_parents() argument
2805 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_make_directory_with_parents()
2812 g_propagate_error (error, my_error); in g_file_make_directory_with_parents()
2847 g_propagate_error (error, my_error); in g_file_make_directory_with_parents()
2851 return g_file_make_directory (file, cancellable, error); in g_file_make_directory_with_parents()
2873 GError **error) in g_file_make_symbolic_link() argument
2880 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_make_symbolic_link()
2885 g_set_error_literal (error, G_IO_ERROR, in g_file_make_symbolic_link()
2895 g_set_error_literal (error, G_IO_ERROR, in g_file_make_symbolic_link()
2901 return (* iface->make_symbolic_link) (file, symlink_value, cancellable, error); in g_file_make_symbolic_link()
2922 GError **error) in g_file_delete() argument
2928 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_delete()
2935 g_set_error_literal (error, G_IO_ERROR, in g_file_delete()
2941 return (* iface->delete_file) (file, cancellable, error); in g_file_delete()
2965 GError **error) in g_file_trash() argument
2971 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_trash()
2978 g_set_error_literal (error, in g_file_trash()
2984 return (* iface->trash) (file, cancellable, error); in g_file_trash()
3017 GError **error) in g_file_set_display_name() argument
3026 g_set_error (error, in g_file_set_display_name()
3033 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_set_display_name()
3038 return (* iface->set_display_name) (file, display_name, cancellable, error); in g_file_set_display_name()
3096 GError **error) in g_file_set_display_name_finish() argument
3106 if (g_simple_async_result_propagate_error (simple, error)) in g_file_set_display_name_finish()
3111 return (* iface->set_display_name_finish) (file, res, error); in g_file_set_display_name_finish()
3137 GError **error) in g_file_query_settable_attributes() argument
3145 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_query_settable_attributes()
3164 g_propagate_error (error, my_error); in g_file_query_settable_attributes()
3190 GError **error) in g_file_query_writable_namespaces() argument
3198 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_query_writable_namespaces()
3217 g_propagate_error (error, my_error); in g_file_query_writable_namespaces()
3248 GError **error) in g_file_set_attribute() argument
3255 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_set_attribute()
3262 g_set_error_literal (error, G_IO_ERROR, in g_file_set_attribute()
3268 return (* iface->set_attribute) (file, attribute, type, value_p, flags, cancellable, error); in g_file_set_attribute()
3299 GError **error) in g_file_set_attributes_from_info() argument
3306 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_set_attributes_from_info()
3317 error); in g_file_set_attributes_from_info()
3326 GError **error) in g_file_real_set_attributes_from_info() argument
3346 flags, cancellable, error)) in g_file_real_set_attributes_from_info()
3351 error = NULL; in g_file_real_set_attributes_from_info()
3420 GError **error) in g_file_set_attributes_finish() argument
3431 return (* iface->set_attributes_finish) (file, result, info, error); in g_file_set_attributes_finish()
3458 GError **error) in g_file_set_attribute_string() argument
3462 flags, cancellable, error); in g_file_set_attribute_string()
3491 GError **error) in g_file_set_attribute_byte_string() argument
3495 flags, cancellable, error); in g_file_set_attribute_byte_string()
3523 GError **error) in g_file_set_attribute_uint32() argument
3527 flags, cancellable, error); in g_file_set_attribute_uint32()
3555 GError **error) in g_file_set_attribute_int32() argument
3559 flags, cancellable, error); in g_file_set_attribute_int32()
3587 GError **error) in g_file_set_attribute_uint64() argument
3591 flags, cancellable, error); in g_file_set_attribute_uint64()
3618 GError **error) in g_file_set_attribute_int64() argument
3622 flags, cancellable, error); in g_file_set_attribute_int64()
3695 GError **error) in g_file_mount_mountable_finish() argument
3705 if (g_simple_async_result_propagate_error (simple, error)) in g_file_mount_mountable_finish()
3710 return (* iface->mount_mountable_finish) (file, result, error); in g_file_mount_mountable_finish()
3778 GError **error) in g_file_unmount_mountable_finish() argument
3788 if (g_simple_async_result_propagate_error (simple, error)) in g_file_unmount_mountable_finish()
3793 return (* iface->unmount_mountable_finish) (file, result, error); in g_file_unmount_mountable_finish()
3859 GError **error) in g_file_eject_mountable_finish() argument
3869 if (g_simple_async_result_propagate_error (simple, error)) in g_file_eject_mountable_finish()
3874 return (* iface->eject_mountable_finish) (file, result, error); in g_file_eject_mountable_finish()
3898 GError **error) in g_file_monitor_directory() argument
3904 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_monitor_directory()
3911 g_set_error_literal (error, G_IO_ERROR, in g_file_monitor_directory()
3917 return (* iface->monitor_dir) (file, flags, cancellable, error); in g_file_monitor_directory()
3941 GError **error) in g_file_monitor_file() argument
3948 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_file_monitor_file()
3988 GError **error) in g_file_monitor() argument
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()
4020 GError *error = NULL; in query_info_async_thread() local
4026 info = g_file_query_info (G_FILE (object), data->attributes, data->flags, cancellable, &error); in query_info_async_thread()
4030 g_simple_async_result_set_from_error (res, error); in query_info_async_thread()
4031 g_error_free (error); in query_info_async_thread()
4063 GError **error) in g_file_real_query_info_finish() argument
4096 GError *error = NULL; in query_filesystem_info_async_thread() local
4102 info = g_file_query_filesystem_info (G_FILE (object), data->attributes, cancellable, &error); in query_filesystem_info_async_thread()
4106 g_simple_async_result_set_from_error (res, error); in query_filesystem_info_async_thread()
4107 g_error_free (error); in query_filesystem_info_async_thread()
4137 GError **error) in g_file_real_query_filesystem_info_finish() argument
4171 GError *error = NULL; in enumerate_children_async_thread() local
4177 … = g_file_enumerate_children (G_FILE (object), data->attributes, data->flags, cancellable, &error); in enumerate_children_async_thread()
4181 g_simple_async_result_set_from_error (res, error); in enumerate_children_async_thread()
4182 g_error_free (error); in enumerate_children_async_thread()
4214 GError **error) in g_file_real_enumerate_children_finish() argument
4235 GError *error = NULL; in open_read_async_thread() local
4241 g_set_error_literal (&error, G_IO_ERROR, in open_read_async_thread()
4245 g_simple_async_result_set_from_error (res, error); in open_read_async_thread()
4246 g_error_free (error); in open_read_async_thread()
4251 stream = iface->read_fn (G_FILE (object), cancellable, &error); in open_read_async_thread()
4255 g_simple_async_result_set_from_error (res, error); in open_read_async_thread()
4256 g_error_free (error); in open_read_async_thread()
4280 GError **error) in g_file_real_read_finish() argument
4302 GError *error = NULL; in append_to_async_thread() local
4308 stream = iface->append_to (G_FILE (object), *data, cancellable, &error); in append_to_async_thread()
4312 g_simple_async_result_set_from_error (res, error); in append_to_async_thread()
4313 g_error_free (error); in append_to_async_thread()
4343 GError **error) in g_file_real_append_to_finish() argument
4365 GError *error = NULL; in create_async_thread() local
4371 stream = iface->create (G_FILE (object), *data, cancellable, &error); in create_async_thread()
4375 g_simple_async_result_set_from_error (res, error); in create_async_thread()
4376 g_error_free (error); in create_async_thread()
4406 GError **error) in g_file_real_create_finish() argument
4443 GError *error = NULL; in replace_async_thread() local
4455 &error); in replace_async_thread()
4459 g_simple_async_result_set_from_error (res, error); in replace_async_thread()
4460 g_error_free (error); in replace_async_thread()
4494 GError **error) in g_file_real_replace_finish() argument
4527 GError *error = NULL; 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()
4537 g_simple_async_result_set_from_error (res, error); in set_display_name_async_thread()
4538 g_error_free (error); in set_display_name_async_thread()
4568 GError **error) in g_file_real_set_display_name_finish() argument
4586 GError *error; member
4594 if (data->error) in set_info_data_free()
4595 g_error_free (data->error); in set_info_data_free()
4608 data->error = NULL; in set_info_async_thread()
4613 &data->error); in set_info_async_thread()
4643 GError **error) in g_file_real_set_attributes_finish() argument
4655 if (error != NULL && data->error) in g_file_real_set_attributes_finish()
4656 *error = g_error_copy (data->error); in g_file_real_set_attributes_finish()
4666 GError *error = NULL; in find_enclosing_mount_async_thread() local
4669 mount = g_file_find_enclosing_mount (G_FILE (object), cancellable, &error); in find_enclosing_mount_async_thread()
4673 g_simple_async_result_set_from_error (res, error); in find_enclosing_mount_async_thread()
4674 g_error_free (error); in find_enclosing_mount_async_thread()
4698 GError **error) in g_file_real_find_enclosing_mount_finish() argument
4782 GError *error; in copy_async_thread() local
4787 error = NULL; in copy_async_thread()
4795 &error); in copy_async_thread()
4805 g_simple_async_result_set_from_error (res, error); in copy_async_thread()
4806 g_error_free (error); in copy_async_thread()
4844 GError **error) in g_file_real_copy_finish() argument
5035 GError **error) in g_file_mount_enclosing_volume_finish() argument
5045 if (g_simple_async_result_propagate_error (simple, error)) in g_file_mount_enclosing_volume_finish()
5051 return (* iface->mount_enclosing_volume_finish) (location, result, error); in g_file_mount_enclosing_volume_finish()
5077 GError **error) in g_file_query_default_handler() argument
5096 error); in g_file_query_default_handler()
5117 g_set_error_literal (error, G_IO_ERROR, in g_file_query_default_handler()
5156 GError **error) in g_file_load_contents() argument
5167 in = g_file_read (file, cancellable, error); in g_file_load_contents()
5178 cancellable, error)) > 0) in g_file_load_contents()
5223 GError *error; member
5237 if (data->error) in load_contents_data_free()
5238 g_error_free (data->error); in load_contents_data_free()
5299 GError *error = NULL; in load_contents_read_callback() local
5302 read_size = g_input_stream_read_finish (stream, read_res, &error); in load_contents_read_callback()
5307 data->error = error; in load_contents_read_callback()
5356 GError *error = NULL; in load_contents_open_callback() local
5359 stream = g_file_read_finish (file, open_res, &error); in load_contents_open_callback()
5379 error); in load_contents_open_callback()
5381 g_error_free (error); in load_contents_open_callback()
5461 GError **error) in g_file_load_partial_contents_finish() argument
5472 if (g_simple_async_result_propagate_error (simple, error)) in g_file_load_partial_contents_finish()
5479 if (data->error) in g_file_load_partial_contents_finish()
5481 g_propagate_error (error, data->error); in g_file_load_partial_contents_finish()
5482 data->error = NULL; in g_file_load_partial_contents_finish()
5567 GError **error) in g_file_load_contents_finish() argument
5574 error); in g_file_load_contents_finish()
5619 GError **error) in g_file_replace_contents() argument
5629 out = g_file_replace (file, etag, make_backup, flags, cancellable, error); in g_file_replace_contents()
5640 error)) > 0) in g_file_replace_contents()
5656 ret = g_output_stream_close (G_OUTPUT_STREAM (out), cancellable, error); in g_file_replace_contents()
5668 GError *error; member
5681 if (data->error) in replace_contents_data_free()
5682 g_error_free (data->error); in replace_contents_data_free()
5721 GError *error = NULL; in replace_contents_write_callback() local
5724 write_size = g_output_stream_write_finish (stream, read_res, &error); in replace_contents_write_callback()
5730 data->error = error; in replace_contents_write_callback()
5762 GError *error = NULL; in replace_contents_open_callback() local
5765 stream = g_file_replace_finish (file, open_res, &error); in replace_contents_open_callback()
5783 error); in replace_contents_open_callback()
5785 g_error_free (error); in replace_contents_open_callback()
5874 GError **error) in g_file_replace_contents_finish() argument
5884 if (g_simple_async_result_propagate_error (simple, error)) in g_file_replace_contents_finish()
5891 if (data->error) in g_file_replace_contents_finish()
5893 g_propagate_error (error, data->error); in g_file_replace_contents_finish()
5894 data->error = NULL; in g_file_replace_contents_finish()