Searched refs:ipv4_error (Results 1 – 2 of 2) sorted by relevance
/third_party/glib/gio/tests/ |
D | mock-resolver.c | 28 GError *ipv4_error; member 63 g_clear_error (&self->ipv4_error); in mock_resolver_set_ipv4_error() 65 self->ipv4_error = g_error_copy (error); in mock_resolver_set_ipv4_error() 102 if (self->ipv4_error) in do_lookup_by_name() 103 g_task_return_error (task, g_error_copy (self->ipv4_error)); in do_lookup_by_name() 118 g_assert (self->ipv4_error == NULL && self->ipv6_error == NULL && self->ipv6_results == NULL); in do_lookup_by_name() 168 g_clear_error (&self->ipv4_error); in mock_resolver_finalize()
|
D | network-address.c | 1037 GError *ipv4_error; in test_happy_eyeballs_ipv4_error_ipv4_first() local 1042 ipv4_error = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_TIMED_OUT, "IPv4 Broken"); in test_happy_eyeballs_ipv4_error_ipv4_first() 1043 mock_resolver_set_ipv4_error (fixture->mock_resolver, ipv4_error); in test_happy_eyeballs_ipv4_error_ipv4_first() 1051 g_error_free (ipv4_error); in test_happy_eyeballs_ipv4_error_ipv4_first() 1059 GError *ipv4_error; in test_happy_eyeballs_ipv4_error_ipv6_first() local 1064 ipv4_error = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_TIMED_OUT, "IPv4 Broken"); in test_happy_eyeballs_ipv4_error_ipv6_first() 1065 mock_resolver_set_ipv4_error (fixture->mock_resolver, ipv4_error); in test_happy_eyeballs_ipv4_error_ipv6_first() 1073 g_error_free (ipv4_error); in test_happy_eyeballs_ipv4_error_ipv6_first() 1081 GError *ipv4_error, *ipv6_error; in test_happy_eyeballs_both_error() local 1087 ipv4_error = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_TIMED_OUT, "IPv4 Broken"); in test_happy_eyeballs_both_error() [all …]
|