Searched refs:pEntry (Results 1 – 6 of 6) sorted by relevance
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 26 ZipEntry* pEntry) { in getAlignment() argument 34 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() 49 ZipEntry* pEntry; in copyAndAlign() local 56 pEntry = pZin->getEntryByIndex(i); in copyAndAlign() 57 if (pEntry == NULL) { in copyAndAlign() 62 if (pEntry->isCompressed()) { in copyAndAlign() 69 status = pZout->addRecompress(pZin, pEntry, &pNewEntry); in copyAndAlign() 71 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign() 74 const int alignTo = getAlignment(pageAlignSharedLibs, alignment, pEntry); in copyAndAlign() 79 status = pZout->add(pZin, pEntry, alignTo, &pNewEntry); in copyAndAlign() [all …]
|
D | ZipFile.cpp | 163 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() 315 ZipEntry* pEntry = new ZipEntry; in readCentralDir() local 317 result = pEntry->initFromCDE(mZipFp); in readCentralDir() 320 delete pEntry; in readCentralDir() 324 mEntries.add(pEntry); in readCentralDir() 371 ZipEntry* pEntry = NULL; in addCommon() local 403 pEntry = new ZipEntry; in addCommon() [all …]
|
D | ZipFile.h | 128 status_t remove(ZipEntry* pEntry); 144 void* uncompress(const ZipEntry* pEntry) const; 166 status_t alignEntry(android::ZipEntry* pEntry, uint32_t alignTo);
|
D | ZipEntry.cpp | 147 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()
|
D | ZipEntry.h | 171 status_t initFromExternal(const ZipEntry* pEntry);
|
/build/make/tools/ziptime/ |
D | ZipFile.cpp | 167 ZipEntry* pEntry = new ZipEntry; in rewriteCentralDir() local 169 result = pEntry->initAndRewriteFromCDE(mZipFp); in rewriteCentralDir() 172 delete pEntry; in rewriteCentralDir() 176 delete pEntry; in rewriteCentralDir()
|