Home
last modified time | relevance | path

Searched refs:seekpos (Results 1 - 9 of 9) sorted by relevance

/third_party/libsnd/tests/
H A Dlossy_comp_test.c652 int k, m, seekpos, half_max_abs ; in lcomp_test_short() local
768 seekpos = BUFFER_SIZE / 10 ; in lcomp_test_short()
771 if ((k = (int) sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_short()
772 { printf ("Seek to start of file + %d failed (%d).\n", seekpos, k) ; in lcomp_test_short()
778 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channels], margin)) in lcomp_test_short()
783 if ((k = (int) sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_short()
784 { printf ("\n\nLine %d: sf_seek (SEEK_CUR) with 0 offset failed (%d should be %d)\n", __LINE__, k, seekpos + 1) ; in lcomp_test_short()
788 seekpos = (int) sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_short()
791 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channel in lcomp_test_short()
840 sf_count_t datalen, seekpos ; lcomp_test_int() local
1037 int k, m, seekpos ; lcomp_test_float() local
1232 int k, m, seekpos ; lcomp_test_double() local
1428 int k, m, seekpos, half_max_abs ; sdlcomp_test_short() local
1648 int k, m, seekpos, half_max_abs ; sdlcomp_test_int() local
1872 int k, m, seekpos ; sdlcomp_test_float() local
2119 int k, m, seekpos ; sdlcomp_test_double() local
[all...]
H A 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 { printf ("Line %d: 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], margi in lcomp_test_int()
[all...]
/third_party/optimized-routines/string/test/
H A 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 in test()
[all...]
H A 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()
[all...]
H A 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()
H A 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()
H A 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/ffmpeg/libavformat/
H A Dmxfdec.c4105 int64_t seekpos; in mxf_read_seek() local
4125 seekpos = avio_seek(s->pb, (s->bit_rate * seconds) >> 3, SEEK_SET); in mxf_read_seek()
4126 if (seekpos < 0) in mxf_read_seek()
4127 return seekpos; in mxf_read_seek()
4179 if ((ret = mxf_edit_unit_absolute_offset(mxf, t, sample_time, source_track->edit_rate, &sample_time, &seekpos, &partition, 1)) < 0) in mxf_read_seek()
4185 if (seekpos < klv.next_klv - klv.length || seekpos >= klv.next_klv) { in mxf_read_seek()
4193 avio_seek(s->pb, seekpos, SEEK_SET); in mxf_read_seek()
4203 mxf_get_next_track_edit_unit(mxf, cur_track, seekpos, &track_edit_unit); in mxf_read_seek()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp26839 { return this->seekpos(__sp, __mode); }
27003 seekpos(pos_type,
[all...]

Completed in 35 milliseconds