Searched refs:mZipFp (Results 1 – 4 of 4) sorted by relevance
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 65 assert(mZipFp == NULL); // no reopen in open() 98 mZipFp = fopen(zipFileName, openflags); in open() 99 if (mZipFp == NULL) { in open() 214 fseek(mZipFp, 0, SEEK_END); in readCentralDir() 215 fileLength = ftell(mZipFp); in readCentralDir() 216 rewind(mZipFp); in readCentralDir() 240 if (fseek(mZipFp, seekStart, SEEK_SET) != 0) { in readCentralDir() 247 if (fread(buf, 1, readAmount, mZipFp) != (size_t) readAmount) { in readCentralDir() 248 if (feof(mZipFp)) { in readCentralDir() 302 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in readCentralDir() [all …]
|
D | ZipFile.h | 47 : mZipFp(NULL), mReadOnly(false), mNeedCDRewrite(false) in ZipFile() 52 if (mZipFp != NULL) in ~ZipFile() 53 fclose(mZipFp); in ~ZipFile() 244 FILE* mZipFp; // Zip file pointer variable
|
/build/make/tools/ziptime/ |
D | ZipFile.cpp | 38 assert(mZipFp == NULL); // no reopen in rewrite() 41 mZipFp = fopen(zipFileName, "r+b"); in rewrite() 42 if (mZipFp == NULL) { in rewrite() 81 fseek(mZipFp, 0, SEEK_END); in rewriteCentralDir() 82 fileLength = ftell(mZipFp); in rewriteCentralDir() 83 rewind(mZipFp); in rewriteCentralDir() 107 if (fseek(mZipFp, seekStart, SEEK_SET) != 0) { in rewriteCentralDir() 114 if (fread(buf, 1, readAmount, mZipFp) != (size_t) readAmount) { in rewriteCentralDir() 155 if (fseek(mZipFp, mEOCD.mCentralDirOffset, SEEK_SET) != 0) { in rewriteCentralDir() 169 result = pEntry->initAndRewriteFromCDE(mZipFp); in rewriteCentralDir() [all …]
|
D | ZipFile.h | 34 ZipFile(void) : mZipFp(NULL) {} in ZipFile() 36 if (mZipFp != NULL) in ~ZipFile() 37 fclose(mZipFp); in ~ZipFile() 76 FILE* mZipFp; // Zip file pointer variable
|