Home
last modified time | relevance | path

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

/build/tools/zipalign/
DZipAlign.cpp51 ZipEntry* pEntry; in copyAndAlign() local
59 pEntry = pZin->getEntryByIndex(i); in copyAndAlign()
60 if (pEntry == NULL) { in copyAndAlign()
65 if (pEntry->isCompressed()) { in copyAndAlign()
72 status = pZout->addRecompress(pZin, pEntry, &pNewEntry); in copyAndAlign()
73 bias += pNewEntry->getCompressedLen() - pEntry->getCompressedLen(); in copyAndAlign()
75 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
83 long newOffset = pEntry->getFileOffset() + bias; in copyAndAlign()
89 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
164 ZipEntry* pEntry; in verify() local
[all …]
DZipFile.cpp163 ZipEntry* pEntry = mEntries[idx]; in getEntryByName() local
164 if (!pEntry->getDeleted() && in getEntryByName()
165 strcmp(fileName, pEntry->getFileName()) == 0) in getEntryByName()
167 return pEntry; in getEntryByName()
311 ZipEntry* pEntry = new ZipEntry; in readCentralDir() local
313 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
316 delete pEntry; in readCentralDir()
320 mEntries.add(pEntry); in readCentralDir()
364 ZipEntry* pEntry = NULL; in addCommon() local
396 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.h143 status_t remove(ZipEntry* pEntry);
159 void* uncompress(const ZipEntry* pEntry) const;
DZipEntry.h169 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);