HomeSort by relevance Sort by last modified time
    Searched full:zipentry (Results 1 - 25 of 269) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
ZipEntryTest.java 20 import java.util.zip.ZipEntry;
42 java.util.zip.ZipEntry zentry;
63 * @tests java.util.zip.ZipEntry#ZipEntry(java.lang.String)
66 // Test for method java.util.zip.ZipEntry(java.lang.String)
68 assertNotNull("Failed to create ZipEntry", zentry);
79 zentry = new ZipEntry(s.toString());
85 zentry = new ZipEntry(s.toString());
91 zentry = new ZipEntry(n);
98 * @tests java.util.zip.ZipEntry#getComment(
    [all...]
ZipOutputStreamTest.java 25 import java.util.zip.ZipEntry;
52 zos.putNextEntry(new ZipEntry("XX"));
58 zos.putNextEntry(new ZipEntry("myFile"));
67 ZipEntry ze = new ZipEntry("testEntry");
81 ZipEntry ze = new ZipEntry("test");
88 zos.putNextEntry(new ZipEntry("myFile"));
100 * @tests java.util.zip.ZipOutputStream#putNextEntry(java.util.zip.ZipEntry)
103 ZipEntry ze = new ZipEntry("testEntry")
    [all...]
  /system/core/libzipfile/
private.h 10 typedef struct Zipentry {
18 struct Zipentry* next;
19 } Zipentry;
36 Zipentry* entries;
zipfile.c 33 Zipentry* entry = file->entries;
35 Zipentry* next = entry->next;
46 Zipentry* entry = file->entries;
59 return ((Zipentry*)entry)->uncompressedSize;
65 Zipentry* e = (Zipentry*)entry;
118 Zipentry* entry = (Zipentry*)e;
135 Zipentry* entry = zip->entries;
150 Zipentry* entry = (Zipentry*)*cookie
    [all...]
  /external/proguard/src/proguard/io/
ZipDataEntry.java 36 private final ZipEntry zipEntry;
41 ZipEntry zipEntry,
45 this.zipEntry = zipEntry;
55 String name = zipEntry.getName()
69 return zipEntry.isDirectory();
JarReader.java 58 ZipEntry zipEntry = zipInputStream.getNextEntry();
59 if (zipEntry == null)
66 zipEntry,
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 30 import java.util.zip.ZipEntry;
48 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
49 ZipEntry zipEntry = e.nextElement();
51 zipEntry.getCompressedSize() > (64 * 1024));
52 InputStream is = zipFile.getInputStream(zipEntry);
99 out.putNextEntry(new ZipEntry(name2));
101 out.putNextEntry(new ZipEntry(name1));
132 ZipEntry outEntry = new ZipEntry(name)
    [all...]
ZipEntryTest.java 27 import java.util.zip.ZipEntry;
61 out.putNextEntry(new ZipEntry(filename));
73 ZipEntry entry;
90 ZipEntry clone = (ZipEntry) jarEntry.clone();
98 new ZipEntry(tooLongName);
109 out.putNextEntry(new ZipEntry(maxLengthName));
121 ZipEntry ze = new ZipEntry("x");
134 ZipEntry ze = new ZipEntry("x")
    [all...]
  /build/tools/zipalign/
ZipEntry.cpp 23 #include "ZipEntry.h"
33 * Initialize a new ZipEntry structure from a FILE* positioned at a
39 status_t ZipEntry::initFromCDE(FILE* fp)
112 void ZipEntry::initNew(const char* fileName, const char* comment)
139 * Initialize a new entry, starting with the ZipEntry from a different
144 status_t ZipEntry::initFromExternal(const ZipFile* pZipFile,
145 const ZipEntry* pEntry)
198 status_t ZipEntry::addPadding(int padding)
234 void ZipEntry::copyCDEtoLFH(void)
259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32
    [all...]
ZipFile.h 28 #include "ZipEntry.h"
81 ZipEntry** ppEntry)
86 int compressionMethod, ZipEntry** ppEntry)
89 ZipEntry::kCompressStored,
99 ZipEntry** ppEntry)
102 ZipEntry::kCompressDeflated,
103 ZipEntry::kCompressDeflated, ppEntry);
112 int compressionMethod, ZipEntry** ppEntry)
115 ZipEntry::kCompressStored,
126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry
    [all...]
ZipFile.cpp 135 ZipEntry* ZipFile::getEntryByIndex(int idx) const
146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const
161 ZipEntry* pEntry = mEntries[idx];
254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature)
309 ZipEntry* pEntry = new ZipEntry;
332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) {
349 * This requires creating and populating a ZipEntry structure, and copying
360 ZipEntry** ppEntry)
362 ZipEntry* pEntry = NULL
    [all...]
ZipEntry.h 20 // The ZipEntry class is tightly meshed with the ZipFile class.
35 * ZipEntry objects represent a single entry in a Zip archive.
40 * the likelihood of using ZipEntry objects after discarding the ZipFile.)
46 class ZipEntry {
50 ZipEntry(void)
53 ~ZipEntry(void) {}
166 * Initialize the structure with the contents of a ZipEntry from
169 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
206 ZipEntry(const ZipEntry& src)
    [all...]
  /frameworks/base/tools/aapt/
ZipEntry.cpp 23 #include "ZipEntry.h"
33 * Initialize a new ZipEntry structure from a FILE* positioned at a
39 status_t ZipEntry::initFromCDE(FILE* fp)
112 void ZipEntry::initNew(const char* fileName, const char* comment)
139 * Initialize a new entry, starting with the ZipEntry from a different
144 status_t ZipEntry::initFromExternal(const ZipFile* pZipFile,
145 const ZipEntry* pEntry)
198 status_t ZipEntry::addPadding(int padding)
234 void ZipEntry::copyCDEtoLFH(void)
259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32
    [all...]
ZipFile.h 28 #include "ZipEntry.h"
81 ZipEntry** ppEntry)
86 int compressionMethod, ZipEntry** ppEntry)
89 ZipEntry::kCompressStored,
99 ZipEntry** ppEntry)
102 ZipEntry::kCompressDeflated,
103 ZipEntry::kCompressDeflated, ppEntry);
112 int compressionMethod, ZipEntry** ppEntry)
115 ZipEntry::kCompressStored,
126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry
    [all...]
