Home
last modified time | relevance | path

Searched refs:my_error (Results 1 – 19 of 19) sorted by relevance

/third_party/glib/gio/
Dgconverteroutputstream.c409 GError *my_error; in write_internal() local
451 my_error = NULL; in write_internal()
460 &my_error); in write_internal()
473 if (g_error_matches (my_error, in write_internal()
482 g_error_free (my_error); in write_internal()
490 g_error_free (my_error); in write_internal()
494 if (g_error_matches (my_error, in write_internal()
504 g_error_free (my_error); in write_internal()
509 g_propagate_error (error, my_error); in write_internal()
549 GError *my_error; in g_converter_output_stream_flush() local
[all …]
Dgconverterinputstream.c393 GError *my_error; in read_internal() local
434 my_error = NULL; in read_internal()
442 &my_error); in read_internal()
451 !g_error_matches (my_error, in read_internal()
454 !g_error_matches (my_error, in read_internal()
459 g_propagate_error (error, my_error); in read_internal()
463 g_error_free (my_error); in read_internal()
491 my_error = NULL; in read_internal()
500 &my_error); in read_internal()
523 if (g_error_matches (my_error, in read_internal()
[all …]
Dgresource.c1088 GError *my_error = NULL; in g_resources_open_stream() local
1090 stream = g_resource_open_stream (r, path, lookup_flags, &my_error); in g_resources_open_stream()
1092 g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resources_open_stream()
1094 g_clear_error (&my_error); in g_resources_open_stream()
1099 g_propagate_error (error, my_error); in g_resources_open_stream()
1160 GError *my_error = NULL; in g_resources_lookup_data() local
1162 data = g_resource_lookup_data (r, path, lookup_flags, &my_error); in g_resources_lookup_data()
1164 g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resources_lookup_data()
1166 g_clear_error (&my_error); in g_resources_lookup_data()
1171 g_propagate_error (error, my_error); in g_resources_lookup_data()
[all …]
Dgfile.c2579 GError *my_error; in copy_symlink() local
2587 my_error = NULL; in copy_symlink()
2588 if (!g_file_make_symbolic_link (destination, target, cancellable, &my_error)) in copy_symlink()
2592 my_error->domain == G_IO_ERROR && my_error->code == G_IO_ERROR_EXISTS) in copy_symlink()
2594 g_clear_error (&my_error); in copy_symlink()
2599 cancellable, &my_error); in copy_symlink()
2620 g_propagate_error (error, my_error); in copy_symlink()
2634 GError *my_error; in open_source_for_copy() local
2639 my_error = NULL; in open_source_for_copy()
2640 ret = g_file_read (source, cancellable, &my_error); in open_source_for_copy()
[all …]
Dglocalfileenumerator.c373 GError *my_error; in g_local_file_enumerator_next_file() local
394 my_error = NULL; in g_local_file_enumerator_next_file()
403 &my_error); in g_local_file_enumerator_next_file()
411 &my_error); in g_local_file_enumerator_next_file()
428 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) in g_local_file_enumerator_next_file()
430 g_error_free (my_error); in g_local_file_enumerator_next_file()
434 g_propagate_error (error, my_error); in g_local_file_enumerator_next_file()
Dgresourcefile.c446 GError *my_error = NULL; in g_resource_file_query_info() local
470 res = g_resources_get_info (resource->path, 0, &size, &resource_flags, &my_error); in g_resource_file_query_info()
473 if (g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resource_file_query_info()
481 my_error->message); in g_resource_file_query_info()
482 g_clear_error (&my_error); in g_resource_file_query_info()
588 GError *my_error = NULL; in g_resource_file_read() local
592 stream = g_resources_open_stream (resource->path, 0, &my_error); in g_resource_file_read()
596 if (g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resource_file_read()
604 my_error->message); in g_resource_file_read()
605 g_clear_error (&my_error); in g_resource_file_read()
Dgnetworkservice.c418 GError *my_error = NULL; in G_DEFINE_TYPE() local
424 cancellable, &my_error); in G_DEFINE_TYPE()
425 if (!targets && g_error_matches (my_error, G_RESOLVER_ERROR, in G_DEFINE_TYPE()
430 g_clear_error (&my_error); in G_DEFINE_TYPE()
433 if (my_error) in G_DEFINE_TYPE()
435 g_propagate_error (error, my_error); in G_DEFINE_TYPE()
Dginputstream.c410 GError *my_error; in g_input_stream_real_skip() local
458 my_error = NULL; in g_input_stream_real_skip()
461 cancellable, &my_error); in g_input_stream_real_skip()
465 my_error->domain == G_IO_ERROR && in g_input_stream_real_skip()
466 my_error->code == G_IO_ERROR_CANCELLED) in g_input_stream_real_skip()
468 g_error_free (my_error); in g_input_stream_real_skip()
472 g_propagate_error (error, my_error); in g_input_stream_real_skip()
Dglib-compile-resources.c205 GError *my_error = NULL; in end_element() local
454 if (!g_file_get_contents (real_file, &data->content, &data->size, &my_error)) in end_element()
458 real_file, my_error->message); in end_element()
459 g_clear_error (&my_error); in end_element()
/third_party/boost/libs/exception/example/
Derror_info_1.cpp14 struct my_error: virtual boost::exception, virtual std::exception { }; //(2) struct
19 throw my_error() << my_info(42); //(3) in f()
30 my_error & x ) in g()
/third_party/libsoup/libsoup/
Dsoup-converter-wrapper.c237 GError *my_error = NULL; in soup_converter_wrapper_real_convert() local
244 &my_error); in soup_converter_wrapper_real_convert()
273 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_PARTIAL_INPUT) && in soup_converter_wrapper_real_convert()
276 g_error_free (my_error); in soup_converter_wrapper_real_convert()
281 if (!g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA) || in soup_converter_wrapper_real_convert()
283 g_propagate_error (error, my_error); in soup_converter_wrapper_real_convert()
286 g_clear_error (&my_error); in soup_converter_wrapper_real_convert()
Dsoup-filter-input-stream.c204 GError *my_error = NULL; in soup_filter_input_stream_read_until() local
226 cancellable, &my_error); in soup_filter_input_stream_read_until()
239 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) in soup_filter_input_stream_read_until()
241 if (my_error) in soup_filter_input_stream_read_until()
242 g_propagate_error (error, my_error); in soup_filter_input_stream_read_until()
247 if (my_error) in soup_filter_input_stream_read_until()
248 g_propagate_error (error, my_error); in soup_filter_input_stream_read_until()
Dsoup-content-sniffer-stream.c106 GError *my_error = NULL; in read_and_sniff() local
113 blocking, cancellable, &my_error); in read_and_sniff()
124 if (my_error) { in read_and_sniff()
125 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK) || in read_and_sniff()
126 g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_CANCELLED) || in read_and_sniff()
128 g_propagate_error (error, my_error); in read_and_sniff()
131 priv->error = my_error; in read_and_sniff()
Dsoup-request-file.c158 GError *my_error = NULL; in soup_request_file_send() local
164 cancellable, &my_error)); in soup_request_file_send()
166 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY)) { in soup_request_file_send()
168 g_clear_error (&my_error); in soup_request_file_send()
181 g_propagate_error (error, my_error); in soup_request_file_send()
Dsoup-message-io.c961 GError *my_error = NULL; in io_run_until() local
978 progress = io_read (msg, blocking, cancellable, &my_error); in io_run_until()
980 progress = io_write (msg, blocking, cancellable, &my_error); in io_run_until()
985 if (my_error) { in io_run_until()
986 if (request_is_restartable (msg, my_error)) { in io_run_until()
988 g_error_free (my_error); in io_run_until()
995 g_propagate_error (error, my_error); in io_run_until()
Dsoup-server.c1916 GError *my_error = NULL; in soup_server_listen_ipv4_ipv6() local
1944 if (soup_server_listen (server, addr6, options, &my_error)) { in soup_server_listen_ipv4_ipv6()
1950 if (v4sock && g_error_matches (my_error, G_IO_ERROR, in soup_server_listen_ipv4_ipv6()
1960 g_error_free (my_error); in soup_server_listen_ipv4_ipv6()
1970 if (port == 0 && g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_ADDRESS_IN_USE)) { in soup_server_listen_ipv4_ipv6()
1972 g_clear_error (&my_error); in soup_server_listen_ipv4_ipv6()
1976 g_propagate_error (error, my_error); in soup_server_listen_ipv4_ipv6()
Dsoup-session.c4461 GError *my_error = NULL; in soup_session_send() local
4483 if (!soup_message_io_run_until_read (msg, TRUE, item->cancellable, &my_error)) { in soup_session_send()
4484 if (g_error_matches (my_error, SOUP_HTTP_ERROR, SOUP_STATUS_TRY_AGAIN)) { in soup_session_send()
4487 g_clear_error (&my_error); in soup_session_send()
4493 stream = soup_message_io_get_response_istream (msg, &my_error); in soup_session_send()
4505 item->cancellable, &my_error) == -1) { in soup_session_send()
4532 if (my_error) in soup_session_send()
4533 g_propagate_error (error, my_error); in soup_session_send()
/third_party/libsoup/tests/
Dssl-test.c274 GError *my_error = NULL; in test_tls_interaction_request_certificate() local
281 &my_error); in test_tls_interaction_request_certificate()
282 g_assert_no_error (my_error); in test_tls_interaction_request_certificate()
/third_party/boost/libs/exception/doc/source/
Dboost-exception.reno10794 …<string>:)&lt;struct tag_my_info,int&gt; my_info; //(1)&#10;&#10;struct my_error: virtual boost::(…
10803 …std::exception { }; //(2)&#10;&#10;void&#10;f()&#10; {&#10; throw my_error() &lt;&lt; my_inf…
10812 …us values stored in exception objects.&#10;&#10;Second, we define class my_error, which derives fr…
10830 …try&#10; {&#10; f();&#10; }&#10; catch(&#10; my_error &amp; x )&#10; …