Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DZipFile.h172 class EndOfCentralDir {
174 EndOfCentralDir(void) : in EndOfCentralDir() function
184 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()
206 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
252 EndOfCentralDir mEOCD;
DZipFile.cpp217 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 …]