/external/angle/build/ |
D | zip_helpers.py | 65 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/ |
D | zip_helpers.py | 65 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/ |
D | zip_test_utils.py | 615 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 …]
|
D | generate_examples_lib.py | 366 zipinfo = zipfile.ZipInfo("manifest.txt") 367 archive.writestr(zipinfo, "".join(multi_gen_state.zip_manifest),
|
/external/libchrome/build/android/gyp/util/ |
D | build_utils.py | 296 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/ |
D | apkbuilder.py | 415 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/ |
D | apkbuilder.py | 415 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/ |
D | zipfile.py | 788 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/ |
D | zipfile.py | 515 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__.py | 1736 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/ |
D | zipfile.rst | 61 :ref:`zipinfo-objects`.
|
/external/python/cpython3/Doc/library/ |
D | zipfile.rst | 79 :ref:`zipinfo-objects`.
|
/external/bazelbuild-rules_android/rules/ |
D | resources.bzl | 350 if zipinfo -t "$1"; then
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a1.rst | 1886 Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by
|