HomeSort by relevance Sort by last modified time
    Searched refs:zipEntry (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /external/proguard/src/proguard/io/
JarReader.java 58 ZipEntry zipEntry = zipInputStream.getNextEntry();
59 if (zipEntry == null)
66 zipEntry,
ZipDataEntry.java 36 private final ZipEntry zipEntry;
42 ZipEntry zipEntry,
46 this.zipEntry = zipEntry;
56 String name = zipEntry.getName()
70 return zipEntry.isDirectory();
  /external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
UnitTestZipArchive.java 29 import java.util.zip.ZipEntry;
160 ZipEntry zipEntry = new ZipEntry(unitTestEntry.path);
165 zipEntry.setCrc(crc32.getValue());
166 zipEntry.setSize(uncompressedContent.length);
169 zipEntry.setCompressedSize(uncompressedContent.length);
174 zipEntry.setTime(0);
176 zipEntry.setComment(unitTestEntry.comment);
178 zipOut.putNextEntry(zipEntry);
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/jar/
OldJarEntryTest.java 24 import java.util.zip.ZipEntry;
30 private ZipEntry zipEntry;
69 * java.util.jar.JarEntry#JarEntry(java.util.zip.ZipEntry)
73 zipEntry = jarFile.getEntry(entryName);
74 assertNotNull("Zip entry is null", zipEntry);
75 jarEntry = new JarEntry(zipEntry);
103 zipEntry = jarFile.getEntry(entryName);
104 assertNotNull("Zip entry is null", zipEntry);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarInputStreamTest.java 30 import java.util.zip.ZipEntry;
162 ZipEntry entry = null;
178 ZipEntry zipEntry = null;
181 while (count == 0 || zipEntry != null) {
184 zipEntry = jin.getNextEntry();
226 ZipEntry zipEntry = null;
229 while (count == 0 || zipEntry != null) {
232 zipEntry = jin.getNextEntry()
    [all...]
JarEntryTest.java 27 import java.util.zip.ZipEntry;
33 private ZipEntry zipEntry;
86 zipEntry = jarFile.getEntry(entryName);
87 assertNotNull("Zip entry is null", zipEntry);
88 jarEntry = new JarEntry(zipEntry);
119 zipEntry = jarFile.getEntry(entryName2);
120 jarEntry = new JarEntry(zipEntry);
JarFileTest.java 53 import java.util.zip.ZipEntry;
503 ZipEntry entry = new ZipEntry("META-INF/");
506 entry = new ZipEntry(JarFile.MANIFEST_NAME);
510 entry = new ZipEntry("myfile");
547 * java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
772 ZipEntry zipEntry = entries.nextElement();
773 jarFile.getInputStream(zipEntry);
785 ZipEntry zipEntry = entries.nextElement()
    [all...]
  /frameworks/base/libs/androidfw/
ZipFileRO.cpp 41 ZipEntry entry;
104 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
105 const ZipEntry& ze = zipEntry->entry;
181 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
182 const uint16_t requiredSize = zipEntry->name.name_length + 1;
189 memcpy(buffer, zipEntry->name.name, requiredSize - 1);
200 const _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
201 const ZipEntry& ze = zipEntry->entry
    [all...]
  /libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/
TzDataBundleBuilder.java 23 import java.util.zip.ZipEntry;
112 ZipEntry zipEntry = new ZipEntry(name);
113 zipEntry.setSize(content.length);
114 zos.putNextEntry(zipEntry);
  /cts/tests/tests/util/src/android/util/cts/
StrictJarFileTest.java 31 import java.util.zip.ZipEntry;
71 Iterator<ZipEntry> it = jarFile.iterator();
72 HashMap<String, ZipEntry> entries = new HashMap<String, ZipEntry>();
74 final ZipEntry ze = it.next();
82 ZipEntry ze = entries.get("META-INF/MANIFEST.MF");
84 assertEquals(ZipEntry.DEFLATED, ze.getMethod());
90 assertEquals(ZipEntry.DEFLATED, ze.getMethod());
100 assertEquals(ZipEntry.DEFLATED, ze.getMethod());
111 final ZipEntry ze = jarFile.findEntry("Blah.txt")
    [all...]
  /libcore/tzdata/update/src/test/libcore/tzdata/update/
ConfigBundleTest.java 29 import java.util.zip.ZipEntry;
107 ZipEntry zipEntry = new ZipEntry(name);
108 zipOutputStream.putNextEntry(zipEntry);
109 if (!zipEntry.isDirectory()) {
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESCipherNistCavpKatTest.java 31 import java.util.zip.ZipEntry;
138 ZipEntry zipEntry;
140 while ((zipEntry = zipIn.getNextEntry()) != null) {
141 String entryName = zipEntry.getName();
145 entryContents = new byte[(int) zipEntry.getSize()];
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DexFileFactory.java 49 import java.util.zip.ZipEntry;
92 ZipEntry zipEntry = zipFile.getEntry(zipEntryName);
93 if (zipEntry == null) {
96 long fileLength = zipEntry.getSize();
105 ByteStreams.readFully(zipFile.getInputStream(zipEntry), dexBytes);
  /frameworks/base/core/java/com/android/internal/content/
PackageHelper.java 49 import java.util.zip.ZipEntry;
270 for (final ZipEntry zipEntry : Collections.list(privateZip.entries())) {
271 final String zipEntryName = zipEntry.getName();
275 size += zipEntry.getSize();
277 copyZipEntry(zipEntry, privateZip, publicZipOutStream);
300 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile,
305 ZipEntry newEntry;
306 if (zipEntry.getMethod() == ZipEntry.STORED)
    [all...]
  /libcore/benchmarks/src/benchmarks/
ZipFileBenchmark.java 26 import java.util.zip.ZipEntry;
43 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
44 ZipEntry zipEntry = e.nextElement();
64 ZipEntry ze = new ZipEntry(Integer.toHexString(entry));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
ZipEntryTest.java 24 import java.util.zip.ZipEntry;
31 private ZipEntry zentry;
40 * java.util.zip.ZipEntry#ZipEntry(java.lang.String)
43 // Test for method java.util.zip.ZipEntry(java.lang.String)
45 assertNotNull("Failed to create ZipEntry", zentry);
56 zentry = new ZipEntry(s.toString());
62 zentry = new ZipEntry(s.toString());
68 zentry = new ZipEntry(n);
75 * java.util.zip.ZipEntry#getComment(
    [all...]
  /frameworks/base/core/jni/
com_android_internal_content_NativeLibraryHelper.cpp 156 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*)
161 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) {
176 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName)
192 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) {
263 if (!zipFile->uncompressEntry(zipEntry, fd)) {
  /libcore/luni/src/test/java/libcore/java/util/zip/
AbstractZipFileTest.java 32 import java.util.zip.ZipEntry;
54 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
55 ZipEntry zipEntry = e.nextElement();
57 zipEntry.getCompressedSize() > (64 * 1024));
58 InputStream is = zipFile.getInputStream(zipEntry);
105 out.putNextEntry(new ZipEntry(name2));
107 out.putNextEntry(new ZipEntry(name1));
138 ZipEntry outEntry = new ZipEntry(name)
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/24.4.0-beta3/
asset-studio-24.4.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/24.4.0-beta6/
asset-studio-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/24.5.0/
asset-studio-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/25.0.0/
asset-studio-25.0.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/25.0.0-alpha1/
asset-studio-25.0.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/25.0.0-alpha3/
asset-studio-25.0.0-alpha3.jar 
  /prebuilts/gradle-plugin/com/android/tools/asset-studio/25.0.0-alpha5/
asset-studio-25.0.0-alpha5.jar 

Completed in 540 milliseconds

1 2 3 4 5 6 7 8 910