/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
H A D | ZFileTest.java | 71 try (ZFile zf = new ZFile(zpath)) { in getZipPath() 79 File zf = new File(temporaryDir, "a"); in readNonExistingFile() local 90 File zf = new File(temporaryDir, "a"); in readExistingEmptyFile() local 101 File zf = ZipTestUtils.cloneRsrc("empty-zip.zip", mTemporaryFolder); in readAlmostEmptyZip() local 114 File zf = ZipTestUtils.cloneRsrc("simple-zip.zip", mTemporaryFolder); in readZipWithTwoFilesOneDirectory() local 149 try (ZFile zf = new ZFile(testZip)) { in readOnlyZipSupport() 162 try (ZFile zf = new ZFile(testZip)) { in readOnlyV2SignedApkSupport() 181 try (ZFile zf = new ZFile(testZip)) { in compressedFilesReadableByJavaZip() 545 try (ZFile zf = new ZFile(zip)) { in addingFileDoesNotAddDirectoriesAutomatically() 591 try (ZFile zf = new ZFile(zip)) { in zipFileWithEocdSignatureInComment() [all …]
|
H A D | ZFileReadOnlyTest.java | 48 try (ZFile zf = new ZFile(zip)) { in makeTestZip() 57 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotUpdateInRoMode() 69 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddFilesInRoMode() 82 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddRecursivelyInRoMode() 94 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotReplaceFilesInRoMode() 106 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotDeleteFilesInRoMode() 121 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotMergeInRoMode() 134 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotTouchInRoMode() 146 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotRealignInRoMode() 158 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddExtensionInRoMode() [all …]
|
H A D | ExtraFieldTest.java | 97 try (ZFile zf = new ZFile(mZipFile)) { in readEntryWithNoExtraField() 125 try (ZFile zf = new ZFile(mZipFile)) { in readSingleExtraField() 172 try (ZFile zf = new ZFile(mZipFile)) { in readMultipleExtraFields() 199 try (ZFile zf = new ZFile(mZipFile)) { in addExtraFieldToExistingEntry() 205 try (ZFile zf = new ZFile(mZipFile)) { in addExtraFieldToExistingEntry() 216 try (ZFile zf = new ZFile(mZipFile)) { in addExtraFieldToExistingEntry() 241 try (ZFile zf = new ZFile(mZipFile)) { in removeExtraFieldFromExistingEntry() 247 try (ZFile zf = new ZFile(mZipFile)) { in removeExtraFieldFromExistingEntry() 258 try (ZFile zf = new ZFile(mZipFile)) { in removeExtraFieldFromExistingEntry() 264 try (ZFile zf = new ZFile(mZipFile)) { in removeExtraFieldFromExistingEntry() [all …]
|
H A D | ZFileNotificationTest.java | 115 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyAddFile() 138 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyRemoveFile() 161 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdateFile() 188 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdateClose() 212 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdate() 234 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdate() 259 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in removedListenersAreNotNotified() 281 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in actionsExecutedAtEndOfNotification() 346 try (ZFile zf = new ZFile(zipFile)) { in canAddFilesDuringUpdateNotification() 387 try (ZFile zf = new ZFile(zipFile)) { in notifyOnceEntriesWritten() [all …]
|
H A D | AlignmentTest.java | 58 try (ZFile zf = new ZFile(newZFile, options)) { in addAlignedFile() 74 try (ZFile zf = new ZFile(newZFile, options)) { in addNonAlignedFile()
|
H A D | ZipToolsTest.java | 121 try (ZFile zf = new ZFile(cloneZipFile())) { in zfileReadsZipFile() 155 try (ZFile zf = new ZFile(zfile, options)) { in testReadZFile()
|
H A D | OldApkReadTest.java | 33 try (ZFile zf = new ZFile(apkFile, new ZFileOptions())) { in testReadOldApk()
|
/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/ |
H A D | ApkAlignmentTest.java | 64 try (ZFile zf = new ZFile(apk)) { in soFilesUncompressedAndAligned() 81 try (ZFile zf = new ZFile(zipToMerge)) { in soFilesMergedFromZipsCanBeUncompressedAndAligned() 85 try (ZFile zf = new ZFile(zipToMerge)) { in soFilesMergedFromZipsCanBeUncompressedAndAligned() 117 try (ZFile zf = new ZFile(apk)) { in soFilesMergedFromZipsCanBeUncompressedAndAligned() 161 try (ZFile zf = new ZFile(apk)) { in soFilesUncompressedAndNotAligned() 178 try (ZFile zf = new ZFile(zipToMerge)) { in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() 182 try (ZFile zf = new ZFile(zipToMerge)) { in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() 214 try (ZFile zf = new ZFile(apk)) { in soFilesMergedFromZipsCanBeUncompressedAndNotAligned()
|
/aosp_15_r20/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
H A D | UTF8ZipFilesTest.java | 100 ZipFile zf = null; in testRead7ZipArchive() local 135 ZipFile zf = null; in testReadWinZipArchive() local 146 private void assertCanRead(final ZipFile zf, final String fileName) throws IOException { in assertCanRead() 200 ZipFile zf = null; in testZipArchiveInputStreamReadsUnicodeFields() local 217 ZipFile zf = null; in testRawNameReadFromZipFile() local 338 ZipFile zf = null; in testFile() local
|
H A D | ZipFileTest.java | 50 private ZipFile zf = null; field in ZipFileTest 412 try (ZipFile zf = new ZipFile(archive)) { in testOffsets() 448 try (ZipFile zf = new ZipFile(new SeekableInMemoryByteChannel(zipContent.toByteArray()))) { in testDelayedOffsetsAndSizes() 502 try (ZipFile zf = new ZipFile(new SeekableInMemoryByteChannel( in testEntryAlignment() 796 try (ZipFile zf = new ZipFile(getFile(archive))) { in nameSource()
|
H A D | X5455_ExtendedTimestampTest.java | 117 ZipFile zf = null; in testSampleFile() local 443 final ZipFile zf = new ZipFile(output); in testWriteReadRoundtrip() local
|
/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
H A D | JarSigningTest.java | 50 try (ZFile zf = new ZFile(zipFile)) { in signEmptyJar() 193 try (ZFile zf = new ZFile(zipFile)) { in v2SignAddsApkSigningBlock() 314 try (ZFile zf = new ZFile(zipFile)) { in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() 330 try (ZFile zf = new ZFile(zipFile)) { in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() 345 try (ZFile zf = new ZFile(zipFile)) { in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() 367 try (ZFile zf = new ZFile(zipFile)) { in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
|
H A D | ManifestGenerationTest.java | 48 try (ZFile zf = new ZFile(zip)) { in elementaryManifestGeneration() 83 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnHalfWrittenFile() local 119 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnExistingFile() local 157 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnIncrementalNoChanges() local
|
/aosp_15_r20/external/bzip2/ |
H A D | bzlib_private.h | 73 #define VPrintf0(zf) \ argument 75 #define VPrintf1(zf,za1) \ argument 77 #define VPrintf2(zf,za1,za2) \ argument 79 #define VPrintf3(zf,za1,za2,za3) \ argument 81 #define VPrintf4(zf,za1,za2,za3,za4) \ argument 83 #define VPrintf5(zf,za1,za2,za3,za4,za5) \ argument 92 #define VPrintf0(zf) do { } while (0) argument 93 #define VPrintf1(zf,za1) do { } while (0) argument 94 #define VPrintf2(zf,za1,za2) do { } while (0) argument 95 #define VPrintf3(zf,za1,za2,za3) do { } while (0) argument [all …]
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | Zip64FileTest.java | 40 ZipFile zf = null; in testZip64Support_largeNumberOfEntries() local 68 ZipFile zf = null; in testZip64Support_totalLargerThan4G() local 91 ZipFile zf = null; in testZip64Support_hugeEntry() local
|
/aosp_15_r20/external/python/setuptools/setuptools/ |
D | wheel.py | 82 def get_dist_info(self, zf): argument 97 def _install_as_egg(self, destination_eggdir, zf): argument 108 def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/ |
D | wheel.py | 97 def get_dist_info(self, zf): argument 112 def _install_as_egg(self, destination_eggdir, zf): argument 123 def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/ |
D | wheel.py | 97 def get_dist_info(self, zf): argument 112 def _install_as_egg(self, destination_eggdir, zf): argument 123 def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/ |
D | wheel.py | 97 def get_dist_info(self, zf): argument 112 def _install_as_egg(self, destination_eggdir, zf): argument 123 def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/ |
D | wheel.py | 97 def get_dist_info(self, zf): argument 112 def _install_as_egg(self, destination_eggdir, zf): argument 123 def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): argument
|
/aosp_15_r20/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
H A D | ZipTestCase.java | 293 ZipFile zf = null; in testDirectoryEntryFromFile() local 329 ZipFile zf = null; in testExplicitDirectoryEntry() local 519 ZipFile zf = null; in testFileEntryFromFile() local 564 ZipFile zf = null; in testExplicitFileEntry() local 671 try (final ZipFile zf = new ZipFile(input)) { in testInputStreamStatistics()
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/zip/ |
H A D | TestExtraTime.java | 181 try (ZipFile zf = new ZipFile(zpath.toFile())) { in test0() 309 try (ZipFile zf = new ZipFile(zpath.toFile())) { in testTagOnlyHandling() 357 try (ZipFile zf = new ZipFile(zpath.toFile())) { in testNullMtime()
|
/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/ |
H A D | MultiCompressorTest.java | 64 try (ZFile zf = new ZFile(zip)) { in storeIsBest() 83 try (ZFile zf = new ZFile(zip)) { in sameCompressionResultButBetterThanStore()
|
/aosp_15_r20/external/tflite-support/tensorflow_lite_support/metadata/cc/ |
H A D | metadata_extractor.cc | 77 tflite::support::StatusOr<ZipFileInfo> GetCurrentZipFileInfo(const unzFile& zf) { in GetCurrentZipFileInfo() 242 unzFile zf = unzOpen2_64(/*path=*/nullptr, &mem_file.GetFileFunc64Def()); in ExtractAssociatedFiles() local
|
/aosp_15_r20/external/zlib/contrib/tests/ |
H A D | utils_unittest.cc | 1179 zipFile zf = zipOpen(zip_file.AsUTF8Unsafe().c_str(), APPEND_STATUS_CREATE); in TEST() local 1248 zipFile zf = zipOpen(zip_file.AsUTF8Unsafe().c_str(), APPEND_STATUS_CREATE); in TEST() local
|