Lines Matching refs:base_stream
44 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()
141 g_memory_input_stream_add_data (G_MEMORY_INPUT_STREAM (base_stream), DATA_STRING, -1, NULL); in test_read_until()
162 g_object_unref (base_stream); in test_read_until()
187 test_data_array (GInputStream *stream, GInputStream *base_stream, in test_data_array() argument
199 test_seek_to_start (base_stream); in test_data_array()
278 GInputStream *base_stream; in test_read_int() local
295 base_stream = g_memory_input_stream_new (); in test_read_int()
296 stream = G_INPUT_STREAM (g_data_input_stream_new (base_stream)); in test_read_int()
297 g_memory_input_stream_add_data (G_MEMORY_INPUT_STREAM (base_stream), buffer, MAX_BYTES, NULL); in test_read_int()
306 test_data_array (stream, base_stream, buffer, MAX_BYTES, j, i); in test_read_int()
309 g_object_unref (base_stream); in test_read_int()