Home | History | Annotate | Download | only in gio

Lines Matching full:error

82 							  GError              **error);
90 GError **error);
178 * @error: location to store the error occuring, or %NULL to ignore
185 * On error, returns %NULL and sets @error to the error. If the
186 * enumerator is at the end, %NULL will be returned and @error will
189 * Return value: A #GFileInfo or %NULL on error or end of enumerator.
195 GError **error)
205 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_CLOSED,
212 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PENDING,
219 g_propagate_error (error, enumerator->priv->outstanding_error);
230 info = (* class->next_file) (enumerator, cancellable, error);
243 * @error: location to store the error occuring, or %NULL to ignore
252 * Return value: #TRUE on success or #FALSE on error.
257 GError **error)
271 g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PENDING,
280 (* class->close_fn) (enumerator, cancellable, error);
317 * The callback can be called with less than @num_files files in case of error
318 * or at the end of the enumerator. In case of a partial error the callback will
319 * be called with any succeeding items and no error, and on the next request the
320 * error will be reported. If a request is cancelled the callback will be called
389 * @error: a #GError location to store the error occuring, or %NULL to
401 GError **error)
412 if (g_simple_async_result_propagate_error (simple, error))
421 return class->next_files_finish (enumerator, result, error);
451 * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned in
498 * @error: a #GError location to store the error occuring, or %NULL to
504 error, and
509 * was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and %FALSE will be
517 GError **error)
528 if (g_simple_async_result_propagate_error (simple, error))
533 return class->close_finish (enumerator, result, error);
626 GError *error = NULL;
638 if (g_cancellable_set_error_if_cancelled (cancellable, &error))
641 info = class->next_file (enumerator, cancellable, &error);
645 /* If we get an error after first file, return that on next operation */
646 if (error != NULL && i > 0)
648 if (error->domain == G_IO_ERROR &&
649 error->code == G_IO_ERROR_CANCELLED)
650 g_error_free (error); /* Never propagate cancel errors to other call */
652 enumerator->priv->outstanding_error = error;
653 error = NULL;
689 GError **error)
711 GError *error = NULL;
720 result = class->close_fn (G_FILE_ENUMERATOR (object), cancellable, &error);
723 g_simple_async_result_set_from_error (res, error);
724 g_error_free (error);
755 GError **error)