Searched refs:GzipFile (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_gzip.py | 60 with gzip.GzipFile(self.filename, 'w'+mode) as f: 63 with gzip.GzipFile(self.filename, 'r'+mode) as f: 67 with gzip.GzipFile(self.filename, 'wb') as f: 82 with gzip.GzipFile(filename, 'w') as f: 85 with gzip.GzipFile(filename, 'a') as f: 87 with gzip.GzipFile(filename) as f: 111 with gzip.GzipFile(self.filename, 'wb') as f: 117 with gzip.GzipFile(self.filename, 'rb') as f: 123 with gzip.GzipFile(self.filename, 'r') as f: 131 with gzip.GzipFile(sel [all...] |
H A D | test_tarfile.py | 74 open = gzip.GzipFile if gzip else None
|
/third_party/python/Lib/ |
H A D | gzip.py | 14 __all__ = ["BadGzipFile", "GzipFile", "open", "compress", "decompress"] 36 For binary mode, this function is equivalent to the GzipFile constructor: 37 GzipFile(filename, mode, compresslevel). In this case, the encoding, errors 40 For text mode, a GzipFile object is created, and wrapped in an 58 binary_file = GzipFile(filename, gz_mode, compresslevel) 60 binary_file = GzipFile(None, gz_mode, compresslevel, filename) 121 class GzipFile(_compression.BaseStream): class 122 """The GzipFile class simulates most of the methods of a file object with 136 """Constructor for the GzipFile class. 195 "GzipFile wa [all...] |
H A D | tarfile.py | 480 # taken from gzip.GzipFile with some alterations 1887 from gzip import GzipFile namespace 1892 fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
|
/third_party/python/Lib/xmlrpc/ |
H A D | client.py | 1049 with gzip.GzipFile(mode="wb", fileobj=f, compresslevel=1) as gzf: 1072 with gzip.GzipFile(mode="rb", fileobj=BytesIO(data)) as gzf: 1091 class GzipDecodedResponse(gzip.GzipFile if gzip else object): 1097 #GzipFile 1101 gzip.GzipFile.__init__(self, mode="rb", fileobj=self.io) 1105 gzip.GzipFile.close(self)
|
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | pytracediff.py | 236 from gzip import GzipFile namespace 237 stream = io.TextIOWrapper(GzipFile(filename, "rb"))
|
H A D | parse.py | 430 from gzip import GzipFile namespace 431 stream = io.TextIOWrapper(GzipFile(fname, 'rb'))
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | gen_vk_internal_shaders.py | 322 with gzip.GzipFile(fileobj=buf, mode='wb', compresslevel=9, mtime=0) as f:
|
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 666 f = gzip.GzipFile(fileobj=f)
|
Completed in 21 milliseconds