Home
last modified time | relevance | path

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

/build/tools/zipalign/
DZipFile.h181 class EndOfCentralDir {
183 EndOfCentralDir(void) : in EndOfCentralDir() function
193 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()
215 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
261 EndOfCentralDir mEOCD;
DZipFile.cpp219 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()
225 buf = new unsigned char[EndOfCentralDir::kMaxEOCDSearch]; in readCentralDir()
228 EndOfCentralDir::kMaxEOCDSearch); in readCentralDir()
233 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir()
234 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()
235 readAmount = EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()
256 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
334 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
1297 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf()
1339 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()
[all …]