Searched refs:mCommentLen (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 1239 mCommentLen = ZipEntry::getShortLE(&buf[0x14]); in readBuf() 1243 if (mCommentLen > 0) { in readBuf() 1244 if (kEOCDLen + mCommentLen > len) { in readBuf() 1246 kEOCDLen, mCommentLen, len); in readBuf() 1249 mComment = new unsigned char[mCommentLen]; in readBuf() 1250 memcpy(mComment, buf + kEOCDLen, mCommentLen); in readBuf() 1270 ZipEntry::putShortLE(&buf[0x14], mCommentLen); in write() 1274 if (mCommentLen > 0) { in write() 1276 if (fwrite(mComment, mCommentLen, 1, fp) != mCommentLen) in write() 1292 mCentralDirSize, mCentralDirOffset, mCommentLen); in dump()
|
H A D | ZipFile.h | 181 mCommentLen(0), in EndOfCentralDir() 198 unsigned short mCommentLen; variable
|
/aosp12/build/make/tools/zipalign/ |
H A D | ZipFile.cpp | 1390 mCommentLen = ZipEntry::getShortLE(&buf[0x14]); in readBuf() 1394 if (mCommentLen > 0) { in readBuf() 1395 if (kEOCDLen + mCommentLen > len) { in readBuf() 1397 kEOCDLen, mCommentLen, len); in readBuf() 1400 mComment = new uint8_t[mCommentLen]; in readBuf() 1401 memcpy(mComment, buf + kEOCDLen, mCommentLen); in readBuf() 1421 ZipEntry::putShortLE(&buf[0x14], mCommentLen); in write() 1427 if (mCommentLen > 0) { in write() 1429 if (fwrite(mComment, mCommentLen, 1, fp) != mCommentLen) { in write() 1431 (int) mCommentLen, strerror(errno)); in write() [all …]
|
H A D | ZipFile.h | 177 mCommentLen(0), in EndOfCentralDir() 194 uint16_t mCommentLen; variable
|