Searched refs:EndOfCentralDir (Results 1 – 2 of 2) sorted by relevance
172 class EndOfCentralDir {174 EndOfCentralDir(void) : in EndOfCentralDir() function184 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()206 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,252 EndOfCentralDir mEOCD;
217 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()223 buf = new unsigned char[EndOfCentralDir::kMaxEOCDSearch]; in readCentralDir()226 EndOfCentralDir::kMaxEOCDSearch); in readCentralDir()231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir()232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()233 readAmount = EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()1220 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf()1262 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()[all …]