/third_party/glib/gio/ |
D | gseekable.c | 65 g_seekable_tell (GSeekable *seekable) in g_seekable_tell() argument 69 g_return_val_if_fail (G_IS_SEEKABLE (seekable), 0); in g_seekable_tell() 71 iface = G_SEEKABLE_GET_IFACE (seekable); in g_seekable_tell() 73 return (* iface->tell) (seekable); in g_seekable_tell() 85 g_seekable_can_seek (GSeekable *seekable) in g_seekable_can_seek() argument 89 g_return_val_if_fail (G_IS_SEEKABLE (seekable), FALSE); in g_seekable_can_seek() 91 iface = G_SEEKABLE_GET_IFACE (seekable); in g_seekable_can_seek() 93 return (* iface->can_seek) (seekable); in g_seekable_can_seek() 125 g_seekable_seek (GSeekable *seekable, in g_seekable_seek() argument 133 g_return_val_if_fail (G_IS_SEEKABLE (seekable), FALSE); in g_seekable_seek() [all …]
|
D | gfileiostream.c | 64 static goffset g_file_io_stream_seekable_tell (GSeekable *seekable); 65 static gboolean g_file_io_stream_seekable_can_seek (GSeekable *seekable); 66 static gboolean g_file_io_stream_seekable_seek (GSeekable *seekable, 71 static gboolean g_file_io_stream_seekable_can_truncate (GSeekable *seekable); 72 static gboolean g_file_io_stream_seekable_truncate (GSeekable *seekable, 328 g_file_io_stream_seekable_tell (GSeekable *seekable) in g_file_io_stream_seekable_tell() argument 330 return g_file_io_stream_tell (G_FILE_IO_STREAM (seekable)); in g_file_io_stream_seekable_tell() 355 g_file_io_stream_seekable_can_seek (GSeekable *seekable) in g_file_io_stream_seekable_can_seek() argument 357 return g_file_io_stream_can_seek (G_FILE_IO_STREAM (seekable)); in g_file_io_stream_seekable_can_seek() 400 g_file_io_stream_seekable_seek (GSeekable *seekable, in g_file_io_stream_seekable_seek() argument [all …]
|
D | gseekable.h | 61 goffset (* tell) (GSeekable *seekable); 63 gboolean (* can_seek) (GSeekable *seekable); 64 gboolean (* seek) (GSeekable *seekable, 70 gboolean (* can_truncate) (GSeekable *seekable); 71 gboolean (* truncate_fn) (GSeekable *seekable, 83 goffset g_seekable_tell (GSeekable *seekable); 85 gboolean g_seekable_can_seek (GSeekable *seekable); 87 gboolean g_seekable_seek (GSeekable *seekable, 93 gboolean g_seekable_can_truncate (GSeekable *seekable); 95 gboolean g_seekable_truncate (GSeekable *seekable,
|
D | gfileoutputstream.c | 56 static goffset g_file_output_stream_seekable_tell (GSeekable *seekable); 57 static gboolean g_file_output_stream_seekable_can_seek (GSeekable *seekable); 58 static gboolean g_file_output_stream_seekable_seek (GSeekable *seekable, 63 static gboolean g_file_output_stream_seekable_can_truncate (GSeekable *seekable); 64 static gboolean g_file_output_stream_seekable_truncate (GSeekable *seekable, 320 g_file_output_stream_seekable_tell (GSeekable *seekable) in g_file_output_stream_seekable_tell() argument 322 return g_file_output_stream_tell (G_FILE_OUTPUT_STREAM (seekable)); in g_file_output_stream_seekable_tell() 347 g_file_output_stream_seekable_can_seek (GSeekable *seekable) in g_file_output_stream_seekable_can_seek() argument 349 return g_file_output_stream_can_seek (G_FILE_OUTPUT_STREAM (seekable)); in g_file_output_stream_seekable_can_seek() 392 g_file_output_stream_seekable_seek (GSeekable *seekable, in g_file_output_stream_seekable_seek() argument [all …]
|
D | gdataoutputstream.c | 62 static goffset g_data_output_stream_tell (GSeekable *seekable); 63 static gboolean g_data_output_stream_can_seek (GSeekable *seekable); 64 static gboolean g_data_output_stream_seek (GSeekable *seekable, 69 static gboolean g_data_output_stream_can_truncate (GSeekable *seekable); 70 static gboolean g_data_output_stream_truncate (GSeekable *seekable, 527 g_data_output_stream_tell (GSeekable *seekable) in g_data_output_stream_tell() argument 532 base_stream = G_FILTER_OUTPUT_STREAM (seekable)->base_stream; in g_data_output_stream_tell() 540 g_data_output_stream_can_seek (GSeekable *seekable) in g_data_output_stream_can_seek() argument 544 base_stream = G_FILTER_OUTPUT_STREAM (seekable)->base_stream; in g_data_output_stream_can_seek() 549 g_data_output_stream_seek (GSeekable *seekable, in g_data_output_stream_seek() argument [all …]
|
D | gfileinputstream.c | 51 static goffset g_file_input_stream_seekable_tell (GSeekable *seekable); 52 static gboolean g_file_input_stream_seekable_can_seek (GSeekable *seekable); 53 static gboolean g_file_input_stream_seekable_seek (GSeekable *seekable, 58 static gboolean g_file_input_stream_seekable_can_truncate (GSeekable *seekable); 59 static gboolean g_file_input_stream_seekable_truncate (GSeekable *seekable, 274 g_file_input_stream_seekable_tell (GSeekable *seekable) in g_file_input_stream_seekable_tell() argument 276 return g_file_input_stream_tell (G_FILE_INPUT_STREAM (seekable)); in g_file_input_stream_seekable_tell() 301 g_file_input_stream_seekable_can_seek (GSeekable *seekable) in g_file_input_stream_seekable_can_seek() argument 303 return g_file_input_stream_can_seek (G_FILE_INPUT_STREAM (seekable)); in g_file_input_stream_seekable_can_seek() 346 g_file_input_stream_seekable_seek (GSeekable *seekable, in g_file_input_stream_seekable_seek() argument [all …]
|
D | gbufferedoutputstream.c | 109 static goffset g_buffered_output_stream_tell (GSeekable *seekable); 110 static gboolean g_buffered_output_stream_can_seek (GSeekable *seekable); 111 static gboolean g_buffered_output_stream_seek (GSeekable *seekable, 116 static gboolean g_buffered_output_stream_can_truncate (GSeekable *seekable); 117 static gboolean g_buffered_output_stream_truncate (GSeekable *seekable, 527 g_buffered_output_stream_tell (GSeekable *seekable) in g_buffered_output_stream_tell() argument 535 bstream = G_BUFFERED_OUTPUT_STREAM (seekable); in g_buffered_output_stream_tell() 538 base_stream = G_FILTER_OUTPUT_STREAM (seekable)->base_stream; in g_buffered_output_stream_tell() 549 g_buffered_output_stream_can_seek (GSeekable *seekable) in g_buffered_output_stream_can_seek() argument 553 base_stream = G_FILTER_OUTPUT_STREAM (seekable)->base_stream; in g_buffered_output_stream_can_seek() [all …]
|
D | gmemoryinputstream.c | 82 static goffset g_memory_input_stream_tell (GSeekable *seekable); 83 static gboolean g_memory_input_stream_can_seek (GSeekable *seekable); 84 static gboolean g_memory_input_stream_seek (GSeekable *seekable, 89 static gboolean g_memory_input_stream_can_truncate (GSeekable *seekable); 90 static gboolean g_memory_input_stream_truncate (GSeekable *seekable, 425 g_memory_input_stream_tell (GSeekable *seekable) in g_memory_input_stream_tell() argument 430 memory_stream = G_MEMORY_INPUT_STREAM (seekable); in g_memory_input_stream_tell() 437 gboolean g_memory_input_stream_can_seek (GSeekable *seekable) in g_memory_input_stream_can_seek() argument 443 g_memory_input_stream_seek (GSeekable *seekable, in g_memory_input_stream_seek() argument 453 memory_stream = G_MEMORY_INPUT_STREAM (seekable); in g_memory_input_stream_seek() [all …]
|
D | gmemoryoutputstream.c | 100 static goffset g_memory_output_stream_tell (GSeekable *seekable); 101 static gboolean g_memory_output_stream_can_seek (GSeekable *seekable); 102 static gboolean g_memory_output_stream_seek (GSeekable *seekable, 107 static gboolean g_memory_output_stream_can_truncate (GSeekable *seekable); 108 static gboolean g_memory_output_stream_truncate (GSeekable *seekable, 716 g_memory_output_stream_tell (GSeekable *seekable) in g_memory_output_stream_tell() argument 721 stream = G_MEMORY_OUTPUT_STREAM (seekable); in g_memory_output_stream_tell() 728 g_memory_output_stream_can_seek (GSeekable *seekable) in g_memory_output_stream_can_seek() argument 734 g_memory_output_stream_seek (GSeekable *seekable, in g_memory_output_stream_seek() argument 744 stream = G_MEMORY_OUTPUT_STREAM (seekable); in g_memory_output_stream_seek() [all …]
|
D | gbufferedinputstream.c | 117 static goffset g_buffered_input_stream_tell (GSeekable *seekable); 118 static gboolean g_buffered_input_stream_can_seek (GSeekable *seekable); 119 static gboolean g_buffered_input_stream_seek (GSeekable *seekable, 124 static gboolean g_buffered_input_stream_can_truncate (GSeekable *seekable); 125 static gboolean g_buffered_input_stream_truncate (GSeekable *seekable, 840 g_buffered_input_stream_tell (GSeekable *seekable) in g_buffered_input_stream_tell() argument 849 bstream = G_BUFFERED_INPUT_STREAM (seekable); in g_buffered_input_stream_tell() 852 base_stream = G_FILTER_INPUT_STREAM (seekable)->base_stream; in g_buffered_input_stream_tell() 864 g_buffered_input_stream_can_seek (GSeekable *seekable) in g_buffered_input_stream_can_seek() argument 868 base_stream = G_FILTER_INPUT_STREAM (seekable)->base_stream; in g_buffered_input_stream_can_seek() [all …]
|
/third_party/glib/gio/tests/ |
D | data-output-stream.c | 308 GSeekable *seekable; in test_seek() local 321 seekable = G_SEEKABLE (stream); in test_seek() 322 g_assert (!g_seekable_can_truncate (seekable)); in test_seek() 326 g_assert_cmpint (g_seekable_tell (seekable), ==, 0); in test_seek() 331 g_assert_cmpint (g_seekable_tell (seekable), ==, 4); in test_seek() 339 res = g_seekable_seek (seekable, 2, G_SEEK_CUR, NULL, &error); in test_seek() 342 g_assert_cmpint (g_seekable_tell (seekable), ==, 6); in test_seek() 346 g_assert_cmpint (g_seekable_tell (seekable), ==, 8); in test_seek() 358 res = g_seekable_seek (seekable, -3, G_SEEK_CUR, NULL, &error); in test_seek() 361 g_assert_cmpint (g_seekable_tell (seekable), ==, 5); in test_seek() [all …]
|
D | buffered-output-stream.c | 125 GSeekable *seekable; in test_seek() local 133 seekable = G_SEEKABLE (out); in test_seek() 146 ret = g_seekable_seek (seekable, 2, G_SEEK_CUR, NULL, &error); in test_seek() 161 ret = g_seekable_seek (seekable, -4, G_SEEK_CUR, NULL, &error); in test_seek() 178 ret = g_seekable_seek (seekable, 2, G_SEEK_SET, NULL, &error); in test_seek() 197 ret = g_seekable_seek (seekable, 6 - 30, G_SEEK_END, NULL, &error); in test_seek() 238 GSeekable *seekable; in test_truncate() local 251 seekable = G_SEEKABLE (stream); in test_truncate() 253 g_assert (g_seekable_can_truncate (seekable)); in test_truncate() 280 res = g_seekable_truncate (seekable, 4, NULL, &error); in test_truncate() [all …]
|
/third_party/boost/boost/iostreams/ |
D | categories.hpp | 33 struct seekable struct 68 struct seekable_device_tag : virtual device_tag, seekable { }; 73 struct seekable_filter_tag : filter_tag, seekable { }; 131 : seekable, 136 : seekable, 165 : seekable, 169 : seekable,
|
/third_party/boost/libs/iostreams/test/ |
D | close_test.cpp | 108 ch.push(closable_filter<seekable>(seq.new_operation(1))); in input_chain_test() 109 ch.push(closable_device<seekable>(seq.new_operation(2))); in input_chain_test() 115 ch.push(closable_device<seekable>(seq.new_operation(2))); in input_chain_test() 121 ch.push(closable_device<seekable>(seq.new_operation(2))); in input_chain_test() 320 ch.push(closable_filter<seekable>(seq.new_operation(1))); in output_chain_test() 321 ch.push(closable_device<seekable>(seq.new_operation(2))); in output_chain_test() 327 ch.push(closable_device<seekable>(seq.new_operation(2))); in output_chain_test() 333 ch.push(closable_device<seekable>(seq.new_operation(2))); in output_chain_test() 552 filtering_streambuf<seekable> ch; in seekable_chain_test() 555 ch.push(closable_filter<seekable>(seq.new_operation(1))); in seekable_chain_test() [all …]
|
D | read_seekable_seq_test.hpp | 31 filtering_stream<seekable> first(make_iterator_range(seq), 0); in read_seekable_sequence_test() 41 filtering_stream<seekable> first(make_iterator_range(seq), 0); in read_seekable_sequence_test() 51 filtering_stream<seekable> first(make_iterator_range(seq)); in read_seekable_sequence_test() 61 filtering_stream<seekable> first(make_iterator_range(seq)); in read_seekable_sequence_test()
|
D | read_seekable_test.hpp | 29 filtering_stream<seekable> first(file(test1.name(), in_mode), 0); in read_seekable_test() 39 filtering_stream<seekable> first(file(test1.name(), in_mode), 0); in read_seekable_test() 49 filtering_stream<seekable> first(file(test1.name(), in_mode)); in read_seekable_test() 59 filtering_stream<seekable> first(file(test1.name(), in_mode)); in read_seekable_test()
|
D | write_seekable_seq_test.hpp | 32 filtering_stream<seekable> out(make_iterator_range(first), 0); in write_seekable_sequence_test() 44 filtering_stream<seekable> out(make_iterator_range(first), 0); in write_seekable_sequence_test() 56 filtering_stream<seekable> out(make_iterator_range(first)); in write_seekable_sequence_test() 68 filtering_stream<seekable> out(make_iterator_range(first)); in write_seekable_sequence_test()
|
D | write_seekable_test.hpp | 30 filtering_stream<seekable> out(file(test2.name(), mode), 0); in write_seekable_test() 42 filtering_stream<seekable> out(file(test2.name(), mode), 0); in write_seekable_test() 54 filtering_stream<seekable> out(file(test2.name(), mode)); in write_seekable_test() 66 filtering_stream<seekable> out(file(test2.name(), mode)); in write_seekable_test()
|
D | compose_test.cpp | 148 closable_filter<seekable>(seq.new_operation(2)), in close_composite_device() 211 closable_filter<seekable>(seq.new_operation(1)), in close_composite_device() 260 chain<seekable> ch; in close_composite_device() 263 closable_filter<seekable>(seq.new_operation(1)), in close_composite_device() 264 closable_device<seekable>(seq.new_operation(2)) in close_composite_device() 313 closable_filter<seekable>(seq.new_operation(3)), in close_composite_filter() 380 closable_filter<seekable>(seq.new_operation(1)), in close_composite_filter() 437 chain<seekable> ch; in close_composite_filter() 440 closable_filter<seekable>(seq.new_operation(1)), in close_composite_filter() 441 closable_filter<seekable>(seq.new_operation(2)) in close_composite_filter() [all …]
|
D | seekable_filter_test.cpp | 39 filtering_stream<seekable> io; in seekable_filter_test() 51 filtering_stream<seekable> io; in seekable_filter_test() 63 filtering_stream<seekable> io; in seekable_filter_test() 75 filtering_stream<seekable> io; in seekable_filter_test()
|
D | restrict_test.cpp | 468 filtering_stream<seekable> io( in seek_device() 479 filtering_stream<seekable> io( in seek_device() 496 filtering_stream<seekable> io(BOOST_IOSTREAMS_RESTRICT(ar, off, len)); in seek_direct_device() 508 filtering_stream<seekable> io(BOOST_IOSTREAMS_RESTRICT(ar, off)); in seek_direct_device() 523 filtering_stream<seekable> io; in seek_filter() 535 filtering_stream<seekable> io; in seek_filter() 564 chain<seekable> ch; in close_device() 567 closable_device<seekable>(seq.new_operation(1)), in close_device() 592 chain<seekable> ch; in close_device() 624 chain<seekable> ch; in close_filter() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/seek/ |
D | jsseek.c | 212 GstPad *seekable; in make_mod_pipeline() local 230 seekable = gst_element_get_static_pad (decoder, "src"); in make_mod_pipeline() 231 seekable_pads = g_list_prepend (seekable_pads, seekable); in make_mod_pipeline() 232 rate_pads = g_list_prepend (rate_pads, seekable); in make_mod_pipeline() 245 GstPad *seekable; in make_dv_pipeline() local 277 seekable = gst_element_get_static_pad (decoder, "src"); in make_dv_pipeline() 278 seekable_pads = g_list_prepend (seekable_pads, seekable); in make_dv_pipeline() 279 rate_pads = g_list_prepend (rate_pads, seekable); in make_dv_pipeline() 320 GstPad *seekable; in make_flac_pipeline() local 338 seekable = gst_element_get_static_pad (decoder, "src"); in make_flac_pipeline() [all …]
|
/third_party/gstreamer/gstreamer/tests/check/elements/ |
D | fdsrc.c | 132 gboolean seekable; in GST_START_TEST() local 154 gst_query_parse_seeking (seeking_query, NULL, &seekable, NULL, NULL); in GST_START_TEST() 155 fail_unless (seekable == FALSE); in GST_START_TEST() 174 gboolean seekable; in GST_START_TEST() local 191 gst_query_parse_seeking (seeking_query, NULL, &seekable, NULL, NULL); in GST_START_TEST() 192 fail_unless (seekable == TRUE); in GST_START_TEST()
|
/third_party/python/Lib/ |
D | chunk.py | 74 self.seekable = False 76 self.seekable = True 106 if not self.seekable: 154 if self.seekable:
|
/third_party/gstreamer/gstplugins_base/gst/gio/ |
D | gstgiobasesrc.c | 210 GSeekable *seekable = G_SEEKABLE (src->stream); in gst_gio_base_src_get_size() local 213 old = g_seekable_tell (seekable); in gst_gio_base_src_get_size() 215 ret = g_seekable_seek (seekable, 0, G_SEEK_END, src->cancel, &err); in gst_gio_base_src_get_size() 231 stream_size = g_seekable_tell (seekable); in gst_gio_base_src_get_size() 233 ret = g_seekable_seek (seekable, old, G_SEEK_SET, src->cancel, &err); in gst_gio_base_src_get_size() 261 gboolean seekable; in gst_gio_base_src_is_seekable() local 263 seekable = GST_GIO_STREAM_IS_SEEKABLE (src->stream); in gst_gio_base_src_is_seekable() 265 GST_DEBUG_OBJECT (src, "can seek: %d", seekable); in gst_gio_base_src_is_seekable() 267 return seekable; in gst_gio_base_src_is_seekable()
|