Home
last modified time | relevance | path

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

/build/make/tools/ziptime/
DZipFile.cpp77 off_t fileLength, seekStart; in rewriteCentralDir() local
82 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()
/build/make/tools/zipalign/
DZipFile.cpp210 off_t fileLength, seekStart; in readCentralDir() local
215 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()