Home
last modified time | relevance | path

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

12

/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DZipOutputStreamTest.java31 import java.util.zip.ZipEntry;
65 zos.putNextEntry(new ZipEntry("XX")); in test_close()
71 zos.putNextEntry(new ZipEntry("myFile")); in test_close()
86 ZipEntry ze = new ZipEntry("testEntry"); in test_closeEntry()
93 ze = new ZipEntry("testEntry1"); in test_closeEntry()
113 ZipEntry ze = new ZipEntry("test"); in test_finish()
120 zos.putNextEntry(new ZipEntry("myFile")); in test_finish()
138 args = {java.util.zip.ZipEntry.class}
141 ZipEntry ze = new ZipEntry("testEntry"); in test_putNextEntryLjava_util_zip_ZipEntry()
148 ZipEntry ze2 = zis.getNextEntry(); in test_putNextEntryLjava_util_zip_ZipEntry()
[all …]
DZipEntryTest.java32 import java.util.zip.ZipEntry;
34 @TestTargetClass(ZipEntry.class)
53 java.util.zip.ZipEntry zentry;
96 zentry = new ZipEntry(s.toString()); in test_ConstructorLjava_lang_String()
102 zentry = new ZipEntry(s.toString()); in test_ConstructorLjava_lang_String()
108 zentry = new ZipEntry(n); in test_ConstructorLjava_lang_String()
125 ZipEntry zipEntry = new ZipEntry("zippy.zip"); in test_getComment()
174 zentry = new ZipEntry("test.tst"); in test_getExtra()
193 zentry.getMethod() == java.util.zip.ZipEntry.STORED); in test_getMethod()
196 zentry.getMethod() == java.util.zip.ZipEntry.DEFLATED); in test_getMethod()
[all …]
DZipFileTest.java37 import java.util.zip.ZipEntry;
175 protected ZipEntry test_finalize1(ZipFile zip) { in test_finalize1()
265 Enumeration<? extends ZipEntry> enumer = zfile.entries(); in test_entries()
274 Enumeration<? extends ZipEntry> enumeration = zfile.entries(); in test_entries()
300 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String()
331 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_AndroidOnly()
360 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex()
382 args = {java.util.zip.ZipEntry.class}
387 ZipEntry zentry = null; in test_getInputStreamLjava_util_zip_ZipEntry()
DZipInputStreamTest.java35 import java.util.zip.ZipEntry;
43 private ZipEntry zentry;
62 ZipEntry entry = new ZipEntry("myFile"); in setUp()
358 ZipEntry entry = zis1.getNextEntry(); in test_available()
396 protected ZipEntry createZipEntry(String name) { in createZipEntry()
/dalvik/libcore/archive/src/main/java/java/util/zip/
DZipFile.java109 mEntryList = new ArrayList<ZipEntry>(); in ZipFile()
117 mFastLookup = new HashMap<String, ZipEntry>(mEntryList.size() * 2); in ZipFile()
119 ZipEntry entry = mEntryList.get(i); in ZipFile()
178 public Enumeration<? extends ZipEntry> entries() { in entries()
179 return new Enumeration<ZipEntry>() { in entries()
187 public ZipEntry nextElement() { in entries()
191 return (ZipEntry) mEntryList.get(i++); in entries()
205 public ZipEntry getEntry(String entryName) { in getEntry()
207 ZipEntry ze = mFastLookup.get(entryName); in getEntry()
224 public InputStream getInputStream(ZipEntry entry) throws IOException { in getInputStream()
[all …]
DZipEntry.java44 public class ZipEntry implements ZipConstants, Cloneable { class
118 public ZipEntry(String name) { in ZipEntry() method in ZipEntry
409 public ZipEntry(ZipEntry ze) { in ZipEntry() method in ZipEntry
443 return new ZipEntry(this); in clone()
467 /*package*/ ZipEntry(LittleEndianReader ler, InputStream in) throws IOException { in ZipEntry() method in ZipEntry
DZipInputStream.java73 ZipEntry currentEntry;
184 public ZipEntry getNextEntry() throws IOException { in getNextEntry()
398 protected ZipEntry createZipEntry(String name) { in createZipEntry()
399 return new ZipEntry(name); in createZipEntry()
/dalvik/libdex/
DZipArchive.h30 typedef void* ZipEntry; typedef
118 ZipEntry dexZipFindEntry(const ZipArchive* pArchive,
125 bool dexZipGetEntryInfo(const ZipArchive* pArchive, ZipEntry entry,
133 const ZipEntry entry) in dexGetZipEntryOffset()
140 const ZipEntry entry) in dexGetZipEntryUncompLen()
147 const ZipEntry entry) in dexGetZipEntryModTime()
154 const ZipEntry entry) in dexGetZipEntryCrc32()
165 const ZipEntry entry, int fd);
DZipArchive.c69 static int entryToIndex(const ZipArchive* pArchive, const ZipEntry entry) in entryToIndex()
371 ZipEntry dexZipFindEntry(const ZipArchive* pArchive, const char* entryName) in dexZipFindEntry()
383 return (ZipEntry) (ent + kZipEntryAdj); in dexZipFindEntry()
400 ZipEntry findEntryByIndex(ZipArchive* pArchive, int idx)
411 return (ZipEntry) (ent + kZipEntryAdj);
425 bool dexZipGetEntryInfo(const ZipArchive* pArchive, ZipEntry entry, in dexZipGetEntryInfo()
601 const ZipEntry entry, int fd) in dexZipExtractEntryToFile()
DCmdUtils.c40 ZipEntry entry; in dexUnzipToFile()
/dalvik/libcore/archive/src/main/java/java/util/jar/
DJarFile.java34 import java.util.zip.ZipEntry;
60 private ZipEntry manifestEntry;
71 private ZipEntry zipEntry;
79 JarFileInputStream(InputStream is, ZipEntry ze, JarVerifier ver) { in JarFileInputStream()
248 Enumeration<? extends ZipEntry> ze; in entries()
252 JarFileEnumerator(Enumeration<? extends ZipEntry> zenum, JarFile jf) { in entries()
344 ZipEntry[] metaEntries = getMetaEntriesImpl(null); in readMetaEntries()
350 for (ZipEntry entry : metaEntries) { in readMetaEntries()
391 public InputStream getInputStream(ZipEntry ze) throws IOException { in getInputStream()
429 public ZipEntry getEntry(String name) { in getEntry()
[all …]
DJarOutputStream.java22 import java.util.zip.ZipEntry;
53 ZipEntry ze = new ZipEntry(JarFile.MANIFEST_NAME); in JarOutputStream()
85 public void putNextEntry(ZipEntry ze) throws IOException { in putNextEntry()
DJarInputStream.java24 import java.util.zip.ZipEntry;
200 public ZipEntry getNextEntry() throws IOException { in getNextEntry()
225 protected ZipEntry createZipEntry(String name) { in createZipEntry()
DJarEntry.java29 import java.util.zip.ZipEntry;
39 public class JarEntry extends ZipEntry {
69 public JarEntry(ZipEntry entry) { in JarEntry()
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DZipExecTest.java35 import java.util.zip.ZipEntry;
50 args = {java.util.zip.ZipEntry.class}
66 zout.putNextEntry(new ZipEntry("foo/bar/execjartest/" + zipClass in test_1562()
71 zout.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); in test_1562()
115 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); in test_zip_class_path()
117 zoutFoo.putNextEntry(new ZipEntry("foo/bar/execjartest/Foo.class")); in test_zip_class_path()
123 zoutBar.putNextEntry(new ZipEntry("foo/bar/execjartest/Bar.class")); in test_zip_class_path()
139 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); in test_zip_class_path()
141 zoutFoo.putNextEntry(new ZipEntry("foo/bar/execjartest/Foo.class")); in test_zip_class_path()
156 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); in test_zip_class_path()
[all …]
DJarFileTest.java42 import java.util.zip.ZipEntry;
499 ZipEntry entry = new ZipEntry("META-INF/"); in test_getManifest()
502 entry = new ZipEntry(JarFile.MANIFEST_NAME); in test_getManifest()
506 entry = new ZipEntry("myfile"); in test_getManifest()
550 args = {java.util.zip.ZipEntry.class}
628 args = {java.util.zip.ZipEntry.class}
715 ZipEntry zipEntry = entries.nextElement(); in test_Jar_created_before_java_5()
734 ZipEntry zipEntry = entries.nextElement(); in test_JarFile_Integrate_Jar()
758 ZipEntry zipEntry = entries.nextElement(); in test_JarFile_InsertEntry_in_Manifest_Jar()
785 ZipEntry zipEntry = entries.nextElement(); in test_Inserted_Entry_Manifest_with_DigestCode()
[all …]
DJarInputStreamTest.java36 import java.util.zip.ZipEntry;
229 ZipEntry entry = null; in test_JarInputStream_Integrate_Jar_getNextEntry()
250 ZipEntry zipEntry = null; in test_JarInputStream_Modified_Class_getNextEntry()
283 ZipEntry zipEntry = null; in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry()
317 ZipEntry zipEntry = null; in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry()
349 ZipEntry zipEntry = null; in test_JarInputStream_Modified_SF_EntryAttributes_getNextEntry()
380 ZipEntry zipEntry = null; in test_JarInputStream_Modified_Class_read()
414 ZipEntry zipEntry = null; in test_Integrate_Jar_read()
442 ZipEntry zipEntry = null; in test_JarInputStream_Modified_Manifest_MainAttributes_read()
478 ZipEntry zipEntry = null; in test_JarInputStream_Modified_SF_EntryAttributes_read()
[all …]
DJarOutputStreamTest.java35 import java.util.zip.ZipEntry;
49 args = {java.util.zip.ZipEntry.class}
180 ZipEntry ze = new ZipEntry("Test"); in test_JarOutputStreamLjava_io_OutputStream()
DJarEntryTest.java33 import java.util.zip.ZipEntry;
40 private ZipEntry zipEntry;
81 args = {java.util.zip.ZipEntry.class}
DDalvikExecTest.java125 args = {java.util.zip.ZipEntry.class}
182 args = {java.util.zip.ZipEntry.class}
/dalvik/dx/src/com/android/dx/cf/direct/
DClassPathOpener.java26 import java.util.zip.ZipEntry;
210 ArrayList<? extends java.util.zip.ZipEntry> entriesList in processArchive()
214 Collections.sort(entriesList, new Comparator<ZipEntry>() { in processArchive()
215 public int compare (ZipEntry a, ZipEntry b) { in processArchive()
223 for (ZipEntry one: entriesList) { in processArchive()
/dalvik/vm/
DJarFile.c90 ZipEntry entry; in dvmDexCacheStatus()
227 ZipEntry entry; in dvmJarFileOpen()
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
DTouchDexLoader.java26 import java.util.zip.ZipEntry;
273 ZipEntry entry; in loadFromArchive()
DPathClassLoader.java29 import java.util.zip.ZipEntry;
374 ZipEntry entry; in loadFromArchive()
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DSerializationStressTest5.java31 import java.util.zip.ZipEntry;
333 ZipEntry ze = null; in findClassFilesFromZip()

12