Home
last modified time | relevance | path

Searched refs:g_error_matches (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/glib/glib/tests/
Derror.c185 g_assert_true (g_error_matches (error, G_MARKUP_ERROR, G_MARKUP_ERROR_EMPTY)); in test_matches()
186 g_assert_false (g_error_matches (NULL, G_MARKUP_ERROR, G_MARKUP_ERROR_EMPTY)); in test_matches()
187 …g_assert_false (g_error_matches (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE)); /* same numer… in test_matches()
188 …g_assert_false (g_error_matches (error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED)); /* different num… in test_matches()
189 g_assert_false (g_error_matches (error, G_MARKUP_ERROR, G_MARKUP_ERROR_BAD_UTF8)); in test_matches()
365 g_assert_true (g_error_matches (error, q, 0)); in test_extended_non_static()
Dmappedfile.c58 g_assert_true (g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_INVAL) || in test_device()
59 g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NODEV) || in test_device()
60 g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOMEM)); in test_device()
/third_party/glib/gio/
Dgdatagrambased.c195 !g_error_matches (child_error, G_IO_ERROR, in g_datagram_based_receive_messages()
198 !g_error_matches (child_error, G_IO_ERROR, in g_datagram_based_receive_messages()
296 !g_error_matches (child_error, G_IO_ERROR, in g_datagram_based_send_messages()
299 !g_error_matches (child_error, G_IO_ERROR, in g_datagram_based_send_messages()
Dgresource.c218 if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) in open_overlay_stream()
246 if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) in get_overlay_bytes()
289 if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) in enumerate_overlay_dir()
556 if (g_error_matches (gvdb_table_error, G_FILE_ERROR, G_FILE_ERROR_INVAL)) in g_resource_error_from_gvdb_table_error()
1092 g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resources_open_stream()
1164 g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resources_lookup_data()
1319 g_error_matches (my_error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND)) in g_resources_get_info()
Dgconverterinputstream.c451 !g_error_matches (my_error, in read_internal()
454 !g_error_matches (my_error, in read_internal()
523 if (g_error_matches (my_error, in read_internal()
552 if (g_error_matches (my_error, in read_internal()
Dgnetworkmonitorportal.c123 if (!g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) in got_available()
171 if (!g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) in got_metered()
219 if (!g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) in got_connectivity()
271 if (g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) in got_status()
Dgpollableoutputstream.c203 else if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) in g_pollable_output_stream_default_writev_nonblocking()
368 …g_warn_if_fail (error == NULL || (*error != NULL && !g_error_matches (*error, G_IO_ERROR, G_IO_ERR… in g_pollable_output_stream_writev_nonblocking()
Dgio-tool-trash.c117 if (g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_EXISTS)) in restore_trash()
270 !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) in handle_trash()
Dgio-tool-remove.c86 !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) in handle_remove()
Dgconverteroutputstream.c473 if (g_error_matches (my_error, in write_internal()
494 if (g_error_matches (my_error, in write_internal()
606 if (g_error_matches (my_error, in g_converter_output_stream_flush()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgsttcpserversrc.c296 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_create()
334 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_create()
347 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_create()
488 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_start()
499 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_start()
513 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_src_start()
Dgsttcpclientsrc.c295 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_src_create()
328 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_src_create()
450 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) in gst_tcp_client_src_start()
468 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_src_start()
488 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_src_start()
Dgsttcpclientsink.c213 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_sink_render()
323 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) in gst_tcp_client_sink_start()
343 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_sink_start()
363 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_client_sink_start()
Dgsttcpserversink.c375 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_sink_init_send()
386 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_sink_init_send()
400 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_tcp_server_sink_init_send()
/third_party/gstreamer/gstplugins_base/gst/gio/
Dgstgioelements.h39 #define GST_GIO_ERROR_MATCHES(err, code) g_error_matches (err, G_IO_ERROR, G_IO_ERROR_##code)
/third_party/libsoup/libsoup/
Dsoup-converter-wrapper.c273 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_PARTIAL_INPUT) && 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()
Dsoup-request-file.c166 if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY)) { in soup_request_file_send()
267 if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY)) { in on_read_file_ready()
Dsoup-content-sniffer-stream.c125 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()
/third_party/glib/gio/tests/
Dsocket-client.c307 if (g_error_matches (error, G_TLS_ERROR, G_TLS_ERROR_CERTIFICATE_REQUIRED)) in main()
352 if (g_error_matches (error, in main()
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstudpsrc.c1005 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_BUSY) in gst_udpsrc_fill()
1006 || g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_udpsrc_fill()
1008 } else if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_TIMED_OUT)) { in gst_udpsrc_fill()
1032 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_HOST_UNREACHABLE) || in gst_udpsrc_fill()
1033 g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CONNECTION_CLOSED)) { in gst_udpsrc_fill()
1217 if (g_error_matches (err, G_IO_ERROR, G_IO_ERROR_BUSY) || in gst_udpsrc_fill()
1218 g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in gst_udpsrc_fill()
/third_party/libsoup/tests/
Dxmlrpc-old-server-test.c293 if ( g_error_matches (error, G_SPAWN_EXIT_ERROR, 1) in do_one_xmlrpc_test()
294 || g_error_matches (error, G_SPAWN_EXIT_ERROR, 77)) in do_one_xmlrpc_test()
Dxmlrpc-server-test.c293 if ( g_error_matches (error, G_SPAWN_EXIT_ERROR, 1) in do_one_xmlrpc_test()
294 || g_error_matches (error, G_SPAWN_EXIT_ERROR, 77)) in do_one_xmlrpc_test()
/third_party/libsoup/examples/
Dsimple-proxy.c80 if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in tunnel_wrote_cb()
126 if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { in tunnel_read_cb()
/third_party/glib/glib/
Dgerror.h211 gboolean g_error_matches (const GError *error,
/third_party/gstreamer/gstreamer/tests/validate/
Dgst-tester.c195 if (g_error_matches (err, G_SPAWN_ERROR, G_SPAWN_ERROR_NOENT)) { in main()

1234