Home
last modified time | relevance | path

Searched refs:connectable (Results 1 – 25 of 28) sorted by relevance

12

/third_party/glib/gio/
Dgsocketconnectable.c108 g_socket_connectable_enumerate (GSocketConnectable *connectable) in g_socket_connectable_enumerate() argument
112 g_return_val_if_fail (G_IS_SOCKET_CONNECTABLE (connectable), NULL); in g_socket_connectable_enumerate()
114 iface = G_SOCKET_CONNECTABLE_GET_IFACE (connectable); in g_socket_connectable_enumerate()
116 return (* iface->enumerate) (connectable); in g_socket_connectable_enumerate()
136 g_socket_connectable_proxy_enumerate (GSocketConnectable *connectable) in g_socket_connectable_proxy_enumerate() argument
140 g_return_val_if_fail (G_IS_SOCKET_CONNECTABLE (connectable), NULL); in g_socket_connectable_proxy_enumerate()
142 iface = G_SOCKET_CONNECTABLE_GET_IFACE (connectable); in g_socket_connectable_proxy_enumerate()
145 return (* iface->proxy_enumerate) (connectable); in g_socket_connectable_proxy_enumerate()
147 return (* iface->enumerate) (connectable); in g_socket_connectable_proxy_enumerate()
167 g_socket_connectable_to_string (GSocketConnectable *connectable) in g_socket_connectable_to_string() argument
[all …]
Dgsocketclient.c181 GSocketConnectable *connectable, in clarify_connect_error() argument
195 if (G_IS_NETWORK_ADDRESS (connectable)) in clarify_connect_error()
196 name = g_network_address_get_hostname (G_NETWORK_ADDRESS (connectable)); in clarify_connect_error()
197 else if (G_IS_NETWORK_SERVICE (connectable)) in clarify_connect_error()
198 name = g_network_service_get_domain (G_NETWORK_SERVICE (connectable)); in clarify_connect_error()
199 else if (G_IS_INET_SOCKET_ADDRESS (connectable)) in clarify_connect_error()
200 …g_inet_address_to_string (g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (connectable))); in clarify_connect_error()
949 GSocketConnectable *connectable, in g_socket_client_emit_event() argument
953 event, connectable, connection); in g_socket_client_emit_event()
1054 GSocketConnectable *connectable, in g_socket_client_connect() argument
[all …]
Dgsocketconnectable.h59 GSocketAddressEnumerator * (* enumerate) (GSocketConnectable *connectable);
61 GSocketAddressEnumerator * (* proxy_enumerate) (GSocketConnectable *connectable);
63 gchar * (* to_string) (GSocketConnectable *connectable);
70 GSocketAddressEnumerator *g_socket_connectable_enumerate (GSocketConnectable *connectable);
73 GSocketAddressEnumerator *g_socket_connectable_proxy_enumerate (GSocketConnectable *connectable);
76 gchar *g_socket_connectable_to_string (GSocketConnectable *connectable);
Dgsocketaddress.c68 …ssEnumerator *g_socket_address_connectable_enumerate (GSocketConnectable *connectable);
69 …ssEnumerator *g_socket_address_connectable_proxy_enumerate (GSocketConnectable *connectable);
373 g_socket_address_connectable_enumerate (GSocketConnectable *connectable) in g_socket_address_connectable_enumerate() argument
378 sockaddr_enum->sockaddr = g_object_ref (G_SOCKET_ADDRESS (connectable)); in g_socket_address_connectable_enumerate()
384 g_socket_address_connectable_proxy_enumerate (GSocketConnectable *connectable) in g_socket_address_connectable_proxy_enumerate() argument
388 g_assert (connectable != NULL); in g_socket_address_connectable_proxy_enumerate()
390 if (G_IS_INET_SOCKET_ADDRESS (connectable) && in g_socket_address_connectable_proxy_enumerate()
391 !G_IS_PROXY_ADDRESS (connectable)) in g_socket_address_connectable_proxy_enumerate()
398 g_object_get (connectable, "address", &addr, "port", &port, NULL); in g_socket_address_connectable_proxy_enumerate()
404 "connectable", connectable, in g_socket_address_connectable_proxy_enumerate()
[all …]
Dgnetworkmonitor.c220 GSocketConnectable *connectable, in g_network_monitor_can_reach() argument
227 return iface->can_reach (monitor, connectable, cancellable, error); in g_network_monitor_can_reach()
232 GSocketConnectable *connectable, in g_network_monitor_real_can_reach_async() argument
243 if (g_network_monitor_can_reach (monitor, connectable, cancellable, &error)) in g_network_monitor_real_can_reach_async()
271 GSocketConnectable *connectable, in g_network_monitor_can_reach_async() argument
279 iface->can_reach_async (monitor, connectable, cancellable, callback, user_data); in g_network_monitor_can_reach_async()
Dgproxyaddressenumerator.c70 GSocketConnectable *connectable; member
114 GSocketConnectable *connectable = NULL; in next_enumerator() local
135 if (priv->connectable) in next_enumerator()
136 connectable = g_object_ref (priv->connectable); in next_enumerator()
138 connectable = g_network_address_new (priv->dest_hostname, in next_enumerator()
145 connectable = g_network_address_parse_uri (priv->proxy_uri, 0, &error); in next_enumerator()
157 if (connectable) in next_enumerator()
159 priv->addr_enum = g_socket_connectable_enumerate (connectable); in next_enumerator()
160 g_object_unref (connectable); in next_enumerator()
609 g_value_set_object (value, priv->connectable); in g_proxy_address_enumerator_get_property()
[all …]
Dgnetworkmonitor.h54 GSocketConnectable *connectable,
58 GSocketConnectable *connectable,
83 GSocketConnectable *connectable,
88 GSocketConnectable *connectable,
Dgnetworkaddress.c96 …sEnumerator *g_network_address_connectable_enumerate (GSocketConnectable *connectable);
97 …sEnumerator *g_network_address_connectable_proxy_enumerate (GSocketConnectable *connectable);
98 … *g_network_address_connectable_to_string (GSocketConnectable *connectable);
398 GSocketConnectable *connectable; in g_network_address_parse() local
515 connectable = g_network_address_new (name, portnum); in g_network_address_parse()
518 return connectable; in g_network_address_parse()
1161 g_network_address_connectable_enumerate (GSocketConnectable *connectable) in g_network_address_connectable_enumerate() argument
1166 addr_enum->addr = g_object_ref (G_NETWORK_ADDRESS (connectable)); in g_network_address_connectable_enumerate()
1172 g_network_address_connectable_proxy_enumerate (GSocketConnectable *connectable) in g_network_address_connectable_proxy_enumerate() argument
1174 GNetworkAddress *self = G_NETWORK_ADDRESS (connectable); in g_network_address_connectable_proxy_enumerate()
[all …]
Dgnetworkservice.c90 …sEnumerator *g_network_service_connectable_enumerate (GSocketConnectable *connectable);
91 …sEnumerator *g_network_service_connectable_proxy_enumerate (GSocketConnectable *connectable);
92 … *g_network_service_connectable_to_string (GSocketConnectable *connectable);
731 g_network_service_connectable_enumerate (GSocketConnectable *connectable) in g_network_service_connectable_enumerate() argument
736 srv_enum->srv = g_object_ref (G_NETWORK_SERVICE (connectable)); in g_network_service_connectable_enumerate()
744 g_network_service_connectable_proxy_enumerate (GSocketConnectable *connectable) in g_network_service_connectable_proxy_enumerate() argument
749 addr_enum = g_network_service_connectable_enumerate (connectable); in g_network_service_connectable_proxy_enumerate()
757 g_network_service_connectable_to_string (GSocketConnectable *connectable) in g_network_service_connectable_to_string() argument
761 service = G_NETWORK_SERVICE (connectable); in g_network_service_connectable_to_string()
Dgnetworkmonitorportal.c499 GSocketConnectable *connectable, in g_network_monitor_portal_can_reach() argument
508 if (!G_IS_NETWORK_ADDRESS (connectable)) in g_network_monitor_portal_can_reach()
512 G_OBJECT_TYPE_NAME (connectable)); in g_network_monitor_portal_can_reach()
516 address = G_NETWORK_ADDRESS (connectable); in g_network_monitor_portal_can_reach()
571 GSocketConnectable *connectable, in g_network_monitor_portal_can_reach_async() argument
582 if (!G_IS_NETWORK_ADDRESS (connectable)) in g_network_monitor_portal_can_reach_async()
586 G_OBJECT_TYPE_NAME (connectable)); in g_network_monitor_portal_can_reach_async()
591 address = G_NETWORK_ADDRESS (connectable); in g_network_monitor_portal_can_reach_async()
Dgsocketclient.h55 GSocketConnectable *connectable,
126 … GSocketConnectable *connectable,
149 … GSocketConnectable *connectable,
Dgdbusaddress.c567 GSocketConnectable *connectable; in g_dbus_address_connect() local
570 connectable = NULL; in g_dbus_address_connect()
595 connectable = G_SOCKET_CONNECTABLE (g_unix_socket_address_new (path)); in g_dbus_address_connect()
599 connectable = G_SOCKET_CONNECTABLE (g_unix_socket_address_new_with_type (abstract, in g_dbus_address_connect()
660 connectable = g_network_address_new (host, port); in g_dbus_address_connect()
687 if (connectable != NULL) in g_dbus_address_connect()
702 connectable, in g_dbus_address_connect()
705 g_object_unref (connectable); in g_dbus_address_connect()
Dgnetworkmonitorbase.c208 GSocketConnectable *connectable, in g_network_monitor_base_can_reach() argument
223 enumerator = g_socket_connectable_proxy_enumerate (connectable); in g_network_monitor_base_can_reach()
309 GSocketConnectable *connectable, in g_network_monitor_base_can_reach_async() argument
328 enumerator = g_socket_connectable_proxy_enumerate (connectable); in g_network_monitor_base_can_reach_async()
Dgunixsocketaddress.c83 static gchar *g_unix_socket_address_connectable_to_string (GSocketConnectable *connectable);
324 g_unix_socket_address_connectable_to_string (GSocketConnectable *connectable) in g_unix_socket_address_connectable_to_string() argument
331 ua = G_UNIX_SOCKET_ADDRESS (connectable); in g_unix_socket_address_connectable_to_string()
Dginetsocketaddress.c59 static gchar *g_inet_socket_address_connectable_to_string (GSocketConnectable *connectable);
322 g_inet_socket_address_connectable_to_string (GSocketConnectable *connectable) in g_inet_socket_address_connectable_to_string() argument
330 sa = G_INET_SOCKET_ADDRESS (connectable); in g_inet_socket_address_connectable_to_string()
/third_party/glib/fuzzing/
Dfuzz_network_address_parse.c7 GSocketConnectable *connectable = NULL; in LLVMFuzzerTestOneInput() local
13 connectable = g_network_address_parse ((const gchar *) nul_terminated_data, 1, NULL); in LLVMFuzzerTestOneInput()
16 if (connectable != NULL) in LLVMFuzzerTestOneInput()
18 gchar *text = g_socket_connectable_to_string (connectable); in LLVMFuzzerTestOneInput()
22 g_clear_object (&connectable); in LLVMFuzzerTestOneInput()
Dfuzz_network_address_parse_uri.c7 GSocketConnectable *connectable = NULL; in LLVMFuzzerTestOneInput() local
13 connectable = g_network_address_parse_uri ((const gchar *) nul_terminated_data, 1, NULL); in LLVMFuzzerTestOneInput()
16 if (connectable != NULL) in LLVMFuzzerTestOneInput()
18 gchar *text = g_socket_connectable_to_string (connectable); in LLVMFuzzerTestOneInput()
22 g_clear_object (&connectable); in LLVMFuzzerTestOneInput()
/third_party/glib/gio/tests/
Dproxy.c410 GSocketConnectable *connectable; in use_network_address() local
412 connectable = g_network_address_parse (info, -1, &error); in use_network_address()
420 enumerator = g_socket_connectable_proxy_enumerate (connectable); in use_network_address()
421 g_object_unref (connectable); in use_network_address()
434 GSocketConnectable *connectable; in use_network_uri() local
436 connectable = g_network_address_parse_uri (info, 0, &error); in use_network_uri()
444 enumerator = g_socket_connectable_proxy_enumerate (connectable); in use_network_uri()
445 g_object_unref (connectable); in use_network_uri()
457 GSocketConnectable *connectable = NULL; in use_network_service() local
463 connectable = g_network_service_new (split[0], split[1], split[2]); in use_network_service()
[all …]
Dsocket-client.c120 GSocketConnectable *connectable; in make_connection() local
153 connectable = G_SOCKET_CONNECTABLE (addr); in make_connection()
157 connectable = g_network_address_parse (argument, 7777, error); in make_connection()
158 if (connectable == NULL) in make_connection()
162 enumerator = g_socket_connectable_enumerate (connectable); in make_connection()
210 tls_conn = g_tls_client_connection_new (*connection, connectable, error); in make_connection()
237 g_object_unref (connectable); in make_connection()
Dresolver.c576 GSocketConnectable *connectable; in do_connectable() local
586 connectable = g_network_service_new (parts[0], parts[1], parts[2]); in do_connectable()
607 connectable = G_SOCKET_CONNECTABLE (sockaddr); in do_connectable()
610 connectable = g_network_address_new (arg, port); in do_connectable()
615 enumerator = g_socket_connectable_enumerate (connectable); in do_connectable()
623 g_object_unref (connectable); in do_connectable()
Dgsocketclient-slow.c91 GSocketConnectable *connectable, in on_event() argument
Dsend-data.c65 GSocketConnectable *connectable, in socket_client_event() argument
D.gitignore13 connectable
Dnetwork-address.c149 GSocketConnectable *connectable; in test_resolve_address() local
158 connectable = g_network_address_parse (test->input, 1234, &error); in test_resolve_address()
161 addr_enum = g_socket_connectable_enumerate (connectable); in test_resolve_address()
164 g_object_unref (connectable); in test_resolve_address()
/third_party/libsoup/libsoup/
Dsoup-address.c1249 soup_address_connectable_enumerate (GSocketConnectable *connectable) in soup_address_connectable_enumerate() argument
1255 addr_enum->addr = g_object_ref (SOUP_ADDRESS (connectable)); in soup_address_connectable_enumerate()
1264 soup_address_connectable_proxy_enumerate (GSocketConnectable *connectable) in soup_address_connectable_proxy_enumerate() argument
1266 SoupAddress *addr = SOUP_ADDRESS (connectable); in soup_address_connectable_proxy_enumerate()
1283 "connectable", connectable, in soup_address_connectable_proxy_enumerate()

12