Home
last modified time | relevance | path

Searched refs:pollable_source (Results 1 – 15 of 15) sorted by relevance

/third_party/glib/gio/
Dgpollableutils.c48 GPollableSource *pollable_source = (GPollableSource *)source; in pollable_source_dispatch() local
50 return (*func) (pollable_source->stream, user_data); in pollable_source_dispatch()
56 GPollableSource *pollable_source = (GPollableSource *)source; in pollable_source_finalize() local
58 g_object_unref (pollable_source->stream); in pollable_source_finalize()
113 GPollableSource *pollable_source; in g_pollable_source_new() local
120 pollable_source = (GPollableSource *)source; in g_pollable_source_new()
121 pollable_source->stream = g_object_ref (pollable_stream); in g_pollable_source_new()
Dgsocketinputstream.c144 GSource *socket_source, *pollable_source; in g_socket_input_stream_pollable_create_source() local
146 pollable_source = g_pollable_source_new (G_OBJECT (input_stream)); in g_socket_input_stream_pollable_create_source()
150 g_source_add_child_source (pollable_source, socket_source); in g_socket_input_stream_pollable_create_source()
153 return pollable_source; in g_socket_input_stream_pollable_create_source()
Dgsocketoutputstream.c212 GSource *socket_source, *pollable_source; in g_socket_output_stream_pollable_create_source() local
214 pollable_source = g_pollable_source_new (G_OBJECT (output_stream)); in g_socket_output_stream_pollable_create_source()
218 g_source_add_child_source (pollable_source, socket_source); in g_socket_output_stream_pollable_create_source()
221 return pollable_source; in g_socket_output_stream_pollable_create_source()
Dgunixinputstream.c469 GSource *inner_source, *cancellable_source, *pollable_source; in g_unix_input_stream_pollable_create_source() local
471 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in g_unix_input_stream_pollable_create_source()
475 g_source_add_child_source (pollable_source, inner_source); in g_unix_input_stream_pollable_create_source()
482 g_source_add_child_source (pollable_source, cancellable_source); in g_unix_input_stream_pollable_create_source()
486 return pollable_source; in g_unix_input_stream_pollable_create_source()
Dgunixoutputstream.c556 GSource *inner_source, *cancellable_source, *pollable_source; in g_unix_output_stream_pollable_create_source() local
558 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in g_unix_output_stream_pollable_create_source()
562 g_source_add_child_source (pollable_source, inner_source); in g_unix_output_stream_pollable_create_source()
569 g_source_add_child_source (pollable_source, cancellable_source); in g_unix_output_stream_pollable_create_source()
573 return pollable_source; in g_unix_output_stream_pollable_create_source()
Dgmemoryinputstream.c522 GSource *base_source, *pollable_source; in g_memory_input_stream_create_source() local
525 pollable_source = g_pollable_source_new_full (stream, base_source, in g_memory_input_stream_create_source()
529 return pollable_source; in g_memory_input_stream_create_source()
Dgconverteroutputstream.c665 GSource *base_source, *pollable_source; in g_converter_output_stream_create_source() local
668 pollable_source = g_pollable_source_new_full (stream, base_source, in g_converter_output_stream_create_source()
672 return pollable_source; in g_converter_output_stream_create_source()
Dgconverterinputstream.c622 GSource *base_source, *pollable_source; in g_converter_input_stream_create_source() local
629 pollable_source = g_pollable_source_new_full (stream, base_source, in g_converter_input_stream_create_source()
633 return pollable_source; in g_converter_input_stream_create_source()
Dgmemoryoutputstream.c845 GSource *base_source, *pollable_source; in g_memory_output_stream_create_source() local
848 pollable_source = g_pollable_source_new_full (stream, base_source, cancellable); in g_memory_output_stream_create_source()
851 return pollable_source; in g_memory_output_stream_create_source()
/third_party/libsoup/tests/
Dchunk-io-test.c106 GSource *base_source, *pollable_source; in slow_input_stream_create_source() local
112 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in slow_input_stream_create_source()
113 g_source_add_child_source (pollable_source, base_source); in slow_input_stream_create_source()
116 return pollable_source; in slow_input_stream_create_source()
199 GSource *base_source, *pollable_source; in slow_output_stream_create_source() local
205 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in slow_output_stream_create_source()
206 g_source_add_child_source (pollable_source, base_source); in slow_output_stream_create_source()
209 return pollable_source; in slow_output_stream_create_source()
303 GSource *base_source, *pollable_source; in breaking_output_stream_create_source() local
308 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in breaking_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
138 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in soup_filter_input_stream_create_source()
139 g_source_add_child_source (pollable_source, base_source); in soup_filter_input_stream_create_source()
142 return pollable_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
283 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in soup_body_output_stream_create_source()
284 g_source_add_child_source (pollable_source, base_source); in soup_body_output_stream_create_source()
287 return pollable_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
283 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in soup_content_sniffer_stream_create_source()
284 g_source_add_child_source (pollable_source, base_source); in soup_content_sniffer_stream_create_source()
287 return pollable_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
357 pollable_source = g_pollable_source_new (G_OBJECT (stream)); in soup_body_input_stream_create_source()
358 g_source_add_child_source (pollable_source, base_source); in soup_body_input_stream_create_source()
361 return pollable_source; in soup_body_input_stream_create_source()
Dsoup-multipart-input-stream.c275 GSource *base_source, *pollable_source; in soup_multipart_input_stream_create_source() local
279 pollable_source = g_pollable_source_new_full (stream, base_source, cancellable); in soup_multipart_input_stream_create_source()
282 return pollable_source; in soup_multipart_input_stream_create_source()