Searched refs:mCDE (Results 1 – 3 of 3) sorted by relevance
48 result = mCDE.read(fp); in initFromCDE()58 if (fseek(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 …]
59 return mCDE.mCompressionMethod != kCompressStored; in isCompressed()61 int getCompressionMethod(void) const { return mCDE.mCompressionMethod; } in getCompressionMethod()66 off_t getUncompressedLen(void) const { return mCDE.mUncompressedSize; } in getUncompressedLen()72 off_t getCompressedLen(void) const { return mCDE.mCompressedSize; } in getCompressedLen()77 off_t getLFHOffset(void) const { return mCDE.mLocalHeaderRelOffset; } in getLFHOffset()84 return mCDE.mLocalHeaderRelOffset + in getFileOffset()93 unsigned long getCRC32(void) const { return mCDE.mCRC32; } in getCRC32()103 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()198 mCDE.mLocalHeaderRelOffset = (long) offset; in setLFHOffset()340 CentralDirEntry mCDE; variable
606 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()920 pEntry->mCDE.write(mZipFp); in flush()