Home
last modified time | relevance | path

Searched refs:io_stream (Results 1 – 11 of 11) sorted by relevance

/third_party/glib/gio/
Dghttpproxy.c184 GIOStream *io_stream, in g_http_proxy_connect() argument
199 tlsconn = g_tls_client_connection_new (io_stream, in g_http_proxy_connect()
218 io_stream = tlsconn; in g_http_proxy_connect()
221 in = g_io_stream_get_input_stream (io_stream); in g_http_proxy_connect()
222 out = g_io_stream_get_output_stream (io_stream); in g_http_proxy_connect()
292 g_object_ref (io_stream); in g_http_proxy_connect()
295 return io_stream; in g_http_proxy_connect()
305 GIOStream *io_stream; member
312 g_object_unref (data->io_stream); in free_connect_data()
328 res = g_http_proxy_connect (proxy, data->io_stream, data->proxy_address, in connect_thread()
[all …]
Dgfileiostream.c147 GIOStream *io_stream; in g_file_io_stream_query_info() local
152 io_stream = G_IO_STREAM (stream); in g_file_io_stream_query_info()
154 if (!g_io_stream_set_pending (io_stream, error)) in g_file_io_stream_query_info()
172 g_io_stream_clear_pending (io_stream); in g_file_io_stream_query_info()
217 GIOStream *io_stream; in g_file_io_stream_query_info_async() local
222 io_stream = G_IO_STREAM (stream); in g_file_io_stream_query_info_async()
224 if (!g_io_stream_set_pending (io_stream, &error)) in g_file_io_stream_query_info_async()
288 GIOStream *io_stream; in g_file_io_stream_get_etag() local
293 io_stream = G_IO_STREAM (stream); in g_file_io_stream_get_etag()
295 if (!g_io_stream_is_closed (io_stream)) in g_file_io_stream_get_etag()
[all …]
Dgsocks4aproxy.c195 GIOStream *io_stream, in g_socks4a_proxy_connect() argument
210 in = g_io_stream_get_input_stream (io_stream); in g_socks4a_proxy_connect()
211 out = g_io_stream_get_output_stream (io_stream); in g_socks4a_proxy_connect()
240 return g_object_ref (io_stream); in g_socks4a_proxy_connect()
249 GIOStream *io_stream; member
268 g_object_unref (data->io_stream); in free_connect_data()
276 in = g_io_stream_get_input_stream (data->io_stream); in do_read()
289 out = g_io_stream_get_output_stream (data->io_stream); in do_write()
302 GIOStream *io_stream, in g_socks4a_proxy_connect_async() argument
316 data->io_stream = g_object_ref (io_stream); in g_socks4a_proxy_connect_async()
[all …]
Dgtcpwrapperconnection.c66 g_tcp_wrapper_connection_get_input_stream (GIOStream *io_stream) in g_tcp_wrapper_connection_get_input_stream() argument
68 GTcpWrapperConnection *connection = G_TCP_WRAPPER_CONNECTION (io_stream); in g_tcp_wrapper_connection_get_input_stream()
74 g_tcp_wrapper_connection_get_output_stream (GIOStream *io_stream) in g_tcp_wrapper_connection_get_output_stream() argument
76 GTcpWrapperConnection *connection = G_TCP_WRAPPER_CONNECTION (io_stream); in g_tcp_wrapper_connection_get_output_stream()
Dgsocks5proxy.c422 GIOStream *io_stream, in g_socks5_proxy_connect() argument
442 in = g_io_stream_get_input_stream (io_stream); in g_socks5_proxy_connect()
443 out = g_io_stream_get_output_stream (io_stream); in g_socks5_proxy_connect()
544 return g_object_ref (io_stream); in g_socks5_proxy_connect()
553 GIOStream *io_stream; member
592 g_object_unref (data->io_stream); in free_connect_data()
606 in = g_io_stream_get_input_stream (data->io_stream); in do_read()
619 out = g_io_stream_get_output_stream (data->io_stream); in do_write()
630 GIOStream *io_stream, in g_socks5_proxy_connect_async() argument
640 data->io_stream = g_object_ref (io_stream); in g_socks5_proxy_connect_async()
[all …]
Dgsocketconnection.c98 g_socket_connection_get_input_stream (GIOStream *io_stream) in G_DEFINE_TYPE_WITH_PRIVATE()
100 GSocketConnection *connection = G_SOCKET_CONNECTION (io_stream); in G_DEFINE_TYPE_WITH_PRIVATE()
110 g_socket_connection_get_output_stream (GIOStream *io_stream) in g_socket_connection_get_output_stream() argument
112 GSocketConnection *connection = G_SOCKET_CONNECTION (io_stream); in g_socket_connection_get_output_stream()
/third_party/libsoup/libsoup/
Dsoup-websocket-connection.c117 GIOStream *io_stream; member
283 g_io_stream_close_finish (pv->io_stream, result, &error); in on_iostream_closed()
389 g_io_stream_close_async (pv->io_stream, G_PRIORITY_DEFAULT, in close_io_stream()
406 base_iostream = SOUP_IS_IO_STREAM (pv->io_stream) ? in shutdown_wr_io_stream()
407 soup_io_stream_get_base_iostream (SOUP_IO_STREAM (pv->io_stream)) : in shutdown_wr_io_stream()
408 pv->io_stream; in shutdown_wr_io_stream()
1299 g_return_if_fail (pv->io_stream != NULL); in soup_websocket_connection_constructed()
1301 is = g_io_stream_get_input_stream (pv->io_stream); in soup_websocket_connection_constructed()
1306 os = g_io_stream_get_output_stream (pv->io_stream); in soup_websocket_connection_constructed()
1377 g_return_if_fail (pv->io_stream == NULL); in soup_websocket_connection_set_property()
[all …]
/third_party/glib/gio/tests/
Dproxy-test.c274 GIOStream *io_stream, in g_proxy_base_connect() argument
296 ostream = g_io_stream_get_output_stream (io_stream); in g_proxy_base_connect()
301 istream = g_io_stream_get_input_stream (io_stream); in g_proxy_base_connect()
314 return g_object_ref (io_stream); in g_proxy_base_connect()
323 GIOStream *io_stream, in g_proxy_base_connect_async() argument
335 proxy_io_stream = g_proxy_connect (proxy, io_stream, proxy_address, in g_proxy_base_connect_async()
Dg-file-info.c148 GFileIOStream *io_stream = NULL; in test_g_file_info_modification_time() local
156 file = g_file_new_tmp ("g-file-info-test-XXXXXX", &io_stream, &error); in test_g_file_info_modification_time()
193 g_clear_object (&io_stream); in test_g_file_info_modification_time()
Dfile.c1695 GFileIOStream *io_stream = NULL; in test_replace() local
1717 io_stream = g_file_replace_readwrite (source_file, in test_replace()
1735 g_assert_nonnull (io_stream); in test_replace()
1741 if (io_stream != NULL) in test_replace()
1743 GOutputStream *io_output_stream = g_io_stream_get_output_stream (G_IO_STREAM (io_stream)); in test_replace()
1755 … g_io_stream_close (G_IO_STREAM (io_stream), NULL, (local_error == NULL) ? &local_error : NULL); in test_replace()
1785 g_clear_object (&io_stream); in test_replace()
/third_party/libsoup/tests/
Dserver-test.c730 get_input_stream (GIOStream *io_stream) in get_input_stream() argument
732 GTestIOStream *self = (GTestIOStream *) io_stream; in get_input_stream()
738 get_output_stream (GIOStream *io_stream) in get_output_stream() argument
740 GTestIOStream *self = (GTestIOStream *) io_stream; in get_output_stream()