Home
last modified time | relevance | path

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

/build/make/tools/ziptime/
DZipFile.cpp86 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()
DZipFile.h50 class EndOfCentralDir {
52 EndOfCentralDir(void) : mTotalNumEntries(0), mCentralDirOffset(0) {} in EndOfCentralDir() function
64 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
79 EndOfCentralDir mEOCD;
/build/make/tools/zipalign/
DZipFile.h168 class EndOfCentralDir {
170 EndOfCentralDir(void) : in EndOfCentralDir() function
180 virtual ~EndOfCentralDir(void) { in ~EndOfCentralDir()
202 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
247 EndOfCentralDir mEOCD;
DZipFile.cpp219 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir()
225 buf = new uint8_t[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()
260 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
342 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
1368 status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) in readBuf()
1410 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write()
[all …]