Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 – 25 of 36) 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()
/build/make/tools/zipalign/
DZipAlign.cpp45 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment, bool zopfli, in copyAndAlign()
99 ZipFile zin, zout; in process()
116 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != OK) { in process()
121 ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate) in process()
142 ZipFile zipFile; in verify()
148 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
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);
DZipFile.cpp61 status_t ZipFile::open(const char* zipFileName, int flags) in open()
137 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
148 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
177 void ZipFile::discardEntries(void) in discardEntries()
206 status_t ZipFile::readCentralDir(void) in readCentralDir()
368 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon()
519 status_t ZipFile::alignEntry(android::ZipEntry* pEntry, uint32_t alignTo){ in alignEntry()
546 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in add()
652 status_t ZipFile::addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in addRecompress()
787 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, uint32_t* pCRC32) in copyFpToFp()
[all …]
DZipEntry.h34 class ZipFile; variable
50 friend class ZipFile;
DAndroid.bp26 "ZipFile.cpp",
/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py167 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip:
174 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip, \
175 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
178 with zipfile.ZipFile(output_file) as output_zip:
184 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip, \
185 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
188 with zipfile.ZipFile(output_file) as output_zip:
198 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip:
202 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip, \
203 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
[all …]
Dtest_ota_from_target_files.py43 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
374 with zipfile.ZipFile(target_file) as verify_zip:
397 with zipfile.ZipFile(target_file) as verify_zip:
417 with zipfile.ZipFile(target_file) as verify_zip:
447 with zipfile.ZipFile(input_file, 'a', allowZip64=True) as append_zip:
454 with zipfile.ZipFile(target_file) as verify_zip:
482 with zipfile.ZipFile(input_file, 'a', allowZip64=True) as append_zip:
486 with zipfile.ZipFile(target_file) as verify_zip:
525 with zipfile.ZipFile(input_file, 'a', allowZip64=True) as append_zip:
532 with zipfile.ZipFile(target_file) as verify_zip:
[all …]
Dtest_common.py410 zip_file = zipfile.ZipFile(zip_file_name, "r", allowZip64=True)
446 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
478 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
522 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
646 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
679 output_zip = zipfile.ZipFile(zip_file.name, 'w',
691 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
699 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
706 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
713 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
[all …]
Dota_utils.py68 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
76 output_zip = zipfile.ZipFile(input_file, 'a', allowZip64=True)
88 with zipfile.ZipFile(prelim_signing, allowZip64=True) as prelim_signing_zip:
114 output_zip = zipfile.ZipFile(prelim_signing, 'a', allowZip64=True)
125 with zipfile.ZipFile(output_file, allowZip64=True) as output_zip:
149 if isinstance(output, zipfile.ZipFile):
373 if isinstance(input_file, zipfile.ZipFile):
374 with zipfile.ZipFile(input_file.filename, allowZip64=True) as input_zip:
Dimg_from_target_files.py75 with zipfile.ZipFile(input_file) as input_zip:
122 with zipfile.ZipFile(input_file) as input_zip:
151 with zipfile.ZipFile(input_file) as input_zip:
174 with zipfile.ZipFile(
Dimg_from_target_files75 with zipfile.ZipFile(input_file) as input_zip:
122 with zipfile.ZipFile(input_file) as input_zip:
151 with zipfile.ZipFile(input_file) as input_zip:
174 with zipfile.ZipFile(
Dtest_non_ab_ota.py41 with zipfile.ZipFile(zip_file) as zip_fp:
55 with zipfile.ZipFile(zip_file) as zip_fp:
74 with zipfile.ZipFile(zip_file) as zip_fp:
Dota_from_target_files.py699 target_zip = zipfile.ZipFile(target_file, 'w', allowZip64=True)
701 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
764 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
775 with zipfile.ZipFile(target_file_path, 'r', allowZip64=True) as zfp:
807 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
830 partial_target_zip = zipfile.ZipFile(partial_target_file, 'a',
832 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
875 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
918 target_zip = zipfile.ZipFile(target_file, 'a', allowZip64=True)
953 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
[all …]
Dtest_add_img_to_target_files.py97 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
100 with zipfile.ZipFile(output_file, 'r', allowZip64=True) as verify_zip:
349 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
354 with zipfile.ZipFile(output_file, 'r', allowZip64=True) as verify_zip:
372 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
Dtest_validate_target_files.py275 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip:
281 with zipfile.ZipFile(input_file) as input_zip:
324 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip:
328 with zipfile.ZipFile(input_file) as input_zip:
Dnon_ab_ota.py138 output_zip = zipfile.ZipFile(
315 output_zip = zipfile.ZipFile(
588 with zipfile.ZipFile(target_file) as input_zip:
598 with zipfile.ZipFile(target_file) as input_zip, \
599 zipfile.ZipFile(source_file) as source_zip:
Dtest_apex_utils.py177 with zipfile.ZipFile(no_asset, 'w', allowZip64=True) as output_zip:
178 with zipfile.ZipFile(self.apex_with_apk, 'r', allowZip64=True) as input_zip:
Dcheck_ota_package_signature.py143 package_zip = zipfile.ZipFile(package, 'r', allowZip64=True)
/build/soong/scripts/hiddenapi/
Dmerge_csv.py27 from zipfile import ZipFile
53 with ZipFile(file) as zip:
/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