Home
last modified time | relevance | path

Searched refs:GzipFile (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_gzip.py60 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 Dtest_tarfile.py74 open = gzip.GzipFile if gzip else None
/third_party/python/Lib/
H A Dgzip.py14 __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 Dtarfile.py480 # 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 Dclient.py1049 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 Dpytracediff.py236 from gzip import GzipFile namespace
237 stream = io.TextIOWrapper(GzipFile(filename, "rb"))
H A Dparse.py430 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 Dgen_vk_internal_shaders.py322 with gzip.GzipFile(fileobj=buf, mode='wb', compresslevel=9, mtime=0) as f:
/third_party/python/Lib/test/support/
H A D__init__.py666 f = gzip.GzipFile(fileobj=f)

Completed in 21 milliseconds