/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 | 147 def seekable(self): member in BZ2File 149 return self.readable() and self._buffer.seekable()
|
D | _pyio.py | 392 def seekable(self): member in IOBase 403 if not self.seekable(): 790 def seekable(self): member in _BufferedIOMixin 791 return self.raw.seekable() 953 def seekable(self): member in BytesIO 1670 def seekable(self): member in FileIO 1959 self._seekable = self._telling = self.buffer.seekable() 2014 def seekable(self): member in TextIOWrapper
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 69 signed int seekable : 2; /* -1 means unknown */ member 193 self->seekable = -1; in fileio_new() 609 if (self->seekable < 0) { 613 self->seekable = 0; 616 self->seekable = 1; 619 return PyBool_FromLong((long) self->seekable);
|
D | textio.c | 44 _Py_IDENTIFIER(seekable); 648 char seekable; member 1066 self->seekable = self->telling = r; in _io_TextIOWrapper___init___impl() 1071 if (self->seekable && self->encoder) { in _io_TextIOWrapper___init___impl() 2071 if (!self->seekable) { in _io_TextIOWrapper_seek_impl() 2260 if (!self->seekable) { in _io_TextIOWrapper_tell_impl() 2615 self->telling = self->seekable; in _io_TextIOWrapper_flush_impl() 2699 self->telling = self->seekable; in textiowrapper_iternext()
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 51 signed int seekable : 2; /* -1 means unknown */ member 129 self->seekable = -1; in fileio_new() 461 if (self->seekable < 0) { in fileio_seekable() 465 self->seekable = 0; in fileio_seekable() 468 self->seekable = 1; in fileio_seekable() 471 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 | 154 For seekable output streams, the ``wave`` header will automatically be updated 176 an exception if the output stream is not seekable and *nframes* does not 203 raise an error if the output stream is not seekable). 236 error if the output stream is not seekable and the total number of frames
|
/external/python/cpython3/Lib/test/ |
D | test_fileio.py | 293 f.seekable() 352 self.assertEqual(f.seekable(), True) 358 self.assertEqual(f.seekable(), True) 364 self.assertEqual(f.seekable(), True) 383 self.assertEqual(f.seekable(), False)
|
D | test_bz2.py | 396 self.assertTrue(bz2f.seekable()) 398 self.assertTrue(bz2f.seekable()) 401 self.assertRaises(ValueError, bz2f.seekable) 405 self.assertFalse(bz2f.seekable()) 408 self.assertRaises(ValueError, bz2f.seekable) 411 src.seekable = lambda: False 414 self.assertFalse(bz2f.seekable()) 417 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_iomenu.py | 54 self.assertFalse(f.seekable()) 144 self.assertFalse(f.seekable())
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 104 buffer.seekable = out.seekable
|
/external/python/cpython2/Lib/xml/sax/ |
D | saxutils.py | 96 buffer.seekable = out.seekable
|