Home
last modified time | relevance | path

Searched refs:seekpos (Results 1 – 24 of 24) sorted by relevance

/third_party/libsnd/tests/
Dlossy_comp_test.c650 int k, m, seekpos, half_max_abs ; in lcomp_test_short() local
765 seekpos = BUFFER_SIZE / 10 ; in lcomp_test_short()
768 if ((k = sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_short()
769 { printf ("Seek to start of file + %d failed (%d).\n", seekpos, k) ; in lcomp_test_short()
775 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channels], margin)) in lcomp_test_short()
780 if ((k = sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_short()
781 …nLine %d: sf_seek (SEEK_CUR) with 0 offset failed (%d should be %d)\n", __LINE__, k, seekpos + 1) ; in lcomp_test_short()
785 seekpos = sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_short()
788 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channels], margin) || k != seekpos) in lcomp_test_short()
789 …hort failed (%d, %d) (%d, %d).\n", __LINE__, data [0], orig [seekpos * channels], k, seekpos + 1) ; in lcomp_test_short()
[all …]
Dfix_this.c80 sf_count_t datalen, seekpos ; in lcomp_test_int() local
216 seekpos = BUFFER_SIZE / 10 ; in lcomp_test_int()
219 if ((k = sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_int()
220 { printf ("Seek to start of file + %" PRId64 " failed (%d).\n", seekpos, k) ; in lcomp_test_int()
229 if (error_function ((double) data [0], (double) orig [seekpos], margin)) in lcomp_test_int()
234 if ((k = sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_int()
235 … sf_seek (SEEK_CUR) with 0 offset failed (%d should be %" PRId64 ")\n", __LINE__, k, seekpos + 1) ; in lcomp_test_int()
239 seekpos = sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_int()
242 if (error_function ((double) data [0], (double) orig [seekpos], margin) || k != seekpos) in lcomp_test_int()
243 …df_int failed (%d, %d) (%d, %" PRId64 ").\n", __LINE__, data [0], orig [seekpos], k, seekpos + 1) ; in lcomp_test_int()
[all …]
/third_party/optimized-routines/string/test/
Dstrchrnul.c54 test (const struct fun *fun, int align, int seekpos, int len) in test() argument
58 char *f = seekpos != -1 ? s + seekpos : s + len; in test()
64 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
73 if (seekpos != -1) in test()
74 s[seekpos] = seekchar; in test()
75 if (seekpos != -1 && (len + align) & 1) in test()
76 s[seekpos + 1] = seekchar; in test()
79 int mte_len = seekpos != -1 ? seekpos + 1 : len + 1; in test()
88 fun->name, s, seekchar, len, p, f, seekpos); in test()
Dstrrchr.c50 test (const struct fun *fun, int align, int seekpos, int len) in test() argument
54 char *f = seekpos != -1 ? s + seekpos : 0; in test()
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
69 if (seekpos != -1) in test()
70 s[seekpos / 2] = s[seekpos] = seekchar; in test()
71 if (seekpos > 0 && (len + align) & 1) in test()
72 s[seekpos - 1] = seekchar; in test()
83 fun->name, s, seekchar, len, p, f, seekpos); in test()
Dstrchr.c50 test (const struct fun *fun, int align, int seekpos, int len) in test() argument
54 char *f = seekpos != -1 ? s + seekpos : 0; in test()
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
69 if (seekpos != -1) in test()
70 s[seekpos] = seekchar; in test()
71 if (seekpos != -1 && (len + align) & 1) in test()
72 s[seekpos + 1] = seekchar; in test()
83 fun->name, s, seekchar, len, p, f, seekpos); in test()
Dmemchr.c52 test (const struct fun *fun, int align, size_t seekpos, size_t len, in test() argument
57 char *f = seekpos < maxlen ? s + seekpos : NULL; in test()
63 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
72 s[seekpos] = seekchar; in test()
73 s[((len ^ align) & 1) ? seekpos + 1 : len] = seekchar; in test()
75 int mte_len = seekpos != -1 ? seekpos + 1 : maxlen; in test()
Dmemrchr.c50 test (const struct fun *fun, int align, size_t seekpos, size_t len, in test() argument
55 char *f = seekpos < maxlen ? s + seekpos : NULL; in test()
61 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
70 s[seekpos] = seekchar; in test()
71 s[((len ^ align) & 1) && seekpos < maxlen ? seekpos - 1 : len] = seekchar; in test()
/third_party/boost/boost/iostreams/detail/streambuf/
Dchainbuf.hpp69 pos_type seekpos( pos_type sp, in seekpos() function in boost::iostreams::detail::chainbuf
72 { sentry t(this); return delegate().seekpos(sp, which); } in seekpos()
Dlinked_streambuf.hpp37 using base::sync; using base::seekoff; using base::seekpos; \
Ddirect_streambuf.hpp89 pos_type seekpos(pos_type sp, BOOST_IOS::openmode which);
195 direct_streambuf<T, Tr>::seekpos in seekpos() function in boost::iostreams::detail::direct_streambuf
Dindirect_streambuf.hpp92 pos_type seekpos(pos_type sp, BOOST_IOS::openmode which);
335 indirect_streambuf<T, Tr, Alloc, Mode>::seekpos in seekpos() function in boost::iostreams::detail::indirect_streambuf
/third_party/boost/boost/detail/
Dbasic_pointerbuf.hpp59 …inline typename this_type::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which) BOOST_OV…
123 basic_pointerbuf<charT, BufferT>::seekpos(pos_type sp, ::std::ios_base::openmode which) in seekpos() function in boost::detail::basic_pointerbuf
/third_party/boost/boost/iostreams/detail/
Dstreambuf.hpp31 # define BOOST_IOSTREAMS_PUBSEEKPOS seekpos
/third_party/boost/boost/format/
Dalt_sstream_impl.hpp26 seekpos(0, ::std::ios_base::out); in clear_buffer()
31 seekpos(0, ::std::ios_base::in); in clear_buffer()
147 seekpos (pos_type pos, ::std::ios_base::openmode which) { in seekpos() function in boost::io::basic_altstringbuf
Dalt_sstream.hpp103 virtual pos_type seekpos (pos_type pos,
/third_party/boost/libs/config/test/
Dboost_no_std_wstreambuf.ipp33 …typename parser_buf<charT, traits>::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which);
85 parser_buf<charT, traits>::seekpos(pos_type sp, ::std::ios_base::openmode which)
/third_party/boost/boost/iostreams/
Dpositioning.hpp96 return pos.seekpos(); in streampos_to_fpos_t()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c4568 gint64 start, stop, seekpos, seekstop; in gst_base_parse_handle_seek() local
4654 seekpos = gst_base_parse_find_offset (parse, startpos, TRUE, &start_ts); in gst_base_parse_handle_seek()
4667 GST_FORMAT_BYTES, &seekpos)) in gst_base_parse_handle_seek()
4676 start_ts, seekpos); in gst_base_parse_handle_seek()
4747 seekpos = scanpos; in gst_base_parse_handle_seek()
4757 if (seekpos != parse->priv->offset) { in gst_base_parse_handle_seek()
4760 parse->priv->offset = seekpos; in gst_base_parse_handle_seek()
4761 parse->priv->last_offset = seekpos; in gst_base_parse_handle_seek()
4768 parse->priv->sync_offset = seekpos; in gst_base_parse_handle_seek()
4789 if (seekstop >= 0 && seekstop <= seekpos) in gst_base_parse_handle_seek()
[all …]
/third_party/ffmpeg/libavformat/
Dmxfdec.c3798 int64_t seekpos; in mxf_read_seek() local
3818 seekpos = avio_seek(s->pb, (s->bit_rate * seconds) >> 3, SEEK_SET); in mxf_read_seek()
3819 if (seekpos < 0) in mxf_read_seek()
3820 return seekpos; in mxf_read_seek()
3872 …lute_offset(mxf, t, sample_time, source_track->edit_rate, &sample_time, &seekpos, &partition, 1)) … in mxf_read_seek()
3878 if (seekpos < klv.next_klv - klv.length || seekpos >= klv.next_klv) { in mxf_read_seek()
3886 avio_seek(s->pb, seekpos, SEEK_SET); in mxf_read_seek()
3896 mxf_get_next_track_edit_unit(mxf, cur_track, seekpos, &track_edit_unit); in mxf_read_seek()
/third_party/boost/boost/nowide/
Dfilebuf.hpp345 std::streampos seekpos(std::streampos pos, in seekpos() function in boost::nowide::basic_filebuf
/third_party/boost/boost/interprocess/streams/
Dbufferstream.hpp248 virtual pos_type seekpos(pos_type pos, std::ios_base::openmode mode in seekpos() function in boost::interprocess::basic_bufferbuf
Dvectorstream.hpp359 virtual pos_type seekpos(pos_type pos, std::ios_base::openmode mode in seekpos() function in boost::interprocess::basic_vectorbuf
/third_party/boost/boost/regex/v4/
Dcpp_regex_traits.hpp93 …typename parser_buf<charT, traits>::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which);
156 parser_buf<charT, traits>::seekpos(pos_type sp, ::std::ios_base::openmode which) in seekpos() function in boost::BOOST_REGEX_DETAIL_NS::parser_buf
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-demux.c2783 guint64 seekpos; in gst_matroska_demux_handle_seek_event() local
2898 seekpos = seeksegment.position; in gst_matroska_demux_handle_seek_event()
2900 seekpos -= MIN (seeksegment.position, demux->audio_lead_in_ts); in gst_matroska_demux_handle_seek_event()
2905 seekpos, &demux->seek_index, &demux->seek_entry, in gst_matroska_demux_handle_seek_event()
2972 entry = gst_matroska_demux_search_pos (demux, seekpos); in gst_matroska_demux_handle_seek_event()