Home
last modified time | relevance | path

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

/build/make/tools/zipalign/
DZipAlign.cpp48 ZipEntry* pEntry) { in getAlignment() argument
56 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment()
71 ZipEntry* pEntry; in copyAndAlign() local
79 pEntry = pZin->getEntryByIndex(i); in copyAndAlign()
80 if (pEntry == NULL) { in copyAndAlign()
85 if (pEntry->isCompressed()) { in copyAndAlign()
92 status = pZout->addRecompress(pZin, pEntry, &pNewEntry); in copyAndAlign()
93 bias += pNewEntry->getCompressedLen() - pEntry->getCompressedLen(); in copyAndAlign()
95 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
98 const int alignTo = getAlignment(pageAlignSharedLibs, alignment, pEntry); in copyAndAlign()
[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()
363 ZipEntry* pEntry = NULL; in addCommon() local
395 pEntry = new ZipEntry; in addCommon()
[all …]
DZipEntry.cpp147 status_t ZipEntry::initFromExternal(const ZipEntry* pEntry) in initFromExternal() argument
152 memcpy(&mCDE, &pEntry->mCDE, sizeof(mCDE)); in initFromExternal()
158 strcpy((char*) mCDE.mFileName, (char*)pEntry->mCDE.mFileName); in initFromExternal()
164 strcpy((char*) mCDE.mFileComment, (char*)pEntry->mCDE.mFileComment); in initFromExternal()
171 memcpy(mCDE.mExtraField, pEntry->mCDE.mExtraField, in initFromExternal()
183 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; in initFromExternal()
188 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField, in initFromExternal()
DZipFile.h128 status_t remove(ZipEntry* pEntry);
144 void* uncompress(const ZipEntry* pEntry) const;
DZipEntry.h171 status_t initFromExternal(const ZipEntry* pEntry);
/build/make/tools/ziptime/
DZipFile.cpp167 ZipEntry* pEntry = new ZipEntry; in rewriteCentralDir() local
169 result = pEntry->initAndRewriteFromCDE(mZipFp); in rewriteCentralDir()
172 delete pEntry; in rewriteCentralDir()
176 delete pEntry; in rewriteCentralDir()