Home | History | Annotate | Download | only in gio

Lines Matching refs:cancellable

133 								   GCancellable           *cancellable,
142 GCancellable *cancellable,
152 GCancellable *cancellable,
160 GCancellable *cancellable,
169 GCancellable *cancellable,
178 GCancellable *cancellable,
189 GCancellable *cancellable,
198 GCancellable *cancellable,
203 GCancellable *cancellable,
213 GCancellable *cancellable,
222 GCancellable *cancellable,
232 GCancellable *cancellable,
780 * @cancellable: optional #GCancellable object, %NULL to ignore.
795 * If @cancellable is not %NULL, then the operation can be cancelled by
796 * triggering the cancellable object from another thread. If the operation
810 GCancellable *cancellable,
818 if (g_cancellable_set_error_if_cancelled (cancellable, error))
832 cancellable, error);
842 * @cancellable: optional #GCancellable object, %NULL to ignore.
861 GCancellable *cancellable,
874 cancellable,
915 * @cancellable: optional #GCancellable object, %NULL to ignore.
944 GCancellable *cancellable)
951 G_FILE_QUERY_INFO_NONE, cancellable, NULL);
965 * @cancellable: optional #GCancellable object, %NULL to ignore.
981 GCancellable *cancellable)
988 cancellable, NULL);
1005 * @cancellable: optional #GCancellable object, %NULL to ignore.
1020 * If @cancellable is not %NULL, then the operation can be cancelled by
1021 * triggering the cancellable object from another thread. If the operation
1041 GCancellable *cancellable,
1048 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1061 return (* iface->query_info) (file, attributes, flags, cancellable, error);
1071 * @cancellable: optional #GCancellable object, %NULL to ignore.
1090 GCancellable *cancellable,
1103 cancellable,
1145 * @cancellable: optional #GCancellable object, %NULL to ignore.
1163 * If @cancellable is not %NULL, then the operation can be cancelled by
1164 * triggering the cancellable object from another thread. If the operation
1176 GCancellable *cancellable,
1183 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1196 return (* iface->query_filesystem_info) (file, attributes, cancellable, error);
1205 * @cancellable: optional #GCancellable object, %NULL to ignore.
1225 GCancellable *cancellable,
1237 cancellable,
1278 * @cancellable: optional #GCancellable object, %NULL to ignore.
1287 * If @cancellable is not %NULL, then the operation can be cancelled by
1288 * triggering the cancellable object from another thread. If the operation
1296 GCancellable *cancellable,
1303 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1317 return (* iface->find_enclosing_mount) (file, cancellable, error);
1325 * @cancellable: optional #GCancellable object, %NULL to ignore.
1340 GCancellable *cancellable,
1351 cancellable,
1393 * @cancellable: a #GCancellable
1399 * If @cancellable is not %NULL, then the operation can be cancelled by
1400 * triggering the cancellable object from another thread. If the operation
1412 GCancellable *cancellable,
1419 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1432 return (* iface->read_fn) (file, cancellable, error);
1439 * @cancellable: optional #GCancellable object, %NULL to ignore.
1450 * If @cancellable is not %NULL, then the operation can be cancelled by
1451 * triggering the cancellable object from another thread. If the operation
1466 GCancellable *cancellable,
1473 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1486 return (* iface->append_to) (file, flags, cancellable, error);
1493 * @cancellable: optional #GCancellable object, %NULL to ignore.
1504 * If @cancellable is not %NULL, then the operation can be cancelled by
1505 * triggering the cancellable object from another thread. If the operation
1523 GCancellable *cancellable,
1530 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1543 return (* iface->create) (file, flags, cancellable, error);
1553 * @cancellable: optional #GCancellable object, %NULL to ignore.
1571 * If @cancellable is not %NULL, then the operation can be cancelled by
1572 * triggering the cancellable object from another thread. If the operation
1606 GCancellable *cancellable,
1613 if (g_cancellable_set_error_if_cancelled (cancellable, error))
1631 return (* iface->replace) (file, etag, make_backup, flags, cancellable, error);
1639 * @cancellable: optional #GCancellable object, %NULL to ignore.
1654 GCancellable *cancellable,
1665 cancellable,
1709 * @cancellable: optional #GCancellable object, %NULL to ignore.
1725 GCancellable *cancellable,
1737 cancellable,
1781 * @cancellable: optional #GCancellable object, %NULL to ignore.
1798 GCancellable *cancellable,
1810 cancellable,
1857 * @cancellable: optional #GCancellable object, %NULL to ignore.
1876 GCancellable *cancellable,
1890 cancellable,
1931 GCancellable *cancellable,
1944 if (!g_file_make_symbolic_link (destination, target, cancellable, &my_error))
1956 cancellable, &my_error);
1970 if (!g_file_delete (destination, cancellable, error))
1988 GCancellable *cancellable,
1997 in = (GInputStream *)g_file_read (source, cancellable, &my_error);
2014 cancellable, &my_error);
2126 * @cancellable: optional #GCancellable object, %NULL to ignore.
2144 GCancellable *cancellable,
2160 attributes = g_file_query_settable_attributes (destination, cancellable, NULL);
2161 namespaces = g_file_query_writable_namespaces (destination, cancellable, NULL);
2173 cancellable,
2184 cancellable,
2200 GCancellable *cancellable,
2215 cancellable, NULL);
2228 cancellable, NULL);
2244 n_read = g_input_stream_read (in, buffer, sizeof (buffer), cancellable, error);
2259 n_written = g_output_stream_write (out, p, n_read, cancellable, error);
2285 g_input_stream_close (in, cancellable, NULL);
2288 if (!g_output_stream_close (out, cancellable, error))
2301 GCancellable *cancellable,
2315 cancellable,
2328 if (!copy_symlink (destination, flags, cancellable, target, error))
2354 in = open_source_for_copy (source, destination, flags, cancellable, error);
2364 cancellable, error);
2368 out = (GOutputStream *)g_file_create (destination, 0, cancellable, error);
2377 if (!copy_stream_with_progress (in, out, source, cancellable,
2386 flags, cancellable, NULL);
2396 * @cancellable: optional #GCancellable object, %NULL to ignore.
2411 * If @cancellable is not %NULL, then the operation can be cancelled by
2412 * triggering the cancellable object from another thread. If the operation
2444 GCancellable *cancellable,
2456 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2464 flags, cancellable,
2490 flags, cancellable,
2507 return file_copy_fallback (source, destination, flags, cancellable,
2519 * @cancellable: optional #GCancellable object, %NULL to ignore.
2540 GCancellable *cancellable,
2556 cancellable,
2601 * @cancellable: optional #GCancellable object, %NULL to ignore.
2619 * If @cancellable is not %NULL, then the operation can be cancelled by
2620 * triggering the cancellable object from another thread. If the operation
2649 GCancellable *cancellable,
2661 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2669 flags, cancellable,
2693 flags, cancellable,
2717 if (!g_file_copy (source, destination, flags, cancellable,
2722 return g_file_delete (source, cancellable, error);
2728 * @cancellable: optional #GCancellable object, %NULL to ignore.
2742 * If @cancellable is not %NULL, then the operation can be cancelled by
2743 * triggering the cancellable object from another thread. If the operation
2750 GCancellable *cancellable,
2757 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2770 return (* iface->make_directory) (file, cancellable, error);
2776 * @cancellable: optional #GCancellable object, %NULL to ignore.
2786 * If @cancellable is not %NULL, then the operation can be cancelled by
2787 * triggering the cancellable object from another thread. If the operation
2797 GCancellable *cancellable,
2805 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2808 result = g_file_make_directory (file, cancellable, &my_error);
2825 result = g_file_make_directory (parent_file, cancellable, &my_error);
2835 result = g_file_make_directory ((GFile *) l->data, cancellable, &my_error);
2851 return g_file_make_directory (file, cancellable, error);
2858 * @cancellable: optional #GCancellable object, %NULL to ignore.
2863 * If @cancellable is not %NULL, then the operation can be cancelled by
2864 * triggering the cancellable object from another thread. If the operation
2872 GCancellable *cancellable,
2880 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2901 return (* iface->make_symbolic_link) (file, symlink_value, cancellable, error);
2907 * @cancellable: optional #GCancellable object, %NULL to ignore.
2913 * If @cancellable is not %NULL, then the operation can be cancelled by
2914 * triggering the cancellable object from another thread. If the operation
2921 GCancellable *cancellable,
2928 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2941 return (* iface->delete_file) (file, cancellable, error);
2947 * @cancellable: optional #GCancellable object, %NULL to ignore.
2956 * If @cancellable is not %NULL, then the operation can be cancelled by
2957 * triggering the cancellable object from another thread. If the operation
2964 GCancellable *cancellable,
2971 if (g_cancellable_set_error_if_cancelled (cancellable, error))
2984 return (* iface->trash) (file, cancellable, error);
2991 * @cancellable: optional #GCancellable object, %NULL to ignore.
3005 * If @cancellable is not %NULL, then the operation can be cancelled by
3006 * triggering the cancellable object from another thread. If the operation
3016 GCancellable *cancellable,
3033 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3038 return (* iface->set_display_name) (file, display_name, cancellable, error);
3047 * @cancellable: optional #GCancellable object, %NULL to ignore.
3063 GCancellable *cancellable,
3076 cancellable,
3117 * @cancellable: optional #GCancellable object, %NULL to ignore.
3127 * If @cancellable is not %NULL, then the operation can be cancelled by
3128 * triggering the cancellable object from another thread. If the operation
3136 GCancellable *cancellable,
3145 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3154 list = (* iface->query_settable_attributes) (file, cancellable, &my_error);
3173 * @cancellable: optional #GCancellable object, %NULL to ignore.
3180 * If @cancellable is not %NULL, then the operation can be cancelled by
3181 * triggering the cancellable object from another thread. If the operation
3189 GCancellable *cancellable,
3198 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3207 list = (* iface->query_writable_namespaces) (file, cancellable, &my_error);
3230 * @cancellable: optional #GCancellable object, %NULL to ignore.
3235 * If @cancellable is not %NULL, then the operation can be cancelled by
3236 * triggering the cancellable object from another thread. If the operation
3247 GCancellable *cancellable,
3255 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3268 return (* iface->set_attribute) (file, attribute, type, value_p, flags, cancellable, error);
3276 * @cancellable: optional #GCancellable object, %NULL to ignore.
3288 * If @cancellable is not %NULL, then the operation can be cancelled by
3289 * triggering the cancellable object from another thread. If the operation
3298 GCancellable *cancellable,
3306 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3316 cancellable,
3325 GCancellable *cancellable,
3346 flags, cancellable, error))
3369 * @cancellable: optional #GCancellable object, %NULL to ignore.
3386 GCancellable *cancellable,
3400 cancellable,
3440 * @cancellable: optional #GCancellable object, %NULL to ignore.
3446 * If @cancellable is not %NULL, then the operation can be cancelled by
3447 * triggering the cancellable object from another thread. If the operation
3457 GCancellable *cancellable,
3462 flags, cancellable, error);
3471 * @cancellable: optional #GCancellable object, %NULL to ignore.
3478 * If @cancellable is not %NULL, then the operation can be cancelled by
3479 * triggering the cancellable object from another thread. If the operation
3490 GCancellable *cancellable,
3495 flags, cancellable, error);
3504 * @cancellable: optional #GCancellable object, %NULL to ignore.
3510 * If @cancellable is not %NULL, then the operation can be cancelled by
3511 * triggering the cancellable object from another thread. If the operation
3522 GCancellable *cancellable,
3527 flags, cancellable, error);
3536 * @cancellable: optional #GCancellable object, %NULL to ignore.
3542 * If @cancellable is not %NULL, then the operation can be cancelled by
3543 * triggering the cancellable object from another thread. If the operation
3554 GCancellable *cancellable,
3559 flags, cancellable, error);
3568 * @cancellable: optional #GCancellable object, %NULL to ignore.
3574 * If @cancellable is not %NULL, then the operation can be cancelled by
3575 * triggering the cancellable object from another thread. If the operation
3586 GCancellable *cancellable,
3591 flags, cancellable, error);
3600 * @cancellable: optional #GCancellable object, %NULL to ignore.
3606 * If @cancellable is not %NULL, then the operation can be cancelled by
3607 * triggering the cancellable object from another thread. If the operation
3617 GCancellable *cancellable,
3622 flags, cancellable, error);
3630 * @cancellable: optional #GCancellable object, %NULL to ignore.
3638 * If @cancellable is not %NULL, then the operation can be cancelled by
3639 * triggering the cancellable object from another thread. If the operation
3649 GCancellable *cancellable,
3673 cancellable,
3717 * @cancellable: optional #GCancellable object, %NULL to ignore.
3723 * If @cancellable is not %NULL, then the operation can be cancelled by
3724 * triggering the cancellable object from another thread. If the operation
3733 GCancellable *cancellable,
3756 cancellable,
3800 * @cancellable: optional #GCancellable object, %NULL to ignore.
3809 * If @cancellable is not %NULL, then the operation can be cancelled by
3810 * triggering the cancellable object from another thread. If the operation
3816 GCancellable *cancellable,
3839 cancellable,
3881 * @cancellable: optional #GCancellable object, %NULL to ignore.
3887 * If @cancellable is not %NULL, then the operation can be cancelled by
3888 * triggering the cancellable object from another thread. If the operation
3897 GCancellable *cancellable,
3904 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3917 return (* iface->monitor_dir) (file, flags, cancellable, error);
3924 * @cancellable: optional #GCancellable object, %NULL to ignore.
3930 * If @cancellable is not %NULL, then the operation can be cancelled by
3931 * triggering the cancellable object from another thread. If the operation
3940 GCancellable *cancellable,
3948 if (g_cancellable_set_error_if_cancelled (cancellable, error))
3956 monitor = (* iface->monitor_file) (file, flags, cancellable, NULL);
3969 * @cancellable: optional #GCancellable object, %NULL to ignore
3975 * If @cancellable is not %NULL, then the operation can be cancelled by
3976 * triggering the cancellable object from another thread. If the operation
3987 GCancellable *cancellable,
3990 if (g_file_query_file_type (file, 0, cancellable) == G_FILE_TYPE_DIRECTORY)
3991 return g_file_monitor_directory (file, flags, cancellable, error);
3993 return g_file_monitor_file (file, flags, cancellable, error);
4018 GCancellable *cancellable)
4026 info = g_file_query_info (G_FILE (object), data->attributes, data->flags, cancellable, &error);
4042 GCancellable *cancellable,
4056 g_simple_async_result_run_in_thread (res, query_info_async_thread, io_priority, cancellable);
4094 GCancellable *cancellable)
4102 info = g_file_query_filesystem_info (G_FILE (object), data->attributes, cancellable, &error);
4117 GCancellable *cancellable,
4130 g_simple_async_result_run_in_thread (res, query_filesystem_info_async_thread, io_priority, cancellable);
4169 GCancellable *cancellable)
4177 enumerator = g_file_enumerate_children (G_FILE (object), data->attributes, data->flags, cancellable, &error);
4193 GCancellable *cancellable,
4207 g_simple_async_result_run_in_thread (res, enumerate_children_async_thread, io_priority, cancellable);
4231 GCancellable *cancellable)
4251 stream = iface->read_fn (G_FILE (object), cancellable, &error);
4265 GCancellable *cancellable,
4273 g_simple_async_result_run_in_thread (res, open_read_async_thread, io_priority, cancellable);
4297 GCancellable *cancellable)
4308 stream = iface->append_to (G_FILE (object), *data, cancellable, &error);
4323 GCancellable *cancellable,
4336 g_simple_async_result_run_in_thread (res, append_to_async_thread, io_priority, cancellable);
4360 GCancellable *cancellable)
4371 stream = iface->create (G_FILE (object), *data, cancellable, &error);
4386 GCancellable *cancellable,
4399 g_simple_async_result_run_in_thread (res, create_async_thread, io_priority, cancellable);
4439 GCancellable *cancellable)
4454 cancellable,
4472 GCancellable *cancellable,
4487 g_simple_async_result_run_in_thread (res, replace_async_thread, io_priority, cancellable);
4525 GCancellable *cancellable)
4533 file = g_file_set_display_name (G_FILE (object), data->name, cancellable, &error);
4548 GCancellable *cancellable,
4561 g_simple_async_result_run_in_thread (res, set_display_name_async_thread, io_priority, cancellable);
4602 GCancellable *cancellable)
4612 cancellable,
4621 GCancellable *cancellable,
4635 g_simple_async_result_run_in_thread (res, set_info_async_thread, io_priority, cancellable);
4664 GCancellable *cancellable)
4669 mount = g_file_find_enclosing_mount (G_FILE (object), cancellable, &error);
4683 GCancellable *cancellable,
4691 g_simple_async_result_run_in_thread (res, find_enclosing_mount_async_thread, io_priority, cancellable);
4776 GCancellable *cancellable,
4792 cancellable,
4819 GCancellable *cancellable,
4838 g_io_scheduler_push_job (copy_async_thread, res, g_object_unref, io_priority, cancellable);
4978 * @cancellable: optional #GCancellable object, %NULL to ignore.
4988 * If @cancellable is not %NULL, then the operation can be cancelled by
4989 * triggering the cancellable object from another thread. If the operation
4996 GCancellable *cancellable,
5016 (* iface->mount_enclosing_volume) (location, flags, mount_operation, cancellable, callback, user_data);
5061 * @cancellable: optional #GCancellable object, %NULL to ignore.
5067 * If @cancellable is not %NULL, then the operation can be cancelled by
5068 * triggering the cancellable object from another thread. If the operation
5076 GCancellable *cancellable,
5095 cancellable,
5130 * @cancellable: optional #GCancellable object, %NULL to ignore.
5143 * If @cancellable is not %NULL, then the operation can be cancelled by
5144 * triggering the cancellable object from another thread. If the operation
5152 GCancellable *cancellable,
5167 in = g_file_read (file, cancellable, error);
5178 cancellable, error)) > 0)
5190 cancellable,
5200 g_input_stream_close (G_INPUT_STREAM (in), cancellable, NULL);
5224 GCancellable *cancellable;
5239 if (data->cancellable)
5240 g_object_unref (data->cancellable);
5288 data->cancellable,
5309 data->cancellable,
5317 data->cancellable,
5334 data->cancellable,
5342 data->cancellable,
5369 data->cancellable,
5390 * @cancellable: optional #GCancellable object, %NULL to ignore.
5403 * If @cancellable is not %NULL, then the operation can be cancelled by
5404 * triggering the cancellable object from another thread. If the operation
5409 GCancellable *cancellable,
5420 if (cancellable)
5421 data->cancellable = g_object_ref (cancellable);
5430 cancellable,
5511 * @cancellable: optional #GCancellable object, %NULL to ignore.
5525 * If @cancellable is not %NULL, then the operation can be cancelled by
5526 * triggering the cancellable object from another thread. If the operation
5531 GCancellable *cancellable,
5536 cancellable,
5589 * @cancellable: optional #GCancellable object, %NULL to ignore.
5599 * If @cancellable is not %NULL, then the operation can be cancelled by
5600 * triggering the cancellable object from another thread. If the operation
5618 GCancellable *cancellable,
5629 out = g_file_replace (file, etag, make_backup, flags, cancellable, error);
5639 cancellable,
5649 g_output_stream_close (G_OUTPUT_STREAM (out), cancellable, NULL);
5656 ret = g_output_stream_close (G_OUTPUT_STREAM (out), cancellable, error);
5669 GCancellable *cancellable;
5683 if (data->cancellable)
5684 g_object_unref (data->cancellable);
5732 data->cancellable,
5741 data->cancellable,
5748 data->cancellable,
5773 data->cancellable,
5799 * @cancellable: optional #GCancellable object, %NULL to ignore.
5811 * If @cancellable is not %NULL, then the operation can be cancelled by
5812 * triggering the cancellable object from another thread. If the operation
5825 GCancellable *cancellable,
5836 if (cancellable)
5837 data->cancellable = g_object_ref (cancellable);
5850 cancellable,