Searched refs:kEOCDLen (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 217 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir() 1223 if (len < kEOCDLen) { in readBuf() 1226 kEOCDLen, len); in readBuf() 1245 if (kEOCDLen + mCommentLen > len) { in readBuf() 1247 kEOCDLen, mCommentLen, len); in readBuf() 1251 memcpy(mComment, buf + kEOCDLen, mCommentLen); in readBuf() 1262 unsigned char buf[kEOCDLen]; in write() 1273 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/tools/aapt2/ |
D | ZipFile.cpp | 220 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir() 1233 if (len < kEOCDLen) { in readBuf() 1236 kEOCDLen, len); in readBuf() 1255 if (kEOCDLen + mCommentLen > len) { in readBuf() 1257 kEOCDLen, mCommentLen, len); in readBuf() 1261 memcpy(mComment, buf + kEOCDLen, mCommentLen); in readBuf() 1272 unsigned char buf[kEOCDLen]; in write() 1283 if (fwrite(buf, 1, kEOCDLen, fp) != kEOCDLen) in write()
|
D | ZipFile.h | 211 kEOCDLen = 22, // EndOfCentralDir len, excl. comment enumerator 214 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
|