Home
last modified time | relevance | path

Searched refs:mZipFp (Results 1 – 4 of 4) 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
/frameworks/base/tools/aapt2/
DZipFile.cpp66 assert(mZipFp == NULL); // no reopen in open()
99 mZipFp = fopen(zipFileName, openflags); in open()
100 if (mZipFp == NULL) { in open()
215 fseek(mZipFp, 0, SEEK_END); in readCentralDir()
216 fileLength = ftell(mZipFp); in readCentralDir()
217 rewind(mZipFp); in readCentralDir()
241 if (fseek(mZipFp, seekStart, SEEK_SET) != 0) { in readCentralDir()
248 if (fread(buf, 1, readAmount, mZipFp) != (size_t) readAmount) { in readCentralDir()
299 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir()
314 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
[all …]
DZipFile.h50 : mZipFp(NULL), mReadOnly(false), mNeedCDRewrite(false) in ZipFile()
55 if (mZipFp != NULL) in ~ZipFile()
56 fclose(mZipFp); in ~ZipFile()
257 FILE* mZipFp; // Zip file pointer variable