Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 – 25 of 34) sorted by relevance

12

/build/make/tools/ziptime/
DZipFile.h32 class ZipFile {
34 ZipFile(void) : mZipFp(NULL) {} in ZipFile() function
35 ~ZipFile(void) { in ~ZipFile()
47 ZipFile(const ZipFile& src);
48 ZipFile& operator=(const ZipFile& src);
DZipEntry.h33 class ZipFile; variable
44 friend class ZipFile;
DZipFile.cpp36 status_t ZipFile::rewrite(const char* zipFileName) in rewrite()
73 status_t ZipFile::rewriteCentralDir(void) in rewriteCentralDir()
212 status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) in readBuf()
DZipTime.cpp41 ZipFile zip; in main()
DAndroid.bp26 "ZipFile.cpp",
/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py167 with zipfile.ZipFile(input_file, 'w') as input_zip:
174 with zipfile.ZipFile(input_file, 'r') as input_zip, \
175 zipfile.ZipFile(output_file, 'w') as output_zip:
178 with zipfile.ZipFile(output_file) as output_zip:
184 with zipfile.ZipFile(input_file, 'r') as input_zip, \
185 zipfile.ZipFile(output_file, 'w') as output_zip:
188 with zipfile.ZipFile(output_file) as output_zip:
198 with zipfile.ZipFile(input_file, 'w') as input_zip:
202 with zipfile.ZipFile(input_file, 'r') as input_zip, \
203 zipfile.ZipFile(output_file, 'w') as output_zip:
[all …]
Dtest_ota_from_target_files.py36 with zipfile.ZipFile(target_files, 'w') as target_files_zip:
345 with zipfile.ZipFile(target_file) as verify_zip:
368 with zipfile.ZipFile(target_file) as verify_zip:
388 with zipfile.ZipFile(target_file) as verify_zip:
418 with zipfile.ZipFile(input_file, 'a') as append_zip:
425 with zipfile.ZipFile(target_file) as verify_zip:
454 with zipfile.ZipFile(target_file) as verify_zip:
462 with zipfile.ZipFile(target_file) as verify_zip:
473 with zipfile.ZipFile(zip_file, 'a') as zip_fp:
515 with zipfile.ZipFile(zip_file, 'a') as zip_fp:
[all …]
Dtest_common.py366 zip_file = zipfile.ZipFile(zip_file_name, "r")
402 zip_file = zipfile.ZipFile(zip_file_name, "w")
434 zip_file = zipfile.ZipFile(zip_file_name, "w")
478 zip_file = zipfile.ZipFile(zip_file_name, "w")
602 zip_file = zipfile.ZipFile(zip_file_name, "w")
635 output_zip = zipfile.ZipFile(zip_file.name, 'w',
647 with zipfile.ZipFile(zip_file.name, 'r') as check_zip:
655 with zipfile.ZipFile(zip_file.name, 'r') as check_zip:
662 with zipfile.ZipFile(zip_file.name, 'r') as check_zip:
669 with zipfile.ZipFile(zip_file.name, 'r') as check_zip:
[all …]
Dimg_from_target_files.py74 with zipfile.ZipFile(input_file) as input_zip:
120 with zipfile.ZipFile(input_file) as input_zip:
147 with zipfile.ZipFile(input_file) as input_zip:
170 with zipfile.ZipFile(
Dimg_from_target_files74 with zipfile.ZipFile(input_file) as input_zip:
120 with zipfile.ZipFile(input_file) as input_zip:
147 with zipfile.ZipFile(input_file) as input_zip:
170 with zipfile.ZipFile(
Dota_from_target_files570 return HasPartition(zipfile.ZipFile(target_files), "vendor")
734 output_zip = zipfile.ZipFile(
896 if isinstance(output, zipfile.ZipFile):
1303 with zipfile.ZipFile(input_file) as input_zip:
1310 output_zip = zipfile.ZipFile(input_file, 'a')
1322 with zipfile.ZipFile(prelim_signing) as prelim_signing_zip:
1347 output_zip = zipfile.ZipFile(prelim_signing, 'a')
1358 with zipfile.ZipFile(output_file) as output_zip:
1392 output_zip = zipfile.ZipFile(
1684 target_zip = zipfile.ZipFile(target_file, 'w', allowZip64=True)
[all …]
Dota_from_target_files.py570 return HasPartition(zipfile.ZipFile(target_files), "vendor")
734 output_zip = zipfile.ZipFile(
896 if isinstance(output, zipfile.ZipFile):
1303 with zipfile.ZipFile(input_file) as input_zip:
1310 output_zip = zipfile.ZipFile(input_file, 'a')
1322 with zipfile.ZipFile(prelim_signing) as prelim_signing_zip:
1347 output_zip = zipfile.ZipFile(prelim_signing, 'a')
1358 with zipfile.ZipFile(output_file) as output_zip:
1392 output_zip = zipfile.ZipFile(
1684 target_zip = zipfile.ZipFile(target_file, 'w', allowZip64=True)
[all …]
Dtest_add_img_to_target_files.py96 with zipfile.ZipFile(output_file, 'w') as output_zip:
99 with zipfile.ZipFile(output_file, 'r') as verify_zip:
347 with zipfile.ZipFile(output_file, 'w') as output_zip:
352 with zipfile.ZipFile(output_file, 'r') as verify_zip:
370 with zipfile.ZipFile(output_file, 'w') as output_zip:
Dtest_validate_target_files.py275 with zipfile.ZipFile(input_file, 'w') as input_zip:
281 with zipfile.ZipFile(input_file) as input_zip:
324 with zipfile.ZipFile(input_file, 'w') as input_zip:
328 with zipfile.ZipFile(input_file) as input_zip:
Dapex_utils.py165 with zipfile.ZipFile(self.apex_path, 'a') as output_apex:
318 with zipfile.ZipFile(apex_file) as apex_fd:
339 apex_zip = zipfile.ZipFile(apex_file, 'a')
Dtest_apex_utils.py177 with zipfile.ZipFile(no_asset, 'w') as output_zip:
178 with zipfile.ZipFile(self.apex_with_apk, 'r') as input_zip:
Dcheck_ota_package_signature.py143 package_zip = zipfile.ZipFile(package, 'r')
Dcheck_target_files_signatures203 with zipfile.ZipFile(full_filename) as apk:
309 with zipfile.ZipFile(filename) as input_zip:
/build/make/tools/zipalign/
DZipFile.h44 class ZipFile {
46 ZipFile(void) in ZipFile() function
49 ~ZipFile(void) { in ~ZipFile()
111 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
120 status_t addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
163 ZipFile(const ZipFile& src);
164 ZipFile& operator=(const ZipFile& src);
DZipAlign.cpp67 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment, bool zopfli, in copyAndAlign()
132 ZipFile zin, zout; in process()
149 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != OK) { in process()
154 ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate) in process()
175 ZipFile zipFile; in verify()
181 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
DZipFile.cpp61 status_t ZipFile::open(const char* zipFileName, int flags) in open()
137 android::ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
148 android::ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
177 void ZipFile::discardEntries(void) in discardEntries()
206 status_t ZipFile::readCentralDir(void) in readCentralDir()
360 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon()
512 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in add()
619 status_t ZipFile::addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in addRecompress()
754 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, uint32_t* pCRC32) in copyFpToFp()
784 status_t ZipFile::copyDataToFp(FILE* dstFp, in copyDataToFp()
[all …]
DAndroid.bp13 "ZipFile.cpp",
DZipEntry.h34 class ZipFile; variable
50 friend class ZipFile;
/build/make/tools/
Dgenerate-self-extracting-archive.py169 with zipfile.ZipFile(trailing_zip, 'w') as myzip:
/build/soong/python/scripts/
Dstub_template_host.txt39 zf = zipfile.ZipFile(os.path.dirname(__file__))

12