Home
last modified time | relevance | path

Searched refs:BytesIO (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dio.py64 open, FileIO, BytesIO, StringIO, BufferedReader,
92 for klass in (BytesIO, BufferedReader, BufferedWriter, BufferedRandom,
D_pyio.py779 class BytesIO(BufferedIOBase): class
1973 super(StringIO, self).__init__(BytesIO(),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dio.py55 open, FileIO, BytesIO, StringIO, BufferedReader,
84 for klass in (BytesIO, BufferedReader, BufferedWriter, BufferedRandom,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_io.py191 class CMockFileIO(MockFileIO, io.BytesIO):
194 class PyMockFileIO(MockFileIO, pyio.BytesIO):
373 f = self.BytesIO()
377 f = self.BytesIO(data)
1057 raw = io.BytesIO()
1230 pair = self.tp(self.BytesIO(b"abcdef"), self.MockRawIO())
1235 pair = self.tp(self.BytesIO(b"abc"), self.MockRawIO())
1239 pair = lambda: self.tp(self.BytesIO(b"abc\ndef\nh"), self.MockRawIO())
1247 pair = self.tp(self.BytesIO(b"abcdef"), self.MockRawIO())
1252 pair = self.tp(self.BytesIO(b"abcdef"), self.MockRawIO())
[all …]
Dtest_zipfile.py891 with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
907 with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
911 with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
916 with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
937 with zipfile.ZipFile(io.BytesIO(), "w", compression) as zipf:
1076 for f in (TESTFN2, TemporaryFile(), io.BytesIO()):
1114 for f in (TESTFN2, TemporaryFile(), io.BytesIO()):
1140 for f in (TESTFN2, TemporaryFile(), io.BytesIO()):
Dtest_memoryview.py242 i = io.BytesIO(b'ZZZZ')
Dtest_memoryio.py404 ioclass = pyio.BytesIO
607 ioclass = io.BytesIO
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DConvertMasmToNasm.py245 self.output = io.BytesIO()