Home
last modified time | relevance | path

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

/build/tools/zipalign/
DZipEntry.cpp40 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE()
113 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew()
145 status_t ZipEntry::initFromExternal(const ZipEntry* pEntry) in initFromExternal()
198 status_t ZipEntry::addPadding(int padding) in addPadding()
234 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH()
259 void ZipEntry::setDataInfo(long uncompLen, long compLen, uint32_t crc32, in setDataInfo()
280 bool ZipEntry::compareHeaders(void) const in compareHeaders()
338 time_t ZipEntry::getModWhen(void) const in getModWhen()
357 void ZipEntry::setModWhen(time_t when) in setModWhen()
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read()
[all …]
DZipFile.h81 ZipEntry** ppEntry) in add()
86 int compressionMethod, ZipEntry** ppEntry) in add()
89 ZipEntry::kCompressStored, in add()
99 ZipEntry** ppEntry) in addGzip()
102 ZipEntry::kCompressDeflated, in addGzip()
103 ZipEntry::kCompressDeflated, ppEntry); in addGzip()
112 int compressionMethod, ZipEntry** ppEntry) in add()
115 ZipEntry::kCompressStored, in add()
126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
127 int padding, ZipEntry** ppEntry);
[all …]
DZipFile.cpp138 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
149 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
164 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
257 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
312 ZipEntry* pEntry = new ZipEntry; in readCentralDir()
335 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
363 ZipEntry** ppEntry) in addCommon()
365 ZipEntry* pEntry = NULL; in addCommon()
375 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
376 compressionMethod == ZipEntry::kCompressStored); in addCommon()
[all …]
DZipEntry.h47 class ZipEntry {
51 ZipEntry(void) in ZipEntry() function
54 ~ZipEntry(void) {} in ~ZipEntry()
170 status_t initFromExternal(const ZipEntry* pEntry);
207 ZipEntry(const ZipEntry& src);
208 ZipEntry& operator=(const ZipEntry& src);
DZipAlign.cpp47 ZipEntry* pEntry) { in getAlignment()
70 ZipEntry* pEntry; in copyAndAlign()
75 ZipEntry* pNewEntry; in copyAndAlign()
186 ZipEntry* pEntry; in verify()
DAndroid.mk12 ZipEntry.cpp \
/build/tools/ziptime/
DZipEntry.cpp44 status_t ZipEntry::initAndRewriteFromCDE(FILE* fp) in initAndRewriteFromCDE()
87 status_t ZipEntry::LocalFileHeader::rewrite(FILE* fp) in rewrite()
95 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
100 ZipEntry::putShortLE(&buf[0x0a], STATIC_TIME); in rewrite()
101 ZipEntry::putShortLE(&buf[0x0c], STATIC_DATE); in rewrite()
125 status_t ZipEntry::CentralDirEntry::rewrite(FILE* fp) in rewrite()
134 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
139 ZipEntry::putShortLE(&buf[0x0c], STATIC_TIME); in rewrite()
140 ZipEntry::putShortLE(&buf[0x0e], STATIC_DATE); in rewrite()
142 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()
DAndroid.mk26 ZipEntry.cpp \