Home
last modified time | relevance | path

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

/build/make/tools/zipalign/
DZipEntry.cpp41 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE()
114 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew()
147 status_t ZipEntry::initFromExternal(const ZipEntry* pEntry) in initFromExternal()
200 status_t ZipEntry::addPadding(int padding) in addPadding()
236 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH()
261 void ZipEntry::setDataInfo(uint32_t uncompLen, uint32_t compLen, uint32_t crc32, in setDataInfo()
282 bool ZipEntry::compareHeaders(void) const in compareHeaders()
340 time_t ZipEntry::getModWhen(void) const in getModWhen()
359 void ZipEntry::setModWhen(time_t when) in setModWhen()
404 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read()
[all …]
DZipFile.h81 ZipEntry** ppEntry) in add()
86 int compressionMethod, ZipEntry** ppEntry) in add()
98 int compressionMethod, ZipEntry** ppEntry) in add()
111 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
112 int alignment, ZipEntry** ppEntry);
120 status_t addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
121 ZipEntry** ppEntry);
128 status_t remove(ZipEntry* pEntry);
144 void* uncompress(const ZipEntry* pEntry) const;
151 ZipEntry* getEntryByName(const char* fileName) const;
[all …]
DZipFile.cpp137 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
148 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
163 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
260 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
315 ZipEntry* pEntry = new ZipEntry; in readCentralDir()
342 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
369 const char* storageName, int compressionMethod, ZipEntry** ppEntry) in addCommon()
371 ZipEntry* pEntry = NULL; in addCommon()
381 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
382 compressionMethod == ZipEntry::kCompressStored); in addCommon()
[all …]
DZipEntry.h48 class ZipEntry {
52 ZipEntry(void) in ZipEntry() function
55 ~ZipEntry(void) {} in ~ZipEntry()
171 status_t initFromExternal(const ZipEntry* pEntry);
208 ZipEntry(const ZipEntry& src);
209 ZipEntry& operator=(const ZipEntry& src);
DZipAlign.cpp26 ZipEntry* pEntry) { in getAlignment()
49 ZipEntry* pEntry; in copyAndAlign()
53 ZipEntry* pNewEntry; in copyAndAlign()
154 ZipEntry* pEntry; in verify()
DAndroid.bp25 "ZipEntry.cpp",
/build/make/tools/ziptime/
DZipEntry.cpp44 status_t ZipEntry::initAndRewriteFromCDE(FILE* fp) in initAndRewriteFromCDE()
87 status_t ZipEntry::LocalFileHeader::rewrite(FILE* fp) in rewrite()
94 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
99 ZipEntry::putShortLE(&buf[0x0a], STATIC_TIME); in rewrite()
100 ZipEntry::putShortLE(&buf[0x0c], STATIC_DATE); in rewrite()
124 status_t ZipEntry::CentralDirEntry::rewrite(FILE* fp) in rewrite()
132 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
137 ZipEntry::putShortLE(&buf[0x0c], STATIC_TIME); in rewrite()
138 ZipEntry::putShortLE(&buf[0x0e], STATIC_DATE); in rewrite()
140 fileNameLength = ZipEntry::getShortLE(&buf[0x1c]); in rewrite()
[all …]
DZipEntry.h42 class ZipEntry {
46 ZipEntry(void) {} in ZipEntry() function
47 ~ZipEntry(void) {} in ~ZipEntry()
73 ZipEntry(const ZipEntry& src);
74 ZipEntry& operator=(const ZipEntry& src);
DZipFile.cpp123 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in rewriteCentralDir()
167 ZipEntry* pEntry = new ZipEntry; in rewriteCentralDir()
189 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in rewriteCentralDir()
224 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) in readBuf()
227 diskNumber = ZipEntry::getShortLE(&buf[0x04]); in readBuf()
228 diskWithCentralDir = ZipEntry::getShortLE(&buf[0x06]); in readBuf()
229 numEntries = ZipEntry::getShortLE(&buf[0x08]); in readBuf()
230 mTotalNumEntries = ZipEntry::getShortLE(&buf[0x0a]); in readBuf()
231 mCentralDirOffset = ZipEntry::getLongLE(&buf[0x10]); in readBuf()
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java88 import java.util.zip.ZipEntry;
591 ZipEntry pinMetaEntry = in.getEntry(Hints.PIN_HINT_ASSET_ZIP_ENTRY_NAME); in extractPinPatterns()