Searched defs:zipfile (Results 1 - 25 of 26) sorted by path

12

/build/make/tools/ijar/
H A Dzip_main.cc159 int extract(char *zipfile, bool verbose, bool extract) { argument
164 std::unique_ptr<ZipExtractor> extractor(ZipExtractor::Create(zipfile,
167 fprintf(stderr, "Unable to open zip file %s: %s.\n", zipfile,
180 int create(char *zipfile, char **files, bool flatten, bool verbose, argument
187 std::unique_ptr<ZipBuilder> builder(ZipBuilder::Create(zipfile, size));
190 zipfile, strerror(errno));
/build/make/tools/releasetools/
H A Dadd_img_to_target_files18 Given a target-files zipfile that does not contain images (ie, does
20 add them to the zipfile.
61 import zipfile namespace
399 output_zip = zipfile.ZipFile(filename, "a",
400 compression=zipfile.ZIP_DEFLATED,
H A Dadd_img_to_target_files.py18 Given a target-files zipfile that does not contain images (ie, does
20 add them to the zipfile.
61 import zipfile namespace
399 output_zip = zipfile.ZipFile(filename, "a",
400 compression=zipfile.ZIP_DEFLATED,
H A Dcheck_target_files_signatures52 import zipfile namespace
56 # Work around a bug in python's zipfile module that prevents opening
61 class MyZipInfo(zipfile.ZipInfo):
64 zipfile.ZipInfo = MyZipInfo
184 apk = zipfile.ZipFile(f, "r")
H A Dcheck_target_files_signatures.py52 import zipfile namespace
56 # Work around a bug in python's zipfile module that prevents opening
61 class MyZipInfo(zipfile.ZipInfo):
64 zipfile.ZipInfo = MyZipInfo
184 apk = zipfile.ZipFile(f, "r")
H A Dcommon.py32 import zipfile namespace
139 if isinstance(input_file, zipfile.ZipFile):
557 Returns (tempdir, zipobj) where zipobj is a zipfile.ZipFile (of the
582 return tmp, zipfile.ZipFile(filename, "r")
999 # Python 2.7's zipfile implementation wrongly thinks that zip64 is required
1001 # limit. Note that `zipfile.writestr()` will not work for strings larger than
1004 # `zipfile.write()` must be used directly to work around this.
1007 saved_zip64_limit = zipfile.ZIP64_LIMIT
1008 zipfile.ZIP64_LIMIT = (1 << 32) - 1
1018 # `zipfile
[all...]
H A Dimg_from_target_files18 Given a target-files zipfile, produces an image zipfile suitable for
39 import zipfile namespace
75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
H A Dimg_from_target_files.py18 Given a target-files zipfile, produces an image zipfile suitable for
39 import zipfile namespace
75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
H A Dota_from_target_files18 Given a target-files zipfile, produces an OTA package that installs
149 import zipfile namespace
351 compatibility_archive_zip = zipfile.ZipFile(compatibility_archive, "w",
352 compression=zipfile.ZIP_DEFLATED)
369 compress_type=zipfile.ZIP_STORED)
550 compress_type=zipfile.ZIP_STORED)
1044 output_zip = zipfile.ZipFile(temp_zip_file, "w",
1045 compression=zipfile.ZIP_DEFLATED)
1166 compress_type=zipfile.ZIP_STORED)
1169 compress_type=zipfile
[all...]
H A Dota_from_target_files.py18 Given a target-files zipfile, produces an OTA package that installs
149 import zipfile namespace
351 compatibility_archive_zip = zipfile.ZipFile(compatibility_archive, "w",
352 compression=zipfile.ZIP_DEFLATED)
369 compress_type=zipfile.ZIP_STORED)
550 compress_type=zipfile.ZIP_STORED)
1044 output_zip = zipfile.ZipFile(temp_zip_file, "w",
1045 compression=zipfile.ZIP_DEFLATED)
1166 compress_type=zipfile.ZIP_STORED)
1169 compress_type=zipfile
[all...]
H A Dsign_target_files_apks18 Signs all the APK files in a target-files zipfile, producing a new
99 import zipfile namespace
502 # put into a zipfile system/etc/security/otacerts.zip.
506 certs_zip = zipfile.ZipFile(temp_file, "w")
701 input_zip = zipfile.ZipFile(args[0], "r")
702 output_zip = zipfile.ZipFile(args[1], "w")
H A Dsign_target_files_apks.py18 Signs all the APK files in a target-files zipfile, producing a new
99 import zipfile namespace
502 # put into a zipfile system/etc/security/otacerts.zip.
506 certs_zip = zipfile.ZipFile(temp_file, "w")
701 input_zip = zipfile.ZipFile(args[0], "r")
702 output_zip = zipfile.ZipFile(args[1], "w")
H A Dtest_common.py20 import zipfile namespace
48 expected_compress_type=zipfile.ZIP_STORED):
56 zip_file = zipfile.ZipFile(zip_file_name, "r")
88 zip_file = zipfile.ZipFile(zip_file_name, "w")
97 zipfile.ZIP_STORED)
116 zip_file = zipfile.ZipFile(zip_file_name, "w")
120 zipfile.ZIP_STORED)
123 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
157 zip_file = zipfile.ZipFile(zip_file_name, "w")
166 zipfile
[all...]
/build/tools/ijar/
H A Dzip_main.cc159 int extract(char *zipfile, bool verbose, bool extract) { argument
164 std::unique_ptr<ZipExtractor> extractor(ZipExtractor::Create(zipfile,
167 fprintf(stderr, "Unable to open zip file %s: %s.\n", zipfile,
180 int create(char *zipfile, char **files, bool flatten, bool verbose, argument
187 std::unique_ptr<ZipBuilder> builder(ZipBuilder::Create(zipfile, size));
190 zipfile, strerror(errno));
/build/tools/releasetools/
H A Dadd_img_to_target_files18 Given a target-files zipfile that does not contain images (ie, does
20 add them to the zipfile.
61 import zipfile namespace
399 output_zip = zipfile.ZipFile(filename, "a",
400 compression=zipfile.ZIP_DEFLATED,
H A Dadd_img_to_target_files.py18 Given a target-files zipfile that does not contain images (ie, does
20 add them to the zipfile.
61 import zipfile namespace
399 output_zip = zipfile.ZipFile(filename, "a",
400 compression=zipfile.ZIP_DEFLATED,
H A Dcheck_target_files_signatures52 import zipfile namespace
56 # Work around a bug in python's zipfile module that prevents opening
61 class MyZipInfo(zipfile.ZipInfo):
64 zipfile.ZipInfo = MyZipInfo
184 apk = zipfile.ZipFile(f, "r")
H A Dcheck_target_files_signatures.py52 import zipfile namespace
56 # Work around a bug in python's zipfile module that prevents opening
61 class MyZipInfo(zipfile.ZipInfo):
64 zipfile.ZipInfo = MyZipInfo
184 apk = zipfile.ZipFile(f, "r")
H A Dcommon.py32 import zipfile namespace
139 if isinstance(input_file, zipfile.ZipFile):
557 Returns (tempdir, zipobj) where zipobj is a zipfile.ZipFile (of the
582 return tmp, zipfile.ZipFile(filename, "r")
999 # Python 2.7's zipfile implementation wrongly thinks that zip64 is required
1001 # limit. Note that `zipfile.writestr()` will not work for strings larger than
1004 # `zipfile.write()` must be used directly to work around this.
1007 saved_zip64_limit = zipfile.ZIP64_LIMIT
1008 zipfile.ZIP64_LIMIT = (1 << 32) - 1
1018 # `zipfile
[all...]
H A Dimg_from_target_files18 Given a target-files zipfile, produces an image zipfile suitable for
39 import zipfile namespace
75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
H A Dimg_from_target_files.py18 Given a target-files zipfile, produces an image zipfile suitable for
39 import zipfile namespace
75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
H A Dota_from_target_files18 Given a target-files zipfile, produces an OTA package that installs
149 import zipfile namespace
351 compatibility_archive_zip = zipfile.ZipFile(compatibility_archive, "w",
352 compression=zipfile.ZIP_DEFLATED)
369 compress_type=zipfile.ZIP_STORED)
550 compress_type=zipfile.ZIP_STORED)
1044 output_zip = zipfile.ZipFile(temp_zip_file, "w",
1045 compression=zipfile.ZIP_DEFLATED)
1166 compress_type=zipfile.ZIP_STORED)
1169 compress_type=zipfile
[all...]
H A Dota_from_target_files.py18 Given a target-files zipfile, produces an OTA package that installs
149 import zipfile namespace
351 compatibility_archive_zip = zipfile.ZipFile(compatibility_archive, "w",
352 compression=zipfile.ZIP_DEFLATED)
369 compress_type=zipfile.ZIP_STORED)
550 compress_type=zipfile.ZIP_STORED)
1044 output_zip = zipfile.ZipFile(temp_zip_file, "w",
1045 compression=zipfile.ZIP_DEFLATED)
1166 compress_type=zipfile.ZIP_STORED)
1169 compress_type=zipfile
[all...]
H A Dsign_target_files_apks18 Signs all the APK files in a target-files zipfile, producing a new
99 import zipfile namespace
502 # put into a zipfile system/etc/security/otacerts.zip.
506 certs_zip = zipfile.ZipFile(temp_file, "w")
701 input_zip = zipfile.ZipFile(args[0], "r")
702 output_zip = zipfile.ZipFile(args[1], "w")
H A Dsign_target_files_apks.py18 Signs all the APK files in a target-files zipfile, producing a new
99 import zipfile namespace
502 # put into a zipfile system/etc/security/otacerts.zip.
506 certs_zip = zipfile.ZipFile(temp_file, "w")
701 input_zip = zipfile.ZipFile(args[0], "r")
702 output_zip = zipfile.ZipFile(args[1], "w")

Completed in 84 milliseconds

12