Home
last modified time | relevance | path

Searched refs:G_IO_STREAM (Results 1 – 25 of 41) sorted by relevance

12

/third_party/glib/gio/
Dgfileiostream.c152 io_stream = G_IO_STREAM (stream); in g_file_io_stream_query_info()
184 g_io_stream_clear_pending (G_IO_STREAM (stream)); in async_ready_callback_wrapper()
222 io_stream = G_IO_STREAM (stream); in g_file_io_stream_query_info_async()
293 io_stream = G_IO_STREAM (stream); in g_file_io_stream_get_etag()
373 io_stream = G_IO_STREAM (stream); in g_file_io_stream_seek()
449 io_stream = G_IO_STREAM (stream); in g_file_io_stream_truncate()
494 out = g_io_stream_get_output_stream (G_IO_STREAM (stream)); in g_file_io_stream_real_tell()
506 out = g_io_stream_get_output_stream (G_IO_STREAM (stream)); in g_file_io_stream_real_can_seek()
522 out = g_io_stream_get_output_stream (G_IO_STREAM (stream)); in g_file_io_stream_real_seek()
534 out = g_io_stream_get_output_stream (G_IO_STREAM (stream)); in g_file_io_stream_real_can_truncate()
[all …]
Dgtlsserverconnection.c97 return G_IO_STREAM (conn); in g_tls_server_connection_new()
Dgiostream.c120 stream = G_IO_STREAM (object); in G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE()
140 GIOStream *stream = G_IO_STREAM (object); in g_io_stream_get_property()
438 GIOStream *stream = G_IO_STREAM (source_object); in async_ready_close_callback_wrapper()
724 g_io_stream_close_finish (G_IO_STREAM (iostream), res, &error); in splice_close_cb()
Dgiostream.h32 #define G_IO_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_IO_STREAM, GIOStream)) macro
Dgtlsclientconnection.c177 return G_IO_STREAM (conn); in g_tls_client_connection_new()
Dgdbusserver.c1023 if (!g_input_stream_read_all (g_io_stream_get_input_stream (G_IO_STREAM (socket_connection)), in on_run()
1046 connection = g_dbus_connection_new_sync (G_IO_STREAM (socket_connection), in on_run()
/third_party/glib/gio/tests/
Dsocket-service.c251 res = g_io_stream_close_finish (G_IO_STREAM (conn), result, &error); in closed_read_write_async_cb()
282 g_io_stream_close_async (G_IO_STREAM (conn), in written_read_write_async_cb()
306 ostream = g_io_stream_get_output_stream (G_IO_STREAM (conn)); in connected_read_write_async_cb()
353 g_io_stream_close_async (G_IO_STREAM (conn), in writtenv_read_write_async_cb()
377 ostream = g_io_stream_get_output_stream (G_IO_STREAM (conn)); in connected_read_writev_async_cb()
434 g_io_stream_close_async (G_IO_STREAM (conn), in read_read_write_async_cb()
452 istream = g_io_stream_get_input_stream (G_IO_STREAM (conn)); in incoming_read_write_async_cb()
523 !g_io_stream_is_closed (G_IO_STREAM (sconn)) || in test_read_write_async_internal()
524 !g_io_stream_is_closed (G_IO_STREAM (cconn))); in test_read_write_async_internal()
Dsend-data.c165 out = g_io_stream_get_output_stream (G_IO_STREAM (connection)); in main()
183 g_io_stream_close_async (G_IO_STREAM (connection), in main()
186 if (!g_io_stream_close_finish (G_IO_STREAM (connection), in main()
197 if (!g_io_stream_close (G_IO_STREAM (connection), cancellable, &error)) in main()
Decho-server.c25 out = g_io_stream_get_output_stream (G_IO_STREAM (connection)); in handler()
26 in = g_io_stream_get_input_stream (G_IO_STREAM (connection)); in handler()
Dreadwrite.c43 iostream = G_IO_STREAM (file_iostream); in verify_iostream()
210 out = g_io_stream_get_output_stream (G_IO_STREAM (file_iostream)); in test_g_file_create_readwrite()
259 in = g_io_stream_get_input_stream (G_IO_STREAM (file_iostream)); in test_g_file_replace_readwrite()
266 out = g_io_stream_get_output_stream (G_IO_STREAM (file_iostream)); in test_g_file_replace_readwrite()
Dio-stream.c125 io = g_simple_io_stream_new (g_io_stream_get_input_stream (G_IO_STREAM (fios)), in test_close_file()
126 g_io_stream_get_output_stream (G_IO_STREAM (fios))); in test_close_file()
Dgdbus-overflow.c122 producer = g_dbus_connection_new_sync (G_IO_STREAM (socket_connection), in test_overflow()
166 consumer = g_dbus_connection_new_sync (G_IO_STREAM (socket_connection), in test_overflow()
Dhttpd.c45 in = g_io_stream_get_input_stream (G_IO_STREAM (connection)); in handler()
46 out = g_io_stream_get_output_stream (G_IO_STREAM (connection)); in handler()
Dfile.c1743 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()
2282 ostream = g_io_stream_get_output_stream (G_IO_STREAM (iostream)); in test_writev_helper()
2290 res = g_io_stream_close (G_IO_STREAM (iostream), NULL, &error); in test_writev_helper()
2400 ostream = g_io_stream_get_output_stream (G_IO_STREAM (iostream)); in test_writev_too_big_vectors()
2408 res = g_io_stream_close (G_IO_STREAM (iostream), NULL, &error); in test_writev_too_big_vectors()
2502 ostream = g_io_stream_get_output_stream (G_IO_STREAM (iostream)); in test_writev_async()
2511 res = g_io_stream_close (G_IO_STREAM (iostream), NULL, &error); in test_writev_async()
2571 ostream = g_io_stream_get_output_stream (G_IO_STREAM (iostream)); in test_writev_async_all()
2581 res = g_io_stream_close (G_IO_STREAM (iostream), NULL, &error); in test_writev_async_all()
[all …]
Dtest-io-stream.c101 return G_IO_STREAM (stream); in test_io_stream_new()
Dpollable.c364 in = G_POLLABLE_INPUT_STREAM (g_io_stream_get_input_stream (G_IO_STREAM (client_conn))); in test_pollable_socket()
365 out = g_io_stream_get_output_stream (G_IO_STREAM (server_conn)); in test_pollable_socket()
Dsocket-client.c204 *connection = G_IO_STREAM (g_socket_connection_factory_create_connection (*socket)); in make_connection()
228 *connection = G_IO_STREAM (tls_conn); in make_connection()
Dgdbus-peer-object-manager.c237 g_dbus_connection_new (G_IO_STREAM (stream), guid, in setup()
252 g_dbus_connection_new (G_IO_STREAM (stream), NULL, in setup()
Dtrash.c90 g_io_stream_close (G_IO_STREAM (stream), NULL, &error); in test_trash_not_supported()
Dsocket-server.c201 connection = G_IO_STREAM (g_socket_connection_factory_create_connection (recv_socket)); in main()
Dgdbus-close-pending.c120 return G_IO_STREAM (stream); in my_io_stream_new()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtspconnection.c230 ostream_get = g_io_stream_get_output_stream (G_IO_STREAM (client_get)); in GST_START_TEST()
233 istream_get = g_io_stream_get_input_stream (G_IO_STREAM (client_get)); in GST_START_TEST()
268 ostream_post = g_io_stream_get_output_stream (G_IO_STREAM (client_post)); in GST_START_TEST()
317 ostream_post = g_io_stream_get_output_stream (G_IO_STREAM (client_post)); in GST_START_TEST()
394 ostream_post = g_io_stream_get_output_stream (G_IO_STREAM (client_post)); in GST_START_TEST()
423 ostream_get = g_io_stream_get_output_stream (G_IO_STREAM (client_get)); in GST_START_TEST()
426 istream_get = g_io_stream_get_input_stream (G_IO_STREAM (client_get)); in GST_START_TEST()
481 ostream_post = g_io_stream_get_output_stream (G_IO_STREAM (client_post)); in GST_START_TEST()
730 ostream = g_io_stream_get_output_stream (G_IO_STREAM (conn2)); in GST_START_TEST()
812 istream = g_io_stream_get_input_stream (G_IO_STREAM (conn2)); in GST_START_TEST()
/third_party/libsoup/libsoup/
Dsoup-io-stream.c146 if (g_io_stream_close_finish (G_IO_STREAM (object), result, &error)) in close_async_complete()
/third_party/libsoup/tests/
Dserver-test.c193 in = g_io_stream_get_input_stream (G_IO_STREAM (conn)); in do_one_server_aliases_test()
194 out = g_io_stream_get_output_stream (G_IO_STREAM (conn)); in do_one_server_aliases_test()
224 g_io_stream_close (G_IO_STREAM (conn), NULL, NULL); in do_one_server_aliases_test()
785 return G_IO_STREAM (self); in g_test_io_stream_new()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpconnection.c330 is = g_io_stream_get_input_stream (G_IO_STREAM (sc->connection)); in gst_rtmp_connection_set_socket_connection()
414 g_io_stream_close_async (G_IO_STREAM (self->connection), in gst_rtmp_connection_close()
566 os = g_io_stream_get_output_stream (G_IO_STREAM (self->connection)); in gst_rtmp_connection_start_write()

12