Searched refs:kEOCDLen (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 217 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir() 1225 if (len < kEOCDLen) { in readBuf() 1228 kEOCDLen, len); in readBuf() 1247 if (kEOCDLen + mCommentLen > len) { in readBuf() 1249 kEOCDLen, mCommentLen, len); in readBuf() 1253 memcpy(mComment, buf + kEOCDLen, mCommentLen); in readBuf() 1264 unsigned char buf[kEOCDLen]; in write() 1275 if (fwrite(buf, 1, kEOCDLen, fp) != kEOCDLen) in write()
|
D | ZipFile.h | 203 kEOCDLen = 22, // EndOfCentralDir len, excl. comment enumerator 206 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
|
/frameworks/base/libs/utils/ |
D | ZipFileRO.cpp | 39 #define kEOCDLen 22 macro 44 #define kMaxEOCDSearch (kMaxCommentLen + kEOCDLen) 176 ptr = basePtr + length - kEOCDLen; in parseZipArchive()
|