Home
last modified time | relevance | path

Searched refs:ZipInfo (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython2/Doc/library/
Dzipfile.rst52 .. class:: ZipInfo([filename[, date_time]])
149 Return a :class:`ZipInfo` object with information about the archive member
156 Return a list containing a :class:`ZipInfo` object for each member of the
172 the name of the file in the archive, or a :class:`ZipInfo` object. The *mode*
200 or a :class:`ZipInfo` object. You will appreciate this when trying to read a
209 must be its full name or a :class:`ZipInfo` object). Its file information is
211 to extract to. *member* can be a filename or a :class:`ZipInfo` object.
264 file in the archive, or a :class:`ZipInfo` object. The archive must be open for
270 *pwd* was added, and *name* can now be a :class:`ZipInfo` object.
312 name it will be given in the archive, or a :class:`ZipInfo` instance. If it's
[all …]
/external/python/cpython3/Doc/library/
Dzipfile.rst70 .. class:: ZipInfo(filename='NoName', date_time=(1980,1,1,0,0,0))
233 Return a :class:`ZipInfo` object with information about the archive member
240 Return a list containing a :class:`ZipInfo` object for each member of the
253 can be either the name of a file within the archive or a :class:`ZipInfo`
279 construct a :class:`ZipInfo` object with :attr:`~ZipInfo.file_size` set, and
285 or a :class:`ZipInfo` object. You will appreciate this when trying to read a
304 must be its full name or a :class:`ZipInfo` object. Its file information is
306 to extract to. *member* can be a filename or a :class:`ZipInfo` object.
365 file in the archive, or a :class:`ZipInfo` object. The archive must be open for
421 name it will be given in the archive, or a :class:`ZipInfo` instance. If it's
[all …]
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py57 zip_info = zipfile.ZipInfo()
61 zip_info = zipfile.ZipInfo()
65 zip_info = zipfile.ZipInfo()
69 zip_info = zipfile.ZipInfo()
/external/python/cpython2/Lib/test/
Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
73 zinfo = ZipInfo(name, time.localtime(mtime))
211 zinfo = ZipInfo(name, time.localtime(mtime))
255 zinfo = ZipInfo(name, time.localtime(mtime))
Dtest_zipfile.py548 zinfo = zipfile.ZipInfo()
1274 zipfile.ZipInfo, 'seventies', (1979, 1, 1, 0, 0, 0))
/external/python/cpython3/Lib/test/
Dtest_zipimport.py13 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
117 zinfo = ZipInfo(name, time.localtime(mtime))
444 zinfo = ZipInfo(name, time.localtime(mtime))
498 zinfo = ZipInfo(name, time.localtime(mtime))
653 zinfo = ZipInfo(TESTMOD + ".py", time.localtime(NOW))
662 zinfo = ZipInfo(TESTMOD + ".py", time.localtime(NOW))
Dtest_zipfile.py1481 zinfo = zipfile.ZipInfo()
1545 zinfo = zipfile.ZipInfo(data)
1918 zipfile.ZipInfo, 'seventies', (1979, 1, 1, 0, 0, 0))
1922 zi = zipfile.ZipInfo(filename="empty")
1927 zi = zipfile.ZipInfo()
2620 zi = zipfile.ZipInfo.from_file(__file__)
2626 zi = zipfile.ZipInfo.from_file(pathlib.Path(__file__))
2632 zi = zipfile.ZipInfo.from_file(os.fsencode(__file__), 'test')
2639 zi = zipfile.ZipInfo.from_file(f.fileno(), 'test')
2646 zi = zipfile.ZipInfo.from_file(dirpath, 'stdlib_tests')
/external/python/cpython2/Lib/
Dzipfile.py262 class ZipInfo (object): class
844 x = ZipInfo(filename)
956 if isinstance(name, ZipInfo):
1022 if not isinstance(member, ZipInfo):
1135 zinfo = ZipInfo(arcname, date_time)
1212 if not isinstance(zinfo_or_arcname, ZipInfo):
1213 zinfo = ZipInfo(filename=zinfo_or_arcname,
/external/skia/infra/bots/
Dzip_utils.py38 zi = zipfile.ZipInfo(filepath)
/external/skqp/infra/bots/
Dzip_utils.py37 zi = zipfile.ZipInfo(filepath)
/external/python/cpython3/Lib/
Dzipfile.py317 class ZipInfo (object): class
1364 x = ZipInfo(filename)
1493 if isinstance(name, ZipInfo):
1497 zinfo = ZipInfo(name)
1654 if not isinstance(member, ZipInfo):
1727 zinfo = ZipInfo.from_file(filename, arcname,
1773 if not isinstance(zinfo_or_arcname, ZipInfo):
1774 zinfo = ZipInfo(filename=zinfo_or_arcname,
/external/libchrome/third_party/jinja2/
Denvironment.py685 info = ZipInfo(filename)
696 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED
/external/python/jinja/src/jinja2/
Denvironment.py706 info = ZipInfo(filename)
717 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED
/external/python/asn1crypto/dev/
Ddeps.py246 if isinstance(info, zipfile.ZipInfo):
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py307 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst488 than a ZipInfo instance, so files are extracted with mode 0600 rather than
D2.6b1.rst529 ZipInfo instance. This allows handling duplicate filenames in zipfiles.
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1758 A new :meth:`ZipInfo.from_file() <zipfile.ZipInfo.from_file>` class method
1759 allows making a :class:`~zipfile.ZipInfo` instance from a filesystem file.
1760 A new :meth:`ZipInfo.is_dir() <zipfile.ZipInfo.is_dir>` method can be used
1761 to check if the :class:`~zipfile.ZipInfo` instance represents a directory.
D2.6.rst2656 take either a filename or a :class:`ZipInfo` object. This is useful when an
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a1.rst1886 Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by
D3.9.0a1.rst3271 Fix :func:`repr` on empty :class:`ZipInfo` object. Patch by Mickaël
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2652 take either a filename or a :class:`ZipInfo` object. This is useful when an
/external/python/cpython3/Misc/
DHISTORY16520 file name rather than a ZipInfo instance, so files are extracted with