Home
last modified time | relevance | path

Searched refs:base_stream (Results 1 – 14 of 14) sorted by relevance

/external/bluetooth/glib/gio/
Dgfilterinputstream.c164 filter_stream->base_stream = G_INPUT_STREAM (obj); in g_filter_input_stream_set_property()
192 g_value_set_object (value, filter_stream->base_stream); in g_filter_input_stream_get_property()
213 g_object_unref (stream->base_stream); in g_filter_input_stream_finalize()
237 return stream->base_stream; in g_filter_input_stream_get_base_stream()
291 GInputStream *base_stream; in g_filter_input_stream_read() local
295 base_stream = filter_stream->base_stream; in g_filter_input_stream_read()
297 nread = g_input_stream_read (base_stream, in g_filter_input_stream_read()
313 GInputStream *base_stream; in g_filter_input_stream_skip() local
317 base_stream = filter_stream->base_stream; in g_filter_input_stream_skip()
319 nskipped = g_input_stream_skip (base_stream, in g_filter_input_stream_skip()
[all …]
Dgbufferedoutputstream.c359 g_buffered_output_stream_new (GOutputStream *base_stream) in g_buffered_output_stream_new() argument
363 g_return_val_if_fail (G_IS_OUTPUT_STREAM (base_stream), NULL); in g_buffered_output_stream_new()
366 "base-stream", base_stream, in g_buffered_output_stream_new()
382 g_buffered_output_stream_new_sized (GOutputStream *base_stream, in g_buffered_output_stream_new_sized() argument
387 g_return_val_if_fail (G_IS_OUTPUT_STREAM (base_stream), NULL); in g_buffered_output_stream_new_sized()
390 "base-stream", base_stream, in g_buffered_output_stream_new_sized()
403 GOutputStream *base_stream; in flush_buffer() local
410 base_stream = G_FILTER_OUTPUT_STREAM (stream)->base_stream; in flush_buffer()
412 g_return_val_if_fail (G_IS_OUTPUT_STREAM (base_stream), FALSE); in flush_buffer()
414 res = g_output_stream_write_all (base_stream, in flush_buffer()
[all …]
Dgfilteroutputstream.c163 filter_stream->base_stream = G_OUTPUT_STREAM (obj); in g_filter_output_stream_set_property()
191 g_value_set_object (value, filter_stream->base_stream); in g_filter_output_stream_get_property()
214 if (stream->base_stream) in g_filter_output_stream_dispose()
216 g_object_unref (stream->base_stream); in g_filter_output_stream_dispose()
217 stream->base_stream = NULL; in g_filter_output_stream_dispose()
240 return stream->base_stream; in g_filter_output_stream_get_base_stream()
298 nwritten = g_output_stream_write (filter_stream->base_stream, in g_filter_output_stream_write()
317 res = g_output_stream_flush (filter_stream->base_stream, in g_filter_output_stream_flush()
337 res = g_output_stream_close (filter_stream->base_stream, in g_filter_output_stream_close()
358 g_output_stream_write_async (filter_stream->base_stream, in g_filter_output_stream_write_async()
[all …]
Dgbufferedinputstream.c326 g_buffered_input_stream_new (GInputStream *base_stream) in g_buffered_input_stream_new() argument
330 g_return_val_if_fail (G_IS_INPUT_STREAM (base_stream), NULL); in g_buffered_input_stream_new()
333 "base-stream", base_stream, in g_buffered_input_stream_new()
350 g_buffered_input_stream_new_sized (GInputStream *base_stream, in g_buffered_input_stream_new_sized() argument
355 g_return_val_if_fail (G_IS_INPUT_STREAM (base_stream), NULL); in g_buffered_input_stream_new_sized()
358 "base-stream", base_stream, in g_buffered_input_stream_new_sized()
659 GInputStream *base_stream; in g_buffered_input_stream_real_fill() local
677 base_stream = G_FILTER_INPUT_STREAM (stream)->base_stream; in g_buffered_input_stream_real_fill()
678 nread = g_input_stream_read (base_stream, in g_buffered_input_stream_real_fill()
699 GInputStream *base_stream; in g_buffered_input_stream_skip() local
[all …]
Dgbufferedoutputstream.h70 GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream);
71 GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream,
Dgbufferedinputstream.h88 GInputStream* g_buffered_input_stream_new (GInputStream *base_stream);
89 GInputStream* g_buffered_input_stream_new_sized (GInputStream *base_stream,
Dgdataoutputstream.c160 g_data_output_stream_new (GOutputStream *base_stream) in g_data_output_stream_new() argument
164 g_return_val_if_fail (G_IS_OUTPUT_STREAM (base_stream), NULL); in g_data_output_stream_new()
167 "base-stream", base_stream, in g_data_output_stream_new()
Dgfilteroutputstream.h53 GOutputStream *base_stream; member
Dgfilterinputstream.h53 GInputStream *base_stream; member
Dgdataoutputstream.h75 GDataOutputStream * g_data_output_stream_new (GOutputStream *base_stream);
Dgdatainputstream.h73 …aInputStream * g_data_input_stream_new (GInputStream *base_stream);
Dgdatainputstream.c191 g_data_input_stream_new (GInputStream *base_stream) in g_data_input_stream_new() argument
195 g_return_val_if_fail (G_IS_INPUT_STREAM (base_stream), NULL); in g_data_input_stream_new()
198 "base-stream", base_stream, in g_data_input_stream_new()
/external/bluetooth/glib/gio/tests/
Ddata-input-stream.c44 GInputStream *base_stream; in test_read_lines() local
56 base_stream = g_memory_input_stream_new (); in test_read_lines()
57 g_assert (base_stream != NULL); in test_read_lines()
58 stream = G_INPUT_STREAM (g_data_input_stream_new (base_stream)); in test_read_lines()
74 g_memory_input_stream_add_data (G_MEMORY_INPUT_STREAM (base_stream), in test_read_lines()
78 test_seek_to_start (base_stream); in test_read_lines()
98 g_object_unref (base_stream); in test_read_lines()
125 GInputStream *base_stream; in test_read_until() local
137 base_stream = g_memory_input_stream_new (); in test_read_until()
138 stream = G_INPUT_STREAM (g_data_input_stream_new (base_stream)); in test_read_until()
[all …]
Ddata-output-stream.c36 GOutputStream *base_stream; in test_read_lines() local
52 base_stream = g_memory_output_stream_new (data, MAX_LINES_BUFF, NULL, NULL); in test_read_lines()
53 stream = G_OUTPUT_STREAM (g_data_output_stream_new (base_stream)); in test_read_lines()
78 g_object_unref (base_stream); in test_read_lines()
138 GOutputStream *base_stream; in test_data_array() local
151 base_stream = g_memory_output_stream_new (stream_data, len, NULL, NULL); in test_data_array()
152 stream = G_OUTPUT_STREAM (g_data_output_stream_new (base_stream)); in test_data_array()
246 g_object_unref (base_stream); in test_data_array()