Home
last modified time | relevance | path

Searched refs:addr_enum (Results 1 – 6 of 6) sorted by relevance

/third_party/glib/gio/
Dgnetworkaddress.c660 GNetworkAddressAddressEnumerator *addr_enum = in G_DEFINE_TYPE() local
663 if (addr_enum->wait_source) in G_DEFINE_TYPE()
665 g_source_destroy (addr_enum->wait_source); in G_DEFINE_TYPE()
666 g_clear_pointer (&addr_enum->wait_source, g_source_unref); in G_DEFINE_TYPE()
668 g_clear_object (&addr_enum->queued_task); in G_DEFINE_TYPE()
669 g_clear_object (&addr_enum->waiting_task); in G_DEFINE_TYPE()
670 g_clear_error (&addr_enum->last_error); in G_DEFINE_TYPE()
671 g_object_unref (addr_enum->addr); in G_DEFINE_TYPE()
672 g_clear_pointer (&addr_enum->context, g_main_context_unref); in G_DEFINE_TYPE()
673 g_list_free_full (addr_enum->addresses, g_object_unref); in G_DEFINE_TYPE()
[all …]
Dgnetworkservice.c389 GSocketAddressEnumerator *addr_enum; member
446 if (srv_enum->addr_enum == NULL && srv_enum->t) in G_DEFINE_TYPE()
493 srv_enum->addr_enum = g_socket_connectable_proxy_enumerate (addr); in G_DEFINE_TYPE()
495 srv_enum->addr_enum = g_socket_connectable_enumerate (addr); in G_DEFINE_TYPE()
499 if (srv_enum->addr_enum) in G_DEFINE_TYPE()
503 ret = g_socket_address_enumerator_next (srv_enum->addr_enum, in G_DEFINE_TYPE()
517 g_object_unref (srv_enum->addr_enum); in G_DEFINE_TYPE()
518 srv_enum->addr_enum = NULL; in G_DEFINE_TYPE()
522 while (srv_enum->addr_enum == NULL && srv_enum->t); in G_DEFINE_TYPE()
608 if (srv_enum->addr_enum == NULL && srv_enum->t) in next_async_have_targets()
[all …]
Dgproxyaddressenumerator.c81 GSocketAddressEnumerator *addr_enum; member
112 while (priv->addr_enum == NULL && *priv->next_proxy) in next_enumerator()
159 priv->addr_enum = g_socket_connectable_enumerate (connectable); in next_enumerator()
186 while (result == NULL && (*priv->next_proxy || priv->addr_enum)) in g_proxy_address_enumerator_next()
196 if (!priv->addr_enum) in g_proxy_address_enumerator_next()
202 priv->addr_enum, in g_proxy_address_enumerator_next()
209 g_object_unref (priv->addr_enum); in g_proxy_address_enumerator_next()
210 priv->addr_enum = NULL; in g_proxy_address_enumerator_next()
397 g_object_unref (priv->addr_enum); in next_proxy()
398 priv->addr_enum = NULL; in next_proxy()
[all …]
Dgsocketaddress.c386 GSocketAddressEnumerator *addr_enum = NULL; in g_socket_address_connectable_proxy_enumerate() local
403 addr_enum = g_object_new (G_TYPE_PROXY_ADDRESS_ENUMERATOR, in g_socket_address_connectable_proxy_enumerate()
414 addr_enum = g_socket_address_connectable_enumerate (connectable); in g_socket_address_connectable_proxy_enumerate()
417 return addr_enum; in g_socket_address_connectable_proxy_enumerate()
/third_party/libsoup/libsoup/
Dsoup-address.c1133 SoupAddressAddressEnumerator *addr_enum = in G_DEFINE_TYPE() local
1136 g_object_unref (addr_enum->addr); in G_DEFINE_TYPE()
1142 next_address (SoupAddressAddressEnumerator *addr_enum) in next_address() argument
1144 SoupAddressPrivate *priv = soup_address_get_instance_private (addr_enum->addr); in next_address()
1154 next_addr = (addr_enum->orig_offset + addr_enum->n) % priv->n_addrs; in next_address()
1157 if (addr_enum->n >= priv->n_addrs) in next_address()
1159 addr_enum->n++; in next_address()
1170 SoupAddressAddressEnumerator *addr_enum = in soup_address_address_enumerator_next() local
1172 SoupAddressPrivate *priv = soup_address_get_instance_private (addr_enum->addr); in soup_address_address_enumerator_next()
1175 if (resolve_sync_internal (addr_enum->addr, cancellable, error) != SOUP_STATUS_OK) in soup_address_address_enumerator_next()
[all …]
/third_party/glib/gio/tests/
Dnetwork-address.c150 GSocketAddressEnumerator *addr_enum; in test_resolve_address() local
161 addr_enum = g_socket_connectable_enumerate (connectable); in test_resolve_address()
162 addr = g_socket_address_enumerator_next (addr_enum, NULL, &error); in test_resolve_address()
163 g_object_unref (addr_enum); in test_resolve_address()
276 GSocketAddressEnumerator *addr_enum; in test_scope_id() local
283 addr_enum = g_socket_connectable_enumerate (addr); in test_scope_id()
284 saddr = g_socket_address_enumerator_next (addr_enum, NULL, &error); in test_scope_id()
300 saddr = g_socket_address_enumerator_next (addr_enum, NULL, &error); in test_scope_id()
304 g_object_unref (addr_enum); in test_scope_id()