Lines Matching refs:mEOCD
270 result = mEOCD.readBuf(buf + i, readAmount - i);
275 //mEOCD.dump();
277 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 ||
278 mEOCD.mNumEntries != mEOCD.mTotalNumEntries)
299 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
301 mEOCD.mCentralDirOffset);
309 ALOGV("Scanning %" PRIu16 " entries...\n", mEOCD.mTotalNumEntries);
311 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) {
379 assert(mEntries.size() == mEOCD.mTotalNumEntries);
391 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
477 mEOCD.mNumEntries++;
478 mEOCD.mTotalNumEntries++;
479 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
480 mEOCD.mCentralDirOffset = endPosn;
525 assert(mEntries.size() == mEOCD.mTotalNumEntries);
527 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
594 mEOCD.mNumEntries++;
595 mEOCD.mTotalNumEntries++;
596 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
597 mEOCD.mCentralDirOffset = endPosn;
632 assert(mEntries.size() == mEOCD.mTotalNumEntries);
634 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
720 mEOCD.mNumEntries++;
721 mEOCD.mTotalNumEntries++;
722 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
723 mEOCD.mCentralDirOffset = endPosn;
965 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0)
975 mEOCD.mCentralDirSize = eocdPosn - mEOCD.mCentralDirOffset;
977 mEOCD.write(mZipFp);
1013 printf(" END is %ld\n", (long) mEOCD.mCentralDirOffset);
1040 nextOffset = mEOCD.mCentralDirOffset;
1086 mEOCD.mCentralDirOffset -= adjust;
1087 mEOCD.mNumEntries -= delCount;
1088 mEOCD.mTotalNumEntries -= delCount;
1089 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
1091 assert(mEOCD.mNumEntries == mEOCD.mTotalNumEntries);
1092 assert(mEOCD.mNumEntries == count);