Lines Matching refs:mEOCD

273     result = mEOCD.readBuf(buf + i, readAmount - i);  in readCentralDir()
280 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 || in readCentralDir()
281 mEOCD.mNumEntries != mEOCD.mTotalNumEntries) in readCentralDir()
302 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
304 mEOCD.mCentralDirOffset); in readCentralDir()
312 ALOGV("Scanning %" PRIu16 " entries...\n", mEOCD.mTotalNumEntries); in readCentralDir()
314 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) { in readCentralDir()
386 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon()
398 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in addCommon()
484 mEOCD.mNumEntries++; in addCommon()
485 mEOCD.mTotalNumEntries++; in addCommon()
486 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in addCommon()
487 mEOCD.mCentralDirOffset = endPosn; in addCommon()
558 assert(mEntries.size() == mEOCD.mTotalNumEntries); in add()
560 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in add()
626 mEOCD.mNumEntries++; in add()
627 mEOCD.mTotalNumEntries++; in add()
628 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in add()
629 mEOCD.mCentralDirOffset = endPosn; in add()
664 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addRecompress()
666 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in addRecompress()
752 mEOCD.mNumEntries++; in addRecompress()
753 mEOCD.mTotalNumEntries++; in addRecompress()
754 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in addRecompress()
755 mEOCD.mCentralDirOffset = endPosn; in addRecompress()
1001 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) in flush()
1011 mEOCD.mCentralDirSize = eocdPosn - mEOCD.mCentralDirOffset; in flush()
1013 mEOCD.write(mZipFp); in flush()
1049 printf(" END is %ld\n", (long) mEOCD.mCentralDirOffset); in crunchArchive()
1076 nextOffset = mEOCD.mCentralDirOffset; in crunchArchive()
1122 mEOCD.mCentralDirOffset -= adjust; in crunchArchive()
1123 mEOCD.mNumEntries -= delCount; in crunchArchive()
1124 mEOCD.mTotalNumEntries -= delCount; in crunchArchive()
1125 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in crunchArchive()
1127 assert(mEOCD.mNumEntries == mEOCD.mTotalNumEntries); in crunchArchive()
1128 assert(mEOCD.mNumEntries == count); in crunchArchive()