Home | History | Annotate | Download | only in aapt

Lines Matching refs:mEOCD

267     result = mEOCD.readBuf(buf + i, readAmount - i);
272 //mEOCD.dump();
274 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 ||
275 mEOCD.mNumEntries != mEOCD.mTotalNumEntries)
296 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
298 mEOCD.mCentralDirOffset);
306 ALOGV("Scanning %d entries...\n", mEOCD.mTotalNumEntries);
308 for (entry = 0; entry < mEOCD.mTotalNumEntries; entry++) {
377 assert(mEntries.size() == mEOCD.mTotalNumEntries);
389 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
502 mEOCD.mNumEntries++;
503 mEOCD.mTotalNumEntries++;
504 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
505 mEOCD.mCentralDirOffset = endPosn;
550 assert(mEntries.size() == mEOCD.mTotalNumEntries);
552 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) {
619 mEOCD.mNumEntries++;
620 mEOCD.mTotalNumEntries++;
621 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
622 mEOCD.mCentralDirOffset = endPosn;
911 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0)
921 mEOCD.mCentralDirSize = eocdPosn - mEOCD.mCentralDirOffset;
923 mEOCD.write(mZipFp);
959 printf(" END is %ld\n", (long) mEOCD.mCentralDirOffset);
986 nextOffset = mEOCD.mCentralDirOffset;
1032 mEOCD.mCentralDirOffset -= adjust;
1033 mEOCD.mNumEntries -= delCount;
1034 mEOCD.mTotalNumEntries -= delCount;
1035 mEOCD.mCentralDirSize = 0; // mark invalid; set by flush()
1037 assert(mEOCD.mNumEntries == mEOCD.mTotalNumEntries);
1038 assert(mEOCD.mNumEntries == count);