Lines Matching refs:mEOCD

267     result = mEOCD.readBuf(buf + i, readAmount - i);  in readCentralDir()
274 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 || in readCentralDir()
275 mEOCD.mNumEntries != mEOCD.mTotalNumEntries) in readCentralDir()
296 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
298 mEOCD.mCentralDirOffset); in readCentralDir()
306 ALOGV("Scanning %d entries...\n", mEOCD.mTotalNumEntries); in readCentralDir()
308 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) { in readCentralDir()
377 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon()
389 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in addCommon()
503 mEOCD.mNumEntries++; in addCommon()
504 mEOCD.mTotalNumEntries++; in addCommon()
505 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in addCommon()
506 mEOCD.mCentralDirOffset = endPosn; in addCommon()
551 assert(mEntries.size() == mEOCD.mTotalNumEntries); in add()
553 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in add()
620 mEOCD.mNumEntries++; in add()
621 mEOCD.mTotalNumEntries++; in add()
622 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in add()
623 mEOCD.mCentralDirOffset = endPosn; in add()
912 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) in flush()
922 mEOCD.mCentralDirSize = eocdPosn - mEOCD.mCentralDirOffset; in flush()
924 mEOCD.write(mZipFp); in flush()
960 printf(" END is %ld\n", (long) mEOCD.mCentralDirOffset); in crunchArchive()
987 nextOffset = mEOCD.mCentralDirOffset; in crunchArchive()
1033 mEOCD.mCentralDirOffset -= adjust; in crunchArchive()
1034 mEOCD.mNumEntries -= delCount; in crunchArchive()
1035 mEOCD.mTotalNumEntries -= delCount; in crunchArchive()
1036 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush() in crunchArchive()
1038 assert(mEOCD.mNumEntries == mEOCD.mTotalNumEntries); in crunchArchive()
1039 assert(mEOCD.mNumEntries == count); in crunchArchive()