Searched refs:mCDE (Results 1 – 5 of 5) sorted by relevance
49 result = mCDE.read(fp); in initFromCDE()59 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE()61 mCDE.mLocalHeaderRelOffset); in initFromCDE()118 mCDE.mVersionMadeBy = kDefaultMadeBy; in initNew()119 mCDE.mVersionToExtract = kDefaultVersion; in initNew()120 mCDE.mCompressionMethod = kCompressStored; in initNew()121 mCDE.mFileNameLength = strlen(fileName); in initNew()123 mCDE.mFileCommentLength = strlen(comment); in initNew()124 mCDE.mExternalAttrs = 0x81b60020; // matches what WinZip does in initNew()126 if (mCDE.mFileNameLength > 0) { in initNew()[all …]
60 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()80 return mCDE.mLocalHeaderRelOffset + in getFileOffset()89 uint32_t getCRC32(void) const { return mCDE.mCRC32; } in getCRC32()99 const char* getFileName(void) const { return (const char*) mCDE.mFileName; } in getFileName()192 off_t getLFHOffset(void) const { return mCDE.mLocalHeaderRelOffset; } in getLFHOffset()199 mCDE.mLocalHeaderRelOffset = (uint32_t) offset; in setLFHOffset()341 CentralDirEntry mCDE; variable
611 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in add()718 ALOGW("recompress of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()736 ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); in addRecompress()1000 pEntry->mCDE.write(mZipFp); in flush()
50 result = mCDE.rewrite(fp); in initAndRewriteFromCDE()58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initAndRewriteFromCDE()60 mCDE.mLocalHeaderRelOffset); in initAndRewriteFromCDE()
112 CentralDirEntry mCDE; variable