Home
last modified time | relevance | path

Searched refs:EndOfCentralDir (Results 1 – 4 of 4) 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()
1218 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf()
1260 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()
[all …]
/frameworks/base/tools/aapt2/
DZipFile.h180 class EndOfCentralDir {
182 EndOfCentralDir(void) : in EndOfCentralDir() function
192 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()
214 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
260 EndOfCentralDir mEOCD;
DZipFile.cpp220 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()
226 buf = new unsigned char[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()
1228 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf()
1270 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()
[all …]