/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
gzip.py | 13 __all__ = ["GzipFile","open"]
28 """Shorthand for GzipFile(filename, mode, compresslevel).
34 return GzipFile(filename, mode, compresslevel)
36 class GzipFile(io.BufferedIOBase):
37 """The GzipFile class simulates most of the methods of a file object with
47 """Constructor for the GzipFile class.
215 raise IOError(errno.EBADF, "write() on read-only GzipFile object")
218 raise ValueError, "write() on closed GzipFile object"
236 raise IOError(errno.EBADF, "read() on write-only GzipFile object")
483 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin) [all...] |
/external/python/cpython2/Lib/ |
gzip.py | 13 __all__ = ["GzipFile","open"] 28 """Shorthand for GzipFile(filename, mode, compresslevel). 34 return GzipFile(filename, mode, compresslevel) 36 class GzipFile(io.BufferedIOBase): 37 """The GzipFile class simulates most of the methods of a file object with 47 """Constructor for the GzipFile class. 231 raise IOError(errno.EBADF, "write() on read-only GzipFile object") 234 raise ValueError, "write() on closed GzipFile object" 252 raise IOError(errno.EBADF, "read() on write-only GzipFile object") 501 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin [all...] |
/external/python/cpython3/Lib/ |
gzip.py | 14 __all__ = ["GzipFile", "open", "compress", "decompress"] 31 For binary mode, this function is equivalent to the GzipFile constructor: 32 GzipFile(filename, mode, compresslevel). In this case, the encoding, errors 35 For text mode, a GzipFile object is created, and wrapped in an 53 binary_file = GzipFile(filename, gz_mode, compresslevel) 55 binary_file = GzipFile(None, gz_mode, compresslevel, filename) 110 class GzipFile(_compression.BaseStream): 111 """The GzipFile class simulates most of the methods of a file object with 125 """Constructor for the GzipFile class. 251 raise OSError(errno.EBADF, "write() on read-only GzipFile object" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
gzip.py | 13 __all__ = ["GzipFile","open"] 28 """Shorthand for GzipFile(filename, mode, compresslevel). 34 return GzipFile(filename, mode, compresslevel) 36 class GzipFile(io.BufferedIOBase): 37 """The GzipFile class simulates most of the methods of a file object with 47 """Constructor for the GzipFile class. 224 raise IOError(errno.EBADF, "write() on read-only GzipFile object") 227 raise ValueError, "write() on closed GzipFile object" 245 raise IOError(errno.EBADF, "read() on write-only GzipFile object") 492 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
gzip.py | 13 __all__ = ["GzipFile","open"] 28 """Shorthand for GzipFile(filename, mode, compresslevel). 34 return GzipFile(filename, mode, compresslevel) 36 class GzipFile(io.BufferedIOBase): 37 """The GzipFile class simulates most of the methods of a file object with 47 """Constructor for the GzipFile class. 224 raise IOError(errno.EBADF, "write() on read-only GzipFile object") 227 raise ValueError, "write() on closed GzipFile object" 245 raise IOError(errno.EBADF, "read() on write-only GzipFile object") 492 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
gzip.py | 13 __all__ = ["GzipFile","open"] 28 """Shorthand for GzipFile(filename, mode, compresslevel). 34 return GzipFile(filename, mode, compresslevel) 36 class GzipFile(io.BufferedIOBase): 37 """The GzipFile class simulates most of the methods of a file object with 47 """Constructor for the GzipFile class. 224 raise IOError(errno.EBADF, "write() on read-only GzipFile object") 227 raise ValueError, "write() on closed GzipFile object" 245 raise IOError(errno.EBADF, "read() on write-only GzipFile object") 492 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
gzip.py | 13 __all__ = ["GzipFile","open"] 28 """Shorthand for GzipFile(filename, mode, compresslevel). 34 return GzipFile(filename, mode, compresslevel) 36 class GzipFile(io.BufferedIOBase): 37 """The GzipFile class simulates most of the methods of a file object with 47 """Constructor for the GzipFile class. 224 raise IOError(errno.EBADF, "write() on read-only GzipFile object") 227 raise ValueError, "write() on closed GzipFile object" 245 raise IOError(errno.EBADF, "read() on write-only GzipFile object") 492 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin [all...] |