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

1 2 3 4 5

  /bootable/recovery/minzip/
Zip.h 25 typedef struct ZipEntry {
36 } ZipEntry;
44 ZipEntry* pEntries;
45 HashTable* pHash; // maps file name to ZipEntry
78 const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive,
91 INLINE const ZipEntry*
104 mzGetZipEntryIndex(const ZipArchive *pArchive, const ZipEntry *pEntry) {
111 INLINE UnterminatedString mzGetZipEntryFileName(const ZipEntry* pEntry) {
117 INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) {
120 INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry)
    [all...]
  /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...]
  /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...]
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...]
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...]
  /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...]
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) {}
171 * Initialize the structure with the contents of a ZipEntry from
174 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
206 ZipEntry(const ZipEntry& src)
    [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...]
  /dalvik/libdex/
ZipArchive.h 27 * Trivial typedef to ensure that ZipEntry is not treated as a simple
30 typedef void* ZipEntry;
121 ZipEntry dexZipFindEntry(const ZipArchive* pArchive,
130 int dexZipGetEntryInfo(const ZipArchive* pArchive, ZipEntry entry,
138 const ZipEntry entry)
145 const ZipEntry entry)
152 const ZipEntry entry)
159 const ZipEntry entry)
172 const ZipEntry entry, int fd);
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
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...]
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...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipStreamTest.java 22 import java.util.zip.ZipEntry;
97 ZipEntry newEntry = new ZipEntry("file-" + i);
120 ZipEntry newEntry = new ZipEntry("file-" + i);
124 newEntry.setMethod(ZipEntry.STORED);
144 ZipEntry entry = in.getNextEntry();
ZipEntryTest.java 25 import java.util.zip.ZipEntry;
44 out.putNextEntry(new ZipEntry(filename));
56 ZipEntry entry;
75 ZipEntry clone = (ZipEntry) jarEntry.clone();
ZipFileTest.java 26 import java.util.zip.ZipEntry;
44 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
45 ZipEntry zipEntry = e.nextElement();
47 zipEntry.getCompressedSize() > (64 * 1024));
48 InputStream is = zipFile.getInputStream(zipEntry);
71 ZipEntry entry = new ZipEntry("random");
ZipOutputStreamTest.java 26 import java.util.zip.ZipEntry;
55 ZipEntry entry = new ZipEntry(name);
OldAndroidZipFileTest.java 25 import java.util.zip.ZipEntry;
84 ZipEntry newEntry = new ZipEntry("file-" + i);
107 ZipEntry entry = (ZipEntry) fileList.nextElement();
125 ZipEntry entry1, entry2;
  /libcore/luni/src/main/java/java/util/zip/
ZipFile.java 47 * @see ZipEntry
88 private final LinkedHashMap<String, ZipEntry> mEntries = new LinkedHashMap<String, ZipEntry>();
197 public Enumeration<? extends ZipEntry> entries() {
199 final Iterator<ZipEntry> iterator = mEntries.values().iterator();
201 return new Enumeration<ZipEntry>() {
207 public ZipEntry nextElement() {
219 * @return a {@code ZipEntry} or {@code null} if the entry name does not
223 public ZipEntry getEntry(String entryName) {
229 ZipEntry ze = mEntries.get(entryName)
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
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...]
  /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,
  /dalvik/dx/src/com/android/dx/cf/direct/
ClassPathOpener.java 26 import java.util.zip.ZipEntry;
211 ArrayList<? extends java.util.zip.ZipEntry> entriesList
215 Collections.sort(entriesList, new Comparator<ZipEntry>() {
216 public int compare (ZipEntry a, ZipEntry b) {
224 for (ZipEntry one : entriesList) {
  /development/tools/mkstubs/src/com/android/mkstubs/
AsmAnalyzer.java 29 import java.util.zip.ZipEntry;
48 Enumeration<? extends ZipEntry> entries = zip.entries();
49 ZipEntry entry;

Completed in 1274 milliseconds

1 2 3 4 5