/third_party/python/Lib/ |
H A D | chunk.py | 78 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.py | 28 if not self.seekable(): 63 def seekable(self): member in DecompressReader 64 return self._fp.seekable()
|
H A D | wave.py | 125 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 D | lzma.py | 168 def seekable(self): member in LZMAFile 170 return self.readable() and self._buffer.seekable()
|
H A D | bz2.py | 131 def seekable(self): member in BZ2File 133 return self.readable() and self._buffer.seekable()
|
/third_party/ffmpeg/tools/ |
H A D | target_dem_fuzzer.c | 114 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 D | sndfile.hh | 187 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 D | aio.c | 61 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 D | aio.c | 62 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 D | aio.c | 62 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 D | fileio.c | 65 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 D | avienc.c | 335 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 D | bintext.c | 185 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 D | file.c | 78 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 D | wavenc.c | 340 && (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 D | svs.c | 60 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) in svs_read_header()
|
H A D | cafdec.c | 326 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 D | rmenc.c | 124 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 D | adp.c | 61 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) in adp_read_header()
|
H A D | id3v1.c | 284 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in ff_id3v1_read()
|
H A D | wvenc.c | 67 if ((ctx->pb->seekable & AVIO_SEEKABLE_NORMAL) && s->samples && in wv_write_trailer()
|
H A D | rsoenc.c | 42 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 D | vc1testenc.c | 76 if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) { in vc1test_write_trailer()
|
/third_party/python/Lib/test/ |
H A D | test_fileio.py | 207 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 D | au.c | 166 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()
|