Home
last modified time | relevance | path

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

/build/make/tools/zipalign/
DZipEntry.cpp50 result = mCDE.read(fp); in initFromCDE()
60 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE()
62 mCDE.mLocalHeaderRelOffset); in initFromCDE()
119 mCDE.mVersionMadeBy = kDefaultMadeBy; in initNew()
120 mCDE.mVersionToExtract = kDefaultVersion; in initNew()
121 mCDE.mCompressionMethod = kCompressStored; in initNew()
122 mCDE.mFileNameLength = strlen(fileName); in initNew()
124 mCDE.mFileCommentLength = strlen(comment); in initNew()
125 mCDE.mExternalAttrs = 0x81b60020; // matches what WinZip does in initNew()
127 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.cpp612 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()
719 ALOGW("recompress of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()
737 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()
1007 pEntry->mCDE.write(mZipFp); in flush()
/build/make/tools/ziptime/
DZipEntry.cpp50 result = mCDE.rewrite(fp); in initAndRewriteFromCDE()
58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initAndRewriteFromCDE()
60 mCDE.mLocalHeaderRelOffset); in initAndRewriteFromCDE()
DZipEntry.h112 CentralDirEntry mCDE; variable