Home
last modified time | relevance | path

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

/external/libchrome/build/android/gyp/util/
Dbuild_utils.py307 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
308 zipinfo.external_attr = _HERMETIC_FILE_ATTR
311 zipinfo.filename = zip_path
312 zipinfo.external_attr |= stat.S_IFLNK << 16L # mark as a symlink
313 zip_file.writestr(zipinfo, os.readlink(src_path))
330 zip_file.writestr(zipinfo, data, compress_type)
/external/python/cpython3/Lib/
Dzipfile.py787 def __init__(self, fileobj, mode, zipinfo, pwd=None, argument
793 self._compress_type = zipinfo.compress_type
794 self._compress_left = zipinfo.compress_size
795 self._left = zipinfo.file_size
806 self.name = zipinfo.filename
808 if hasattr(zipinfo, 'CRC'):
809 self._expected_crc = zipinfo.CRC
818 self._orig_compress_size = zipinfo.compress_size
819 self._orig_file_size = zipinfo.file_size
827 if zipinfo.flag_bits & 0x8:
[all …]
/external/python/cpython2/Lib/
Dzipfile.py515 def __init__(self, fileobj, mode, zipinfo, decrypter=None, argument
521 self._compress_type = zipinfo.compress_type
522 self._compress_size = zipinfo.compress_size
523 self._compress_left = zipinfo.compress_size
547 self.name = zipinfo.filename
549 if hasattr(zipinfo, 'CRC'):
550 self._expected_crc = zipinfo.CRC
1039 for zipinfo in members:
1040 self.extract(zipinfo, path, pwd)
/external/python/setuptools/pkg_resources/
D__init__.py1630 def zipinfo(self): member in ZipProvider
1665 timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1714 timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1740 for path in self.zipinfo:
1754 return zip_path in self.zipinfo or zip_path in self._index()
/external/python/cpython2/Doc/library/
Dzipfile.rst61 :ref:`zipinfo-objects`.
/external/python/cpython3/Doc/library/
Dzipfile.rst79 :ref:`zipinfo-objects`.
/external/bazelbuild-rules_android/rules/
Dresources.bzl329 if zipinfo -t "$1"; then
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a1.rst1886 Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by