Home
last modified time | relevance | path

Searched refs:seekable (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmultifile.py41 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:
Dchunk.py74 self.seekable = False
76 self.seekable = True
104 if not self.seekable:
152 if self.seekable:
Drfc822.py88 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 …]
Dmimetools.py24 def __init__(self, fp, seekable = 1): argument
25 rfc822.Message.__init__(self, fp, seekable)
D_pyio.py359 def seekable(self): member in IOBase
370 if not self.seekable():
736 def seekable(self): member in _BufferedIOMixin
737 return self.raw.seekable()
887 def seekable(self): member in BytesIO
1504 self._seekable = self._telling = self.buffer.seekable()
1549 def seekable(self): member in TextIOWrapper
Dhttplib.py271 elif self.seekable:
279 self.seekable = 0
Dgzip.py403 def seekable(self): member in GzipFile
Dpydoc.py1982 def __init__(self, fp, seekable=1): argument
1984 Message.__bases__[0].__bases__[0].__init__(self, fp, seekable)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fileio.py191 f.seekable()
241 self.assertEqual(f.seekable(), True)
247 self.assertEqual(f.seekable(), True)
253 self.assertEqual(f.seekable(), True)
272 self.assertEqual(f.seekable(), False)
Dtest_largefile.py148 self.assertTrue(f.seekable())
Dtest_io.py79 def seekable(self): member in MockRawIOWithoutRead
216 def seekable(self): member in MockNonBlockWriterIO
338 self.assertEqual(f.seekable(), True)
343 self.assertEqual(f.seekable(), True)
350 self.assertEqual(f.seekable(), True)
355 self.assertEqual(f.seekable(), True)
1286 self.assertFalse(pair.seekable())
2176 self.assertEqual(buffer.seekable(), txt.seekable())
Dtest_memoryio.py327 self.assertEqual(memio.seekable(), True)
333 self.assertEqual(memio.seekable(), True)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dfileio.c56 signed int seekable : 2; /* -1 means unknown */ member
133 self->seekable = -1; in fileio_new()
460 if (self->seekable < 0) { in fileio_seekable()
464 self->seekable = 0; in fileio_seekable()
467 self->seekable = 1; in fileio_seekable()
470 return PyBool_FromLong((long) self->seekable); in fileio_seekable()
Dtextio.c659 char seekable; member
1009 self->seekable = self->telling = PyObject_IsTrue(res); in textiowrapper_init()
1013 if (self->seekable && self->encoder) { in textiowrapper_init()
1970 if (!self->seekable) { in textiowrapper_seek()
2143 if (!self->seekable) { in textiowrapper_tell()
2398 self->telling = self->seekable; in textiowrapper_flush()
2465 self->telling = self->seekable; in textiowrapper_iternext()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dfileio.c51 signed int seekable : 2; /* -1 means unknown */ member
129 self->seekable = -1; in fileio_new()
448 if (self->seekable < 0) { in fileio_seekable()
452 self->seekable = 0; in fileio_seekable()
455 self->seekable = 1; in fileio_seekable()
458 return PyBool_FromLong((long) self->seekable); in fileio_seekable()
Dtextio.c675 char seekable; member
1029 self->seekable = self->telling = r; in textiowrapper_init()
1032 if (self->seekable && self->encoder) { in textiowrapper_init()
2016 if (!self->seekable) { in textiowrapper_seek()
2196 if (!self->seekable) { in textiowrapper_tell()
2446 self->telling = self->seekable; in textiowrapper_flush()
2518 self->telling = self->seekable; in textiowrapper_iternext()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/
Dpyversioncheck.py56 msg = rfc822.Message(fp, seekable=0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
Dsaxutils.py96 buffer.seekable = out.seekable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dpydoc.py2067 def __init__(self, fp, seekable=1): argument
2069 Message.__bases__[0].__bases__[0].__init__(self, fp, seekable)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dpydoc.py1986 def __init__(self, fp, seekable=1): argument
1988 Message.__bases__[0].__bases__[0].__init__(self, fp, seekable)