Home
last modified time | relevance | path

Searched refs:seekable (Results 1 - 25 of 150) sorted by relevance

123456

/third_party/python/Lib/
H A Dchunk.py78 self.seekable = False
80 self.seekable = True
105 If the file is not seekable, this will result in an error.
110 if not self.seekable:
158 if self.seekable:
H A D_compression.py28 if not self.seekable():
63 def seekable(self): member in DecompressReader
64 return self._fp.seekable()
H A Dwave.py125 self.seekable = False
127 self.seekable = True
143 If the file is not seekable, this will result in an error.
148 if not self.seekable:
196 if self.seekable:
H A Dlzma.py168 def seekable(self): member in LZMAFile
170 return self.readable() and self._buffer.seekable()
H A Dbz2.py131 def seekable(self): member in BZ2File
133 return self.readable() and self._buffer.seekable()
/third_party/ffmpeg/tools/
H A Dtarget_dem_fuzzer.c114 int seekable = 0; in LLVMFuzzerTestOneInput() local
133 seekable = 1; in LLVMFuzzerTestOneInput()
146 seekable = flags & 1; in LLVMFuzzerTestOneInput()
195 io_read, NULL, seekable ? io_seek : NULL); in LLVMFuzzerTestOneInput()
/third_party/libsnd/include/
H A Dsndfile.hh187 p->sfinfo.seekable = 0 ; in SndfileHandle()
209 p->sfinfo.seekable = 0 ; in SndfileHandle()
234 p->sfinfo.seekable = 0 ; in SndfileHandle()
256 p->sfinfo.seekable = 0 ; in SndfileHandle()
331 sfinfo.seekable = 0 ; in formatCheck()
443 p->sfinfo.seekable = 0 ; in SndfileHandle()
/third_party/musl/porting/linux/user/src/aio/
H A Daio.c61 int fd, seekable, append, ref, init; member
237 int seekable = lseek(fd, 0, SEEK_CUR) >= 0; in io_thread_func() local
238 q->seekable = seekable; in io_thread_func()
239 q->append = !seekable || (fcntl(fd, F_GETFL) & O_APPEND); in io_thread_func()
261 ret = !q->seekable ? read(fd, buf, len) : pread(fd, buf, len, off); in io_thread_func()
/third_party/musl/porting/liteos_a/user/src/aio/
H A Daio.c62 int fd, seekable, append, ref, init; member
235 int seekable = lseek(fd, 0, SEEK_CUR) >= 0; in io_thread_func() local
236 q->seekable = seekable; in io_thread_func()
237 q->append = !seekable || (fcntl(fd, F_GETFL) & O_APPEND); in io_thread_func()
259 ret = !q->seekable ? read(fd, buf, len) : pread(fd, buf, len, off); in io_thread_func()
/third_party/musl/src/aio/
H A Daio.c62 int fd, seekable, append, ref, init; member
244 int seekable = lseek(fd, 0, SEEK_CUR) >= 0; in io_thread_func() local
245 q->seekable = seekable; in io_thread_func()
246 q->append = !seekable || (fcntl(fd, F_GETFL) & O_APPEND); in io_thread_func()
268 ret = !q->seekable ? read(fd, buf, len) : pread(fd, buf, len, off); in io_thread_func()
/third_party/python/Modules/_io/
H A Dfileio.c65 signed int seekable : 2; /* -1 means unknown */ member
184 self->seekable = -1; in fileio_new()
602 _io.FileIO.seekable
613 if (self->seekable < 0) {
614 /* portable_lseek() sets the seekable attribute */
616 assert(self->seekable >= 0);
624 return PyBool_FromLong((long) self->seekable);
925 if (self->seekable < 0) {
926 self->seekable = (res >= 0);
958 Note that not all file objects are seekable
[all...]
/third_party/ffmpeg/libavformat/
H A Davienc.c335 if (!(pb->seekable & AVIO_SEEKABLE_NORMAL)) in avi_write_header()
413 if (!(pb->seekable & AVIO_SEEKABLE_NORMAL)) in avi_write_header()
504 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in avi_write_header()
564 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in avi_write_header()
636 av_assert0(pb->seekable & AVIO_SEEKABLE_NORMAL); in avi_write_ix()
694 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in avi_write_idx1()
805 if ((pb->seekable & AVIO_SEEKABLE_NORMAL) && avist->pal_offset) { in avi_write_packet()
820 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in avi_write_packet()
876 if ((pb->seekable & AVIO_SEEKABLE_NORMAL) && in avi_write_packet_internal()
894 if (s->pb->seekable in avi_write_packet_internal()
[all...]
H A Dbintext.c185 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in bintext_read_header()
246 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in xbin_read_header()
285 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in adf_read_header()
321 if (!(pb->seekable & AVIO_SEEKABLE_NORMAL)) in idf_read_header()
H A Dfile.c78 int seekable; member
88 { "seekable", "Sets if the file is seekable", offsetof(FileContext, seekable), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 0, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
241 if (c->seekable >= 0) in file_open()
242 h->is_streamed = !c->seekable; in file_open()
H A Dwavenc.c340 && (s->pb->seekable & AVIO_SEEKABLE_NORMAL)) { in wav_write_header()
419 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in wav_write_trailer()
568 && (s->pb->seekable & AVIO_SEEKABLE_NORMAL)) { in w64_write_header()
585 if (pb->seekable & AVIO_SEEKABLE_NORMAL) { in w64_write_trailer()
H A Dsvs.c60 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) in svs_read_header()
H A Dcafdec.c326 if (found_data && (caf->data_size < 0 || !(pb->seekable & AVIO_SEEKABLE_NORMAL))) in read_header()
340 if (caf->data_size > 0 && (pb->seekable & AVIO_SEEKABLE_NORMAL)) in read_header()
378 if (size > 0 && (pb->seekable & AVIO_SEEKABLE_NORMAL)) { in read_header()
H A Drmenc.c124 if (!(s->seekable & AVIO_SEEKABLE_NORMAL)) in rv10_write_header()
176 if (!(s->seekable & AVIO_SEEKABLE_NORMAL) || !stream->total_frames) in rv10_write_header()
443 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in rm_write_trailer()
H A Dadp.c61 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) in adp_read_header()
H A Did3v1.c284 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in ff_id3v1_read()
H A Dwvenc.c67 if ((ctx->pb->seekable & AVIO_SEEKABLE_NORMAL) && s->samples && in wv_write_trailer()
H A Drsoenc.c42 if (!(s->pb->seekable & AVIO_SEEKABLE_NORMAL)) { in rso_write_header()
43 av_log(s, AV_LOG_ERROR, "muxer does not support non seekable output\n"); in rso_write_header()
H A Dvc1testenc.c76 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in vc1test_write_trailer()
/third_party/python/Lib/test/
H A Dtest_fileio.py207 methods = ['fileno', 'isatty', 'seekable', 'readable', 'writable',
306 f.seekable()
365 self.assertEqual(f.seekable(), True)
371 self.assertEqual(f.seekable(), True)
377 self.assertEqual(f.seekable(), True)
395 # Somehow /dev/tty appears seekable on some BSDs
396 self.assertEqual(f.seekable(), False)
/third_party/libsnd/src/
H A Dau.c166 psf->sf.seekable = SF_FALSE ; in au_open()
171 psf->sf.seekable = SF_FALSE ; in au_open()
176 psf->sf.seekable = SF_FALSE ; in au_open()

Completed in 16 milliseconds

123456