Home
last modified time | relevance | path

Searched refs:mZipFp (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt/
DZipFile.cpp63 assert(mZipFp == NULL); // no reopen in open()
96 mZipFp = fopen(zipFileName, openflags); in open()
97 if (mZipFp == NULL) { in open()
212 fseek(mZipFp, 0, SEEK_END); in readCentralDir()
213 fileLength = ftell(mZipFp); in readCentralDir()
214 rewind(mZipFp); in readCentralDir()
238 if (fseek(mZipFp, seekStart, SEEK_SET) != 0) { in readCentralDir()
245 if (fread(buf, 1, readAmount, mZipFp) != (size_t) readAmount) { in readCentralDir()
296 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
311 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
[all …]
DZipFile.h47 : mZipFp(NULL), mReadOnly(false), mNeedCDRewrite(false) in ZipFile()
52 if (mZipFp != NULL) in ~ZipFile()
53 fclose(mZipFp); in ~ZipFile()
249 FILE* mZipFp; // Zip file pointer variable