Home
last modified time | relevance | path

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

/external/angle/build/
Dzip_helpers.py65 zipinfo = zip_path
66 zip_path = zipinfo.filename
68 zipinfo = zipfile.ZipInfo(filename=zip_path)
69 zipinfo.external_attr = 0o644 << 16
71 zipinfo.date_time = _hermetic_date_time(timestamp)
74 _set_alignment(zip_file, zipinfo, alignment)
87 zipinfo.external_attr |= stat.S_IFLNK << 16 # mark as a symlink
88 zip_file.writestr(zipinfo, os.readlink(src_path))
96 zipinfo.external_attr |= mode << 16
112 zip_file.writestr(zipinfo, data, compress_type)
/external/cronet/build/
Dzip_helpers.py65 zipinfo = zip_path
66 zip_path = zipinfo.filename
68 zipinfo = zipfile.ZipInfo(filename=zip_path)
69 zipinfo.external_attr = 0o644 << 16
71 zipinfo.date_time = _hermetic_date_time(timestamp)
74 _set_alignment(zip_file, zipinfo, alignment)
87 zipinfo.external_attr |= stat.S_IFLNK << 16 # mark as a symlink
88 zip_file.writestr(zipinfo, os.readlink(src_path))
96 zipinfo.external_attr |= mode << 16
112 zip_file.writestr(zipinfo, data, compress_type)
/external/tensorflow/tensorflow/lite/testing/
Dzip_test_utils.py615 zipinfo = zipfile.ZipInfo(zip_path_label + ".pbtxt")
616 archive.writestr(zipinfo, text_format.MessageToString(graph_def),
624 zipinfo = zipfile.ZipInfo(zip_path_label + ".bin")
625 archive.writestr(zipinfo, tflite_model_binary, zipfile.ZIP_DEFLATED)
634 zipinfo = zipfile.ZipInfo(zip_path_label + ".inputs")
635 archive.writestr(zipinfo, example_fp.getvalue(), zipfile.ZIP_DEFLATED)
639 zipinfo = zipfile.ZipInfo(zip_path_label + "_tests.txt")
640 archive.writestr(zipinfo, example_fp2.getvalue(),
671 zipinfo = zipfile.ZipInfo("report_" + options.multi_gen_state.test_name +
673 archive.writestr(zipinfo, report_io.getvalue())
[all …]
Dgenerate_examples_lib.py366 zipinfo = zipfile.ZipInfo("manifest.txt")
367 archive.writestr(zipinfo, "".join(multi_gen_state.zip_manifest),
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py296 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
297 zipinfo.external_attr = _HERMETIC_FILE_ATTR
300 zipinfo.filename = zip_path
301 zipinfo.external_attr |= stat.S_IFLNK << 16 # mark as a symlink
302 zip_file.writestr(zipinfo, os.readlink(src_path))
319 zip_file.writestr(zipinfo, data, compress_type)
/external/angle/build/android/gyp/
Dapkbuilder.py415 def copy_resource(zipinfo, out_dir=''): argument
417 out_dir + zipinfo.filename,
418 resource_apk.read(zipinfo.filename),
419 compress=zipinfo.compress_type != zipfile.ZIP_STORED)
/external/cronet/build/android/gyp/
Dapkbuilder.py415 def copy_resource(zipinfo, out_dir=''): argument
417 out_dir + zipinfo.filename,
418 resource_apk.read(zipinfo.filename),
419 compress=zipinfo.compress_type != zipfile.ZIP_STORED)
/external/python/cpython3/Lib/
Dzipfile.py788 def __init__(self, fileobj, mode, zipinfo, pwd=None, argument
794 self._compress_type = zipinfo.compress_type
795 self._compress_left = zipinfo.compress_size
796 self._left = zipinfo.file_size
807 self.name = zipinfo.filename
809 if hasattr(zipinfo, 'CRC'):
810 self._expected_crc = zipinfo.CRC
819 self._orig_compress_size = zipinfo.compress_size
820 self._orig_file_size = zipinfo.file_size
828 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__.py1736 def zipinfo(self): member in ZipProvider
1772 timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1821 timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1847 for path in self.zipinfo:
1861 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.bzl350 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