Searched refs:EndOfCentralDir (Results 1 – 4 of 4) sorted by relevance
86 if (fileLength < EndOfCentralDir::kEOCDLen) { in rewriteCentralDir()92 buf = new uint8_t[EndOfCentralDir::kMaxEOCDSearch]; in rewriteCentralDir()95 EndOfCentralDir::kMaxEOCDSearch); in rewriteCentralDir()100 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in rewriteCentralDir()101 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in rewriteCentralDir()102 readAmount = EndOfCentralDir::kMaxEOCDSearch; in rewriteCentralDir()123 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in rewriteCentralDir()189 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in rewriteCentralDir()212 status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) in readBuf()
50 class EndOfCentralDir {52 EndOfCentralDir(void) : mTotalNumEntries(0), mCentralDirOffset(0) {} in EndOfCentralDir() function64 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,79 EndOfCentralDir mEOCD;
181 class EndOfCentralDir {183 EndOfCentralDir(void) : in EndOfCentralDir() function193 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()215 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,261 EndOfCentralDir mEOCD;
220 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()226 buf = new uint8_t[EndOfCentralDir::kMaxEOCDSearch]; in readCentralDir()229 EndOfCentralDir::kMaxEOCDSearch); in readCentralDir()234 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir()235 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()236 readAmount = EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()257 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()335 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()1300 status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) in readBuf()1342 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()[all …]