ZipFile.cpp 135 ZipEntry* ZipFile::getEntryByIndex(int idx) const
146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const
161 ZipEntry* pEntry = mEntries[idx];
254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature)
309 ZipEntry* pEntry = new ZipEntry;
332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) {
349 * This requires creating and populating a ZipEntry structure, and copying
360 ZipEntry** ppEntry)
362 ZipEntry* pEntry = NULL
    [all...]
  /bootable/recovery/minzip/
Zip.h 32 typedef struct ZipEntry {
43 } ZipEntry;
51 ZipEntry* pEntries;
52 HashTable* pHash; // maps file name to ZipEntry
85 const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive,
98 INLINE const ZipEntry*
111 mzGetZipEntryIndex(const ZipArchive *pArchive, const ZipEntry *pEntry) {
118 INLINE UnterminatedString mzGetZipEntryFileName(const ZipEntry* pEntry) {
124 INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) {
127 INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry)
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarInputStreamTest.java 29 import java.util.zip.ZipEntry;
170 ZipEntry entry = null;
186 ZipEntry zipEntry = null;
189 while (count == 0 || zipEntry != null) {
192 zipEntry = jin.getNextEntry();
234 ZipEntry zipEntry = null;
237 while (count == 0 || zipEntry != null) {
240 zipEntry = jin.getNextEntry()
    [all...]
JarFileTest.java 33 import java.util.zip.ZipEntry;
318 ZipEntry entry = new ZipEntry("META-INF/");
321 entry = new ZipEntry(JarFile.MANIFEST_NAME);
325 entry = new ZipEntry("myfile");
348 * @tests java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
379 * @tests java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
439 ZipEntry zipEntry = entries.nextElement();
440 jarFile.getInputStream(zipEntry);
    [all...]
ZipExecTest.java 27 import java.util.zip.ZipEntry;
52 zout.putNextEntry(new ZipEntry("foo/bar/execjartest/" + zipClass + ".class"));
56 zout.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
91 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
93 zoutFoo.putNextEntry(new ZipEntry("foo/bar/execjartest/Foo.class"));
98 zoutBar.putNextEntry(new ZipEntry("foo/bar/execjartest/Bar.class"));
113 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
115 zoutFoo.putNextEntry(new ZipEntry("foo/bar/execjartest/Foo.class"));
127 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
129 zoutFoo.putNextEntry(new ZipEntry("foo/bar/execjartest/Foo.class"))
    [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/luni/src/main/java/java/util/jar/
JarOutputStream.java 22 import java.util.zip.ZipEntry;
51 ZipEntry ze = new ZipEntry(JarFile.MANIFEST_NAME);
75 * the {@code ZipEntry} to write to.
78 * @see ZipEntry
81 public void putNextEntry(ZipEntry ze) throws IOException {
JarFile.java 27 import java.util.zip.ZipEntry;
52 private ZipEntry manifestEntry;
61 private ZipEntry zipEntry;
67 JarFileInputStream(InputStream is, ZipEntry ze,
70 zipEntry = ze;
71 count = zipEntry.getSize();
237 Enumeration<? extends ZipEntry> ze;
241 JarFileEnumerator(Enumeration<? extends ZipEntry> zenum, JarFile jf) {
318 ZipEntry[] metaEntries = getMetaEntriesImpl()
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarFileTest.java 40 import java.util.zip.ZipEntry;
482 ZipEntry entry = new ZipEntry("META-INF/");
485 entry = new ZipEntry(JarFile.MANIFEST_NAME);
489 entry = new ZipEntry("myfile");
526 * java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
645 ZipEntry zipEntry = entries.nextElement();
646 jarFile.getInputStream(zipEntry);
658 ZipEntry zipEntry = entries.nextElement()
    [all...]
  /frameworks/base/core/java/com/android/internal/content/
PackageHelper.java 32 import java.util.zip.ZipEntry;
229 for (final ZipEntry zipEntry : Collections.list(privateZip.entries())) {
230 final String zipEntryName = zipEntry.getName();
234 size += zipEntry.getSize();
236 copyZipEntry(zipEntry, privateZip, publicZipOutStream);
259 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile,
264 ZipEntry newEntry;
265 if (zipEntry.getMethod() == ZipEntry.STORED)
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
ZipEntry.java 37 * {@link ZipOutputStream} shows how {@code ZipEntry} is used in conjunction with those two classes.
39 public class ZipEntry implements ZipConstants, Cloneable {
68 * Constructs a new {@code ZipEntry} with the specified name. The name is actually a path,
74 public ZipEntry(String name) {
85 * Returns the comment for this {@code ZipEntry}, or {@code null} if there is no comment.
93 * Gets the compressed size of this {@code ZipEntry}.
103 * Gets the checksum for this {@code ZipEntry}.
112 * Gets the extra information for this {@code ZipEntry}.
122 * Gets the compression method for this {@code ZipEntry}.
132 * Gets the name of this {@code ZipEntry}
    [all...]

Completed in 1045 milliseconds

1 2 3 4 5 6 7 8 91011