• Home
  • Raw
  • Download

Lines Matching refs:connection

950 			    GIOStream           *connection)  in g_socket_client_emit_event()  argument
953 event, connectable, connection); in g_socket_client_emit_event()
1058 GIOStream *connection = NULL; in g_socket_client_connect() local
1079 while (connection == NULL) in g_socket_client_connect()
1126 connection = (GIOStream *)g_socket_connection_factory_create_connection (socket); in g_socket_client_connect()
1127 g_socket_connection_set_cached_remote_address ((GSocketConnection*)connection, address); in g_socket_client_connect()
1128 g_socket_client_emit_event (client, G_SOCKET_CLIENT_CONNECTING, connectable, connection); in g_socket_client_connect()
1130 if (g_socket_connection_connect (G_SOCKET_CONNECTION (connection), in g_socket_client_connect()
1133 g_socket_connection_set_cached_remote_address ((GSocketConnection*)connection, NULL); in g_socket_client_connect()
1134 g_socket_client_emit_event (client, G_SOCKET_CLIENT_CONNECTED, connectable, connection); in g_socket_client_connect()
1140 g_object_unref (connection); in g_socket_client_connect()
1141 connection = NULL; in g_socket_client_connect()
1144 if (connection && using_proxy) in g_socket_client_connect()
1155 if (!G_IS_TCP_CONNECTION (connection)) in g_socket_client_connect()
1165 g_object_unref (connection); in g_socket_client_connect()
1166 connection = NULL; in g_socket_client_connect()
1176 … g_socket_client_emit_event (client, G_SOCKET_CLIENT_PROXY_NEGOTIATING, connectable, connection); in g_socket_client_connect()
1178 connection, in g_socket_client_connect()
1184 g_object_unref (connection); in g_socket_client_connect()
1185 connection = proxy_connection; in g_socket_client_connect()
1188 if (connection) in g_socket_client_connect()
1189 g_socket_client_emit_event (client, G_SOCKET_CLIENT_PROXY_NEGOTIATED, connectable, connection); in g_socket_client_connect()
1197 g_object_unref (connection); in g_socket_client_connect()
1198 connection = NULL; in g_socket_client_connect()
1202 if (!application_proxy && connection && client->priv->tls) in g_socket_client_connect()
1206 tlsconn = g_tls_client_connection_new (connection, connectable, &error_info->tmp_error); in g_socket_client_connect()
1207 g_object_unref (connection); in g_socket_client_connect()
1208 connection = tlsconn; in g_socket_client_connect()
1214 … g_socket_client_emit_event (client, G_SOCKET_CLIENT_TLS_HANDSHAKING, connectable, connection); in g_socket_client_connect()
1218 g_socket_client_emit_event (client, G_SOCKET_CLIENT_TLS_HANDSHAKED, connectable, connection); in g_socket_client_connect()
1224 connection = NULL; in g_socket_client_connect()
1233 if (connection && !G_IS_SOCKET_CONNECTION (connection)) in g_socket_client_connect()
1237 wrapper_connection = g_tcp_wrapper_connection_new (connection, socket); in g_socket_client_connect()
1238 g_object_unref (connection); in g_socket_client_connect()
1239 connection = (GIOStream *)wrapper_connection; in g_socket_client_connect()
1247 if (!connection) in g_socket_client_connect()
1251 g_socket_client_emit_event (client, G_SOCKET_CLIENT_COMPLETE, connectable, connection); in g_socket_client_connect()
1252 return G_SOCKET_CONNECTION (connection); in g_socket_client_connect()
1306 GSocketConnection *connection; in g_socket_client_connect_to_host() local
1312 connection = g_socket_client_connect (client, connectable, in g_socket_client_connect_to_host()
1316 return connection; in g_socket_client_connect_to_host()
1352 GSocketConnection *connection; in g_socket_client_connect_to_service() local
1355 connection = g_socket_client_connect (client, connectable, in g_socket_client_connect_to_service()
1359 return connection; in g_socket_client_connect_to_service()
1404 GSocketConnection *connection; in g_socket_client_connect_to_uri() local
1410 connection = g_socket_client_connect (client, connectable, in g_socket_client_connect_to_uri()
1414 return connection; in g_socket_client_connect_to_uri()
1457 GIOStream *connection; member
1488 g_clear_object (&attempt->connection); in connection_attempt_unref()
1532 g_assert (attempt->connection); in g_socket_client_async_connect_complete()
1535 if (!G_IS_SOCKET_CONNECTION (attempt->connection)) in g_socket_client_async_connect_complete()
1539 wrapper_connection = g_tcp_wrapper_connection_new (attempt->connection, attempt->socket); in g_socket_client_async_connect_complete()
1540 g_object_unref (attempt->connection); in g_socket_client_async_connect_complete()
1541 attempt->connection = (GIOStream *)wrapper_connection; in g_socket_client_async_connect_complete()
1556 …client_emit_event (data->client, G_SOCKET_CLIENT_COMPLETE, data->connectable, attempt->connection); in g_socket_client_async_connect_complete()
1557 g_task_return_pointer (data->task, g_steal_pointer (&attempt->connection), g_object_unref); in g_socket_client_async_connect_complete()
1602 g_object_unref (attempt->connection); in g_socket_client_tls_handshake_callback()
1603 attempt->connection = G_IO_STREAM (object); in g_socket_client_tls_handshake_callback()
1606 …_emit_event (data->client, G_SOCKET_CLIENT_TLS_HANDSHAKED, data->connectable, attempt->connection); in g_socket_client_tls_handshake_callback()
1633 tlsconn = g_tls_client_connection_new (attempt->connection, in g_socket_client_tls_handshake()
1664 g_object_unref (attempt->connection); in g_socket_client_proxy_connect_callback()
1665 attempt->connection = g_proxy_connect_finish (G_PROXY (object), in g_socket_client_proxy_connect_callback()
1668 if (attempt->connection) in g_socket_client_proxy_connect_callback()
1670 …mit_event (data->client, G_SOCKET_CLIENT_PROXY_NEGOTIATED, data->connectable, attempt->connection); in g_socket_client_proxy_connect_callback()
1742 if (!G_IS_TCP_CONNECTION (attempt->connection)) in try_next_successful_connection()
1761 GIOStream *connection = attempt->connection; in try_next_successful_connection() local
1764 …it_event (data->client, G_SOCKET_CLIENT_PROXY_NEGOTIATING, data->connectable, attempt->connection); in try_next_successful_connection()
1767 connection, in try_next_successful_connection()
1857 g_socket_connection_set_cached_remote_address ((GSocketConnection*)attempt->connection, NULL); in g_socket_client_connected_callback()
1859 …lient_emit_event (data->client, G_SOCKET_CLIENT_CONNECTED, data->connectable, attempt->connection); in g_socket_client_connected_callback()
1969 attempt->connection = (GIOStream *)g_socket_connection_factory_create_connection (socket); in g_socket_client_enumerator_callback()
1983 g_socket_connection_set_cached_remote_address ((GSocketConnection *)attempt->connection, address); in g_socket_client_enumerator_callback()
1985 …ient_emit_event (data->client, G_SOCKET_CLIENT_CONNECTING, data->connectable, attempt->connection); in g_socket_client_enumerator_callback()
1986 g_socket_connection_connect_async (G_SOCKET_CONNECTION (attempt->connection), in g_socket_client_enumerator_callback()