Home
last modified time | relevance | path

Searched refs:mEOCD (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt/
DZipFile.cpp267 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()
[all …]
DZipFile.h252 EndOfCentralDir mEOCD; variable
/frameworks/base/tools/aapt2/
DZipFile.cpp270 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
277 if (mEOCD.mDiskNumber != 0 || mEOCD.mDiskWithCentralDir != 0 || in readCentralDir()
278 mEOCD.mNumEntries != mEOCD.mTotalNumEntries) in readCentralDir()
299 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
301 mEOCD.mCentralDirOffset); in readCentralDir()
309 ALOGV("Scanning %d entries...\n", mEOCD.mTotalNumEntries); in readCentralDir()
311 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()
512 mEOCD.mNumEntries++; in addCommon()
[all …]
DZipFile.h260 EndOfCentralDir mEOCD; variable