/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | IoUtil.java | 24 import java.util.zip.ZipEntry; 69 final Enumeration<? extends ZipEntry> e = inputZip.entries(); in copyZipWithoutEmptyDirectories() 70 final ArrayList<ZipEntry> sortedList = new ArrayList<ZipEntry>(); in copyZipWithoutEmptyDirectories() 72 final ZipEntry entry = e.nextElement(); in copyZipWithoutEmptyDirectories() 76 Collections.sort(sortedList, new Comparator<ZipEntry>() in copyZipWithoutEmptyDirectories() 78 public int compare(ZipEntry o1, ZipEntry o2) in copyZipWithoutEmptyDirectories() 87 final ZipEntry inputEntry = sortedList.get(i); in copyZipWithoutEmptyDirectories() 116 final ZipEntry outputEntry = new ZipEntry(inputEntry); in copyZipWithoutEmptyDirectories()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ZipFileRO.java | 11 import java.util.zip.ZipEntry; 28 ZipEntry entry; 70 static int FindEntry(ZipArchiveHandle mHandle, String name, Ref<ZipEntry> zipEntryRef) { in FindEntry() 71 ZipEntry entry = mHandle.zipFile.getEntry(name); in FindEntry() 117 final Ref<ZipEntry> zipEntryRef = new Ref<>(data.entry); in findEntryByName() 138 final ZipEntry ze = zipEntry.entry; in getEntryInfo() 163 boolean startIteration(Ref<Enumeration<? extends ZipEntry>> cookie) { in startIteration() 167 …boolean startIteration(/* void** */ Ref<Enumeration<? extends ZipEntry>> cookie, final String pref… in startIteration() 186 …ctric.res.android.ZipFileRO.ZipEntryRO nextEntry(/*void* */ Enumeration<? extends ZipEntry> cookie) in nextEntry() 271 ZipEntry ze = entry.entry; in createEntryFileMap()
|
D | FileMap.java | 10 import java.util.zip.ZipEntry; 16 private ZipEntry zipEntry; 127 public boolean createFromZip(String origFileName, ZipFile zipFile, ZipEntry entry, int length, in createFromZip() 184 long guessOffsetFor(ZipFile zipFile, ZipEntry zipEntry) { in guessOffsetFor() 185 Enumeration<? extends ZipEntry> zipEntries = zipFile.entries(); in guessOffsetFor() 189 ZipEntry entry = zipEntries.nextElement(); in guessOffsetFor() 301 public ZipEntry getZipEntry() { in getZipEntry()
|
/external/nullaway/jar-infer/jar-infer-lib/src/test/java/com/uber/nullaway/jarinfer/ |
D | EntriesComparator.java | 28 import java.util.zip.ZipEntry; 49 jar1.stream().map(ZipEntry::getName).collect(ImmutableSet.toImmutableSet()); in compareEntriesInJars() 51 jar2.stream().map(ZipEntry::getName).collect(ImmutableSet.toImmutableSet()); in compareEntriesInJars() 71 zip1.stream().map(ZipEntry::getName).collect(ImmutableSet.toImmutableSet()); in compareEntriesInAars() 73 zip2.stream().map(ZipEntry::getName).collect(ImmutableSet.toImmutableSet()); in compareEntriesInAars() 80 ZipEntry zip1Jar = zip1.getEntry(classesJarInAar); in compareEntriesInAars() 81 ZipEntry zip2Jar = zip2.getEntry(classesJarInAar); in compareEntriesInAars() 104 ZipEntry manifestEntry = jar.getEntry("META-INF/MANIFEST.MF"); in readManifestFromJar()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | Bug62456849TestDataGenerator.java | 27 import java.util.zip.ZipEntry; 56 for (UnmodifiableIterator<? extends ZipEntry> it = in main() 59 ZipEntry entry = it.next(); in main() 72 ZipEntry result = new ZipEntry(entryName); in writeToZipFile() 79 private static byte[] readEntry(ZipFile file, ZipEntry entry) throws IOException { in readEntry() 85 private static byte[] convertClass(ZipFile file, ZipEntry entry) throws IOException { in convertClass()
|
/external/robolectric/resources/src/main/java/org/robolectric/res/android/ |
D | ZipFileRO.java | 12 import java.util.zip.ZipEntry; 29 ZipEntry entry; 77 static int FindEntry(ZipArchiveHandle mHandle, String name, Ref<ZipEntry> zipEntryRef) { in FindEntry() 78 ZipEntry entry = mHandle.zipFile.getEntry(name); in FindEntry() 128 final Ref<ZipEntry> zipEntryRef = new Ref<>(data.entry); in findEntryByName() 149 final ZipEntry ze = zipEntry.entry; in getEntryInfo() 174 boolean startIteration(Ref<Enumeration<? extends ZipEntry>> cookie) { in startIteration() 178 …boolean startIteration(/* void** */ Ref<Enumeration<? extends ZipEntry>> cookie, final String pref… in startIteration() 197 …ctric.res.android.ZipFileRO.ZipEntryRO nextEntry(/*void* */ Enumeration<? extends ZipEntry> cookie) in nextEntry()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/ |
D | InstrumenterTest.java | 32 import java.util.zip.ZipEntry; 256 ZipEntry entry = new ZipEntry("TestCompressed.class"); in testInstrumentAll_Zip() 257 entry.setMethod(ZipEntry.DEFLATED); in testInstrumentAll_Zip() 262 entry = new ZipEntry("TestUncompressed.class"); in testInstrumentAll_Zip() 263 entry.setMethod(ZipEntry.STORED); in testInstrumentAll_Zip() 282 assertEquals(ZipEntry.DEFLATED, entry.getMethod()); in testInstrumentAll_Zip() 285 assertEquals(ZipEntry.STORED, entry.getMethod()); in testInstrumentAll_Zip() 364 zip.putNextEntry(new ZipEntry("brokenentry.txt")); in testInstrumentAll_BrokenZipEntry() 384 zipout.putNextEntry(new ZipEntry("Test.class")); in testInstrumentAll_BrokenClassFileInZip() 430 zipout.putNextEntry(new ZipEntry("Test.class")); in testInstrumentAll_Pack200() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | StreamCompressorTest.java | 30 import java.util.zip.ZipEntry; 39 sc.deflate(new ByteArrayInputStream("A".getBytes()), ZipEntry.STORED); in storedEntries() 40 sc.deflate(new ByteArrayInputStream("BAD".getBytes()), ZipEntry.STORED); in storedEntries() 44 sc.deflate(new ByteArrayInputStream("CAFE".getBytes()), ZipEntry.STORED); in storedEntries() 52 sc.deflate(new ByteArrayInputStream("AAAAAABBBBBB".getBytes()), ZipEntry.DEFLATED); in deflatedEntries()
|
D | ZipArchiveEntryTest.java | 25 import java.util.zip.ZipEntry; 219 entry.setMethod(ZipEntry.STORED); in testCompressionMethod() 220 assertEquals(ZipEntry.STORED, entry.getMethod()); in testCompressionMethod() 223 entry.setMethod(ZipEntry.DEFLATED); in testCompressionMethod() 224 assertEquals(ZipEntry.DEFLATED, entry.getMethod()); in testCompressionMethod() 267 archiveEntry.setMethod(ZipEntry.DEFLATED); in testCopyConstructor()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | ZipDexContainer.java | 52 import java.util.zip.ZipEntry; 82 Enumeration<? extends ZipEntry> entriesEnumeration = zipFile.entries(); in getDexEntryNames() 85 ZipEntry entry = entriesEnumeration.nextElement(); in getDexEntryNames() 110 ZipEntry entry = zipFile.getEntry(entryName); in getEntry() 159 … protected boolean isDex(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOException { in isDex() 184 …protected ZipDexFile loadEntry(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOExce… in loadEntry()
|
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/ |
D | ZipDexContainer.java | 51 import java.util.zip.ZipEntry; 81 Enumeration<? extends ZipEntry> entriesEnumeration = zipFile.entries(); in getDexEntryNames() 84 ZipEntry entry = entriesEnumeration.nextElement(); in getDexEntryNames() 109 ZipEntry entry = zipFile.getEntry(entryName); in getEntry() 140 … protected boolean isDex(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOException { in isDex() 165 …protected DexEntry loadEntry(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOExcept… in loadEntry()
|
/external/cronet/build/android/bytecode/java/org/chromium/bytecode/ |
D | ByteCodeRewriter.java | 21 import java.util.zip.ZipEntry; 62 ZipEntry entry; in processZip() 74 ZipEntry newEntry = new ZipEntry(entry.getName()); in processZip() 95 ZipEntry entry, InputStream inputStream, OutputStream outputStream) { in processClassEntry()
|
/external/angle/build/android/bytecode/java/org/chromium/bytecode/ |
D | ByteCodeRewriter.java | 21 import java.util.zip.ZipEntry; 62 ZipEntry entry; in processZip() 74 ZipEntry newEntry = new ZipEntry(entry.getName()); in processZip() 95 ZipEntry entry, InputStream inputStream, OutputStream outputStream) { in processClassEntry()
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
D | DirectoryInputFileProvider.java | 28 import java.util.zip.ZipEntry; 50 public ZipEntry getZipEntry(String filename) { in getZipEntry() 51 ZipEntry destEntry = new ZipEntry(filename); in getZipEntry()
|
D | ZipOutputFileProvider.java | 25 import java.util.zip.ZipEntry; 65 ZipEntry result = new ZipEntry(filename); in writeStoredEntry() 72 result.setMethod(ZipEntry.STORED); in writeStoredEntry()
|
D | ZipInputFileProvider.java | 22 import java.util.zip.ZipEntry; 48 public ZipEntry getZipEntry(String filename) { in getZipEntry() 49 ZipEntry zipEntry = zipFile.getEntry(filename); in getZipEntry()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/io/ |
D | IndexedInputsTest.java | 21 import java.util.zip.ZipEntry; 54 zos1.putNextEntry(new ZipEntry("a/b/C.class")); in setUpClass() 55 zos1.putNextEntry(new ZipEntry("a/b/D.class")); in setUpClass() 62 zos2.putNextEntry(new ZipEntry("a/b/C.class")); in setUpClass() 63 zos2.putNextEntry(new ZipEntry("a/b/E.class")); in setUpClass()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/ |
D | Instrumenter.java | 22 import java.util.zip.ZipEntry; 212 ZipEntry entry; in instrumentZip() 220 final ZipEntry newEntry = new ZipEntry(entryName); in instrumentZip() 223 case ZipEntry.DEFLATED: in instrumentZip() 227 case ZipEntry.STORED: in instrumentZip() 263 private ZipEntry nextEntry(final ZipInputStream input, in nextEntry()
|
/external/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/ |
D | BytecodeAnnotator.java | 33 import java.util.zip.ZipEntry; 225 jarOS.putNextEntry(new ZipEntry(jarEntry.getName())); in copyAndAnnotateJarEntry() 242 jarOS.putNextEntry(new ZipEntry(jarEntry.getName())); in copyAndAnnotateJarEntry() 252 jarOS.putNextEntry(new ZipEntry(jarEntry.getName())); in copyAndAnnotateJarEntry() 326 Iterator<? extends ZipEntry> zipIterator = inputZip.stream().iterator(); in annotateBytecodeInAar() 328 ZipEntry zipEntry = zipIterator.next(); in annotateBytecodeInAar() 330 zipOS.putNextEntry(new ZipEntry(zipEntry.getName())); in annotateBytecodeInAar()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipMethod.java | 23 import java.util.zip.ZipEntry; 39 STORED(ZipEntry.STORED), 103 DEFLATED(ZipEntry.DEFLATED),
|
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/util/ |
D | Files.kt | 6 import java.util.zip.ZipEntry 14 fun ZipEntry.isClassFile() = !this.isDirectory && this.name.endsWith(".class") in isClassFile() method 20 fun ZipInputStream.forEachZipEntry(block: (InputStream, ZipEntry) -> Unit) = use { in isClassFile()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
D | ZipMultiReportOutput.java | 17 import java.util.zip.ZipEntry; 54 final ZipEntry entry = new ZipEntry(path); in createFile()
|
/external/dokka/core/src/main/kotlin/Utilities/ |
D | ServiceLocator.kt | 8 import java.util.zip.ZipEntry in <lambda>() 93 private val ZipEntry.fileName: String in lookup() constant 96 private val ZipEntry.path: String in lookup() constant 99 private val ZipEntry.extension: String? in lookup() constant
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
D | ZipExtractorTask.java | 34 import java.util.zip.ZipEntry; 155 Enumeration<? extends ZipEntry> entries; in unzip() 165 ZipEntry entry = entries.nextElement(); in unzip() 206 Enumeration<? extends ZipEntry> entries = file.entries(); in getOriginalSize() 209 ZipEntry entry = entries.nextElement(); in getOriginalSize()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/downloader/ |
D | ZipFolderOpener.java | 27 import java.util.zip.ZipEntry; 55 ZipEntry zipEntry; in open() 83 default String getValidatedName(ZipEntry entry) throws ZipException { in getValidatedName()
|