Home
last modified time | relevance | path

Searched refs:pEntry (Results 1 – 5 of 5) sorted by relevance

/build/tools/zipalign/
DZipAlign.cpp50 ZipEntry* pEntry; in copyAndAlign() local
58 pEntry = pZin->getEntryByIndex(i); in copyAndAlign()
59 if (pEntry == NULL) { in copyAndAlign()
64 if (pEntry->isCompressed()) { in copyAndAlign()
76 long newOffset = pEntry->getFileOffset() + bias; in copyAndAlign()
84 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
157 ZipEntry* pEntry; in verify() local
160 pEntry = zipFile.getEntryByIndex(i); in verify()
161 if (pEntry->isCompressed()) { in verify()
164 (long) pEntry->getFileOffset(), pEntry->getFileName()); in verify()
[all …]
DZipFile.cpp161 ZipEntry* pEntry = mEntries[idx]; in getEntryByName() local
162 if (!pEntry->getDeleted() && in getEntryByName()
163 strcmp(fileName, pEntry->getFileName()) == 0) in getEntryByName()
165 return pEntry; in getEntryByName()
309 ZipEntry* pEntry = new ZipEntry; in readCentralDir() local
311 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
314 delete pEntry; in readCentralDir()
318 mEntries.add(pEntry); in readCentralDir()
362 ZipEntry* pEntry = NULL; in addCommon() local
394 pEntry = new ZipEntry; in addCommon()
[all …]
DZipEntry.cpp145 const ZipEntry* pEntry) in initFromExternal() argument
150 memcpy(&mCDE, &pEntry->mCDE, sizeof(mCDE)); in initFromExternal()
156 strcpy((char*) mCDE.mFileName, (char*)pEntry->mCDE.mFileName); in initFromExternal()
162 strcpy((char*) mCDE.mFileComment, (char*)pEntry->mCDE.mFileComment); in initFromExternal()
169 memcpy(mCDE.mExtraField, pEntry->mCDE.mExtraField, in initFromExternal()
181 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; in initFromExternal()
186 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField, in initFromExternal()
DZipFile.h134 status_t remove(ZipEntry* pEntry);
150 void* uncompress(const ZipEntry* pEntry);
DZipEntry.h169 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);