Lines Matching refs:mEOCD

269     result = mEOCD.readBuf(buf + i, readAmount - i);  in readCentralDir()
276 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 || in readCentralDir()
277 mEOCD.mNumEntries != mEOCD.mTotalNumEntries) in readCentralDir()
298 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
300 mEOCD.mCentralDirOffset); in readCentralDir()
308 ALOGV("Scanning %" PRIu16 " entries...\n", mEOCD.mTotalNumEntries); in readCentralDir()
310 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) { in readCentralDir()
378 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon()
390 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in addCommon()
476 mEOCD.mNumEntries++; in addCommon()
477 mEOCD.mTotalNumEntries++; in addCommon()
478 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in addCommon()
479 mEOCD.mCentralDirOffset = endPosn; in addCommon()
524 assert(mEntries.size() == mEOCD.mTotalNumEntries); in add()
526 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in add()
593 mEOCD.mNumEntries++; in add()
594 mEOCD.mTotalNumEntries++; in add()
595 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in add()
596 mEOCD.mCentralDirOffset = endPosn; in add()
631 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addRecompress()
633 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in addRecompress()
719 mEOCD.mNumEntries++; in addRecompress()
720 mEOCD.mTotalNumEntries++; in addRecompress()
721 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in addRecompress()
722 mEOCD.mCentralDirOffset = endPosn; in addRecompress()
962 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) in flush()
972 mEOCD.mCentralDirSize = eocdPosn - mEOCD.mCentralDirOffset; in flush()
974 mEOCD.write(mZipFp); in flush()
1010 printf(" END is %ld\n", (long) mEOCD.mCentralDirOffset); in crunchArchive()
1037 nextOffset = mEOCD.mCentralDirOffset; in crunchArchive()
1083 mEOCD.mCentralDirOffset -= adjust; in crunchArchive()
1084 mEOCD.mNumEntries -= delCount; in crunchArchive()
1085 mEOCD.mTotalNumEntries -= delCount; in crunchArchive()
1086 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in crunchArchive()
1088 assert(mEOCD.mNumEntries == mEOCD.mTotalNumEntries); in crunchArchive()
1089 assert(mEOCD.mNumEntries == count); in crunchArchive()