Home
last modified time | relevance | path

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

/third_party/libsoup/tests/
Dchunk-io-test.c106 GSource *base_source, *pollable_source; in slow_input_stream_create_source() local
109 base_source = g_timeout_source_new (0); in slow_input_stream_create_source()
110 g_source_set_dummy_callback (base_source); in slow_input_stream_create_source()
113 g_source_add_child_source (pollable_source, base_source); in slow_input_stream_create_source()
114 g_source_unref (base_source); in slow_input_stream_create_source()
199 GSource *base_source, *pollable_source; in slow_output_stream_create_source() local
202 base_source = g_timeout_source_new (0); in slow_output_stream_create_source()
203 g_source_set_dummy_callback (base_source); in slow_output_stream_create_source()
206 g_source_add_child_source (pollable_source, base_source); in slow_output_stream_create_source()
207 g_source_unref (base_source); in slow_output_stream_create_source()
[all …]
/third_party/libsoup/libsoup/
Dsoup-filter-input-stream.c130 GSource *base_source, *pollable_source; in soup_filter_input_stream_create_source() local
133 base_source = g_timeout_source_new (0); in soup_filter_input_stream_create_source()
135base_source = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM (G_FILTER_INPUT_STREA… in soup_filter_input_stream_create_source()
137 g_source_set_dummy_callback (base_source); in soup_filter_input_stream_create_source()
139 g_source_add_child_source (pollable_source, base_source); in soup_filter_input_stream_create_source()
140 g_source_unref (base_source); in soup_filter_input_stream_create_source()
Dsoup-body-output-stream.c275 GSource *base_source, *pollable_source; in soup_body_output_stream_create_source() local
278 base_source = g_timeout_source_new (0); in soup_body_output_stream_create_source()
280base_source = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM (bostream->priv->ba… in soup_body_output_stream_create_source()
281 g_source_set_dummy_callback (base_source); in soup_body_output_stream_create_source()
284 g_source_add_child_source (pollable_source, base_source); in soup_body_output_stream_create_source()
285 g_source_unref (base_source); in soup_body_output_stream_create_source()
Dsoup-content-sniffer-stream.c274 GSource *base_source, *pollable_source; in soup_content_sniffer_stream_create_source() local
278 base_source = g_timeout_source_new (0); in soup_content_sniffer_stream_create_source()
280base_source = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM (G_FILTER_INPUT_STREA… in soup_content_sniffer_stream_create_source()
282 g_source_set_dummy_callback (base_source); in soup_content_sniffer_stream_create_source()
284 g_source_add_child_source (pollable_source, base_source); in soup_content_sniffer_stream_create_source()
285 g_source_unref (base_source); in soup_content_sniffer_stream_create_source()
Dsoup-body-input-stream.c349 GSource *base_source, *pollable_source; in soup_body_input_stream_create_source() local
352 base_source = g_timeout_source_new (0); in soup_body_input_stream_create_source()
354base_source = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM (bistream->priv->base… in soup_body_input_stream_create_source()
355 g_source_set_dummy_callback (base_source); in soup_body_input_stream_create_source()
358 g_source_add_child_source (pollable_source, base_source); in soup_body_input_stream_create_source()
359 g_source_unref (base_source); in soup_body_input_stream_create_source()
Dsoup-message-io.c892 GSource *base_source, *source; in soup_message_io_get_source() local
896 base_source = g_timeout_source_new (0); in soup_message_io_get_source()
898 base_source = NULL; in soup_message_io_get_source()
900 base_source = g_cancellable_source_new (io->async_close_wait); in soup_message_io_get_source()
908 base_source = g_pollable_input_stream_create_source (istream, cancellable); in soup_message_io_get_source()
916 base_source = g_pollable_output_stream_create_source (ostream, cancellable); in soup_message_io_get_source()
918 base_source = g_timeout_source_new (0); in soup_message_io_get_source()
927 if (base_source) { in soup_message_io_get_source()
928 g_source_set_dummy_callback (base_source); in soup_message_io_get_source()
929 g_source_add_child_source (source, base_source); in soup_message_io_get_source()
[all …]
Dsoup-multipart-input-stream.c275 GSource *base_source, *pollable_source; in soup_multipart_input_stream_create_source() local
277base_source = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM (priv->base_stream), … in soup_multipart_input_stream_create_source()
279 pollable_source = g_pollable_source_new_full (stream, base_source, cancellable); in soup_multipart_input_stream_create_source()
280 g_source_unref (base_source); in soup_multipart_input_stream_create_source()
/third_party/glib/gio/
Dgconverterinputstream.c622 GSource *base_source, *pollable_source; in g_converter_input_stream_create_source() local
625 base_source = g_timeout_source_new (0); in g_converter_input_stream_create_source()
627base_source = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM (base_stream), NULL); in g_converter_input_stream_create_source()
629 pollable_source = g_pollable_source_new_full (stream, base_source, in g_converter_input_stream_create_source()
631 g_source_unref (base_source); in g_converter_input_stream_create_source()
Dgmemoryinputstream.c522 GSource *base_source, *pollable_source; in g_memory_input_stream_create_source() local
524 base_source = g_timeout_source_new (0); in g_memory_input_stream_create_source()
525 pollable_source = g_pollable_source_new_full (stream, base_source, in g_memory_input_stream_create_source()
527 g_source_unref (base_source); in g_memory_input_stream_create_source()
Dgconverteroutputstream.c665 GSource *base_source, *pollable_source; in g_converter_output_stream_create_source() local
667base_source = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM (base_stream), NULL… in g_converter_output_stream_create_source()
668 pollable_source = g_pollable_source_new_full (stream, base_source, in g_converter_output_stream_create_source()
670 g_source_unref (base_source); in g_converter_output_stream_create_source()
Dgmemoryoutputstream.c845 GSource *base_source, *pollable_source; in g_memory_output_stream_create_source() local
847 base_source = g_timeout_source_new (0); in g_memory_output_stream_create_source()
848 pollable_source = g_pollable_source_new_full (stream, base_source, cancellable); in g_memory_output_stream_create_source()
849 g_source_unref (base_source); in g_memory_output_stream_create_source()