Home
last modified time | relevance | path

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

/build/make/tools/zipalign/
DZipEntry.cpp48 status_t result = mCDE.read(fp); in initFromCDE()
58 if (fseeko(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE()
60 mCDE.mLocalHeaderRelOffset); in initFromCDE()
117 mCDE.mVersionMadeBy = kDefaultMadeBy; in initNew()
118 mCDE.mVersionToExtract = kDefaultVersion; in initNew()
119 mCDE.mCompressionMethod = kCompressStored; in initNew()
120 mCDE.mFileNameLength = strlen(fileName); in initNew()
122 mCDE.mFileCommentLength = strlen(comment); in initNew()
123 mCDE.mExternalAttrs = 0x81b60020; // matches what WinZip does in initNew()
125 if (mCDE.mFileNameLength > 0) { in initNew()
[all …]
DZipEntry.h61 return mCDE.mCompressionMethod != kCompressStored; in isCompressed()
63 int getCompressionMethod(void) const { return mCDE.mCompressionMethod; } in getCompressionMethod()
68 off_t getUncompressedLen(void) const { return mCDE.mUncompressedSize; } in getUncompressedLen()
74 off_t getCompressedLen(void) const { return mCDE.mCompressedSize; } in getCompressedLen()
81 return mCDE.mLocalHeaderRelOffset + in getFileOffset()
90 uint32_t getCRC32(void) const { return mCDE.mCRC32; } in getCRC32()
100 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()
193 off_t getLFHOffset(void) const { return mCDE.mLocalHeaderRelOffset; } in getLFHOffset()
200 mCDE.mLocalHeaderRelOffset = (uint32_t) offset; in setLFHOffset()
342 CentralDirEntry mCDE; variable
DZipFile.cpp593 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()
698 ALOGW("recompress of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()
715 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()
979 pEntry->mCDE.write(mZipFp); in flush()
/build/make/tools/ziptime/
DZipEntry.cpp47 status_t result = mCDE.rewrite(fp); in initAndRewriteFromCDE()
55 if (fseeko(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initAndRewriteFromCDE()
57 mCDE.mLocalHeaderRelOffset); in initAndRewriteFromCDE()
DZipEntry.h112 CentralDirEntry mCDE; variable