Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DZipEntry.cpp51 result = mCDE.read(fp); in initFromCDE()
61 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE()
63 mCDE.mLocalHeaderRelOffset); in initFromCDE()
120 mCDE.mVersionMadeBy = kDefaultMadeBy; in initNew()
121 mCDE.mVersionToExtract = kDefaultVersion; in initNew()
122 mCDE.mCompressionMethod = kCompressStored; in initNew()
123 mCDE.mFileNameLength = strlen(fileName); in initNew()
125 mCDE.mFileCommentLength = strlen(comment); in initNew()
126 mCDE.mExternalAttrs = 0x81b60020; // matches what WinZip does in initNew()
128 if (mCDE.mFileNameLength > 0) { in initNew()
[all …]
DZipEntry.h60 return mCDE.mCompressionMethod != kCompressStored; in isCompressed()
62 int getCompressionMethod(void) const { return mCDE.mCompressionMethod; } in getCompressionMethod()
67 off_t getUncompressedLen(void) const { return mCDE.mUncompressedSize; } in getUncompressedLen()
73 off_t getCompressedLen(void) const { return mCDE.mCompressedSize; } in getCompressedLen()
78 off_t getLFHOffset(void) const { return mCDE.mLocalHeaderRelOffset; } in getLFHOffset()
85 return mCDE.mLocalHeaderRelOffset + in getFileOffset()
94 unsigned long getCRC32(void) const { return mCDE.mCRC32; } in getCRC32()
104 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()
199 mCDE.mLocalHeaderRelOffset = (long) offset; in setLFHOffset()
343 CentralDirEntry mCDE; variable
DZipFile.cpp605 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()
917 pEntry->mCDE.write(mZipFp); in flush()