Searched refs:fileLength (Results 1 – 2 of 2) sorted by relevance
77 off_t fileLength, seekStart; in rewriteCentralDir() local82 fileLength = ftell(mZipFp); in rewriteCentralDir()86 if (fileLength < EndOfCentralDir::kEOCDLen) { in rewriteCentralDir()87 LOG("Length is %ld -- too small\n", (long)fileLength); in rewriteCentralDir()100 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in rewriteCentralDir()101 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in rewriteCentralDir()105 readAmount = (long) fileLength; in rewriteCentralDir()
210 off_t fileLength, seekStart; in readCentralDir() local215 fileLength = ftell(mZipFp); in readCentralDir()219 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()220 ALOGD("Length is %ld -- too small\n", (long)fileLength); in readCentralDir()233 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir()234 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()238 readAmount = (long) fileLength; in readCentralDir()