/external/python/cpython2/Lib/ |
D | multifile.py | 41 seekable = 0 variable in MultiFile 43 def __init__(self, fp, seekable=1): argument 48 if seekable: 49 self.seekable = 1 105 if self.seekable: 129 if self.seekable: 137 if self.seekable: 150 if self.seekable:
|
D | chunk.py | 74 self.seekable = False 76 self.seekable = True 106 if not self.seekable: 154 if self.seekable:
|
D | rfc822.py | 88 def __init__(self, fp, seekable = 1): argument 90 if seekable == 1: 96 seekable = 0 98 self.seekable = seekable 102 if self.seekable: 106 self.seekable = 0 110 if self.seekable: 114 self.seekable = 0 118 if not self.seekable: 146 elif self.seekable: [all …]
|
D | mimetools.py | 24 def __init__(self, fp, seekable = 1): argument 25 rfc822.Message.__init__(self, fp, seekable)
|
D | _pyio.py | 371 def seekable(self): member in IOBase 382 if not self.seekable(): 749 def seekable(self): member in _BufferedIOMixin 750 return self.raw.seekable() 904 def seekable(self): member in BytesIO 1525 self._seekable = self._telling = self.buffer.seekable() 1570 def seekable(self): member in TextIOWrapper
|
/external/tremolo/Tremolo/ |
D | vorbisfile.c | 591 int link=(vf->seekable?vf->current_link:0); in _fetch_and_process_packet() 607 if(vf->seekable && link>0) in _fetch_and_process_packet() 675 if(vf->seekable){ in _fetch_and_process_packet() 748 if(offsettest!=-1)vf->seekable=1; in _ov_open1() 767 if(vf->seekable){ in _ov_open2() 862 return vf->seekable; in ov_seekable() 877 if(!vf->seekable && i!=0)return ov_bitrate(vf,0); in ov_bitrate() 889 if(vf->seekable){ in ov_bitrate() 927 if(!vf->seekable && i>=0)return ov_serialnumber(vf,-1); in ov_serialnumber() 942 if(!vf->seekable || i>=vf->links)return OV_EINVAL; in ov_raw_total() [all …]
|
D | ivorbisfile.h | 68 int seekable; member
|
/external/python/cpython3/Lib/ |
D | chunk.py | 74 self.seekable = False 76 self.seekable = True 106 if not self.seekable: 154 if self.seekable:
|
D | _compression.py | 28 if not self.seekable(): 63 def seekable(self): member in DecompressReader 64 return self._fp.seekable()
|
D | lzma.py | 168 def seekable(self): member in LZMAFile 170 return self.readable() and self._buffer.seekable()
|
D | bz2.py | 143 def seekable(self): member in BZ2File 145 return self.readable() and self._buffer.seekable()
|
D | _pyio.py | 389 def seekable(self): member in IOBase 400 if not self.seekable(): 792 def seekable(self): member in _BufferedIOMixin 793 return self.raw.seekable() 966 def seekable(self): member in BytesIO 1698 def seekable(self): member in FileIO 1974 self._seekable = self._telling = self.buffer.seekable() 2099 def seekable(self): member in TextIOWrapper
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 62 signed int seekable : 2; /* -1 means unknown */ member 184 self->seekable = -1; in fileio_new() 599 if (self->seekable < 0) { 602 assert(self->seekable >= 0); 610 return PyBool_FromLong((long) self->seekable); 915 if (self->seekable < 0) { 916 self->seekable = (res >= 0);
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 54 signed int seekable : 2; /* -1 means unknown */ member 132 self->seekable = -1; in fileio_new() 487 if (self->seekable < 0) { in fileio_seekable() 491 self->seekable = 0; in fileio_seekable() 494 self->seekable = 1; in fileio_seekable() 497 return PyBool_FromLong((long) self->seekable); in fileio_seekable()
|
/external/python/cpython2/Lib/test/ |
D | test_fileio.py | 229 f.seekable() 279 self.assertEqual(f.seekable(), True) 285 self.assertEqual(f.seekable(), True) 291 self.assertEqual(f.seekable(), True) 313 self.assertEqual(f.seekable(), False)
|
/external/python/cpython3/Doc/library/ |
D | wave.rst | 156 For seekable output streams, the ``wave`` header will automatically be updated 178 an exception if the output stream is not seekable and *nframes* does not 205 raise an error if the output stream is not seekable). 238 error if the output stream is not seekable and the total number of frames
|
/external/python/cpython3/Lib/test/ |
D | test_fileio.py | 299 f.seekable() 358 self.assertEqual(f.seekable(), True) 364 self.assertEqual(f.seekable(), True) 370 self.assertEqual(f.seekable(), True) 389 self.assertEqual(f.seekable(), False)
|
D | test_bz2.py | 393 self.assertTrue(bz2f.seekable()) 395 self.assertTrue(bz2f.seekable()) 398 self.assertRaises(ValueError, bz2f.seekable) 402 self.assertFalse(bz2f.seekable()) 405 self.assertRaises(ValueError, bz2f.seekable) 408 src.seekable = lambda: False 411 self.assertFalse(bz2f.seekable()) 414 self.assertRaises(ValueError, bz2f.seekable)
|
/external/python/cpython2/Doc/library/ |
D | multifile.rst | 22 .. class:: MultiFile(fp[, seekable]) 31 non-seekable stream object, set the optional *seekable* argument to false; this
|
D | mimetools.rst | 24 .. class:: Message(fp[, seekable]) 28 *seekable* argument has the same meaning as for :class:`rfc822.Message`.
|
/external/python/cpython2/Tools/versioncheck/ |
D | pyversioncheck.py | 56 msg = rfc822.Message(fp, seekable=0)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_run.py | 83 self.assertFalse(f.seekable()) 186 self.assertFalse(f.seekable())
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 104 buffer.seekable = out.seekable
|
/external/fonttools/Lib/fontTools/misc/ |
D | etree.py | 300 buf.seekable = file_or_filename.seekable
|
/external/python/cpython2/Lib/xml/sax/ |
D | saxutils.py | 96 buffer.seekable = out.seekable
|