Home
last modified time | relevance | path

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

/build/make/tools/zipalign/
DZipEntry.cpp43 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE()
112 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(uint32_t uncompLen, uint32_t 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()
400 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.cpp139 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
150 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
165 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
249 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
301 ZipEntry* pEntry = new ZipEntry; in readCentralDir()
327 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
351 const char* storageName, int compressionMethod, ZipEntry** ppEntry) in addCommon()
353 ZipEntry* pEntry = NULL; in addCommon()
362 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
363 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.cpp28 static bool isDirectory(ZipEntry* entry) { in isDirectory()
40 ZipEntry* pEntry, int pageSize) { in getAlignment()
60 ZipEntry* pEntry; in copyAndAlign()
64 ZipEntry* pNewEntry; in copyAndAlign()
167 ZipEntry* pEntry; in verify()
DAndroid.bp25 "ZipEntry.cpp",
/build/make/tools/ziptime/
DZipEntry.cpp44 status_t ZipEntry::initAndRewriteFromCDE(FILE* fp) in initAndRewriteFromCDE()
84 status_t ZipEntry::LocalFileHeader::rewrite(FILE* fp) in rewrite()
91 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
96 ZipEntry::putShortLE(&buf[0x0a], STATIC_TIME); in rewrite()
97 ZipEntry::putShortLE(&buf[0x0c], STATIC_DATE); in rewrite()
121 status_t ZipEntry::CentralDirEntry::rewrite(FILE* fp) in rewrite()
129 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in rewrite()
134 ZipEntry::putShortLE(&buf[0x0c], STATIC_TIME); in rewrite()
135 ZipEntry::putShortLE(&buf[0x0e], STATIC_DATE); in rewrite()
137 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.cpp109 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in rewriteCentralDir()
150 ZipEntry* pEntry = new ZipEntry; in rewriteCentralDir()
167 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in rewriteCentralDir()
199 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) in readBuf()
202 diskNumber = ZipEntry::getShortLE(&buf[0x04]); in readBuf()
203 diskWithCentralDir = ZipEntry::getShortLE(&buf[0x06]); in readBuf()
204 numEntries = ZipEntry::getShortLE(&buf[0x08]); in readBuf()
205 mTotalNumEntries = ZipEntry::getShortLE(&buf[0x0a]); in readBuf()
206 mCentralDirOffset = ZipEntry::getLongLE(&buf[0x10]); in readBuf()
DAndroid.bp29 "ZipEntry.cpp",
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java95 import java.util.zip.ZipEntry;
618 ZipEntry pinMetaEntry = in.getEntry(Hints.PIN_HINT_ASSET_ZIP_ENTRY_NAME); in extractPinPatterns()