Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tools/aapt/
H A DZipEntry.cpp123 mCDE.mFileCommentLength = strlen(comment); in initNew()
130 if (mCDE.mFileCommentLength > 0) { in initNew()
551 mFileCommentLength = ZipEntry::getShortLE(&buf[0x20]); in read()
589 if (mFileCommentLength != 0) { in read()
595 if (fread(mFileComment, 1, mFileCommentLength, fp) != mFileCommentLength) in read()
600 mFileComment[mFileCommentLength] = '\0'; in read()
626 ZipEntry::putShortLE(&buf[0x20], mFileCommentLength); in write()
648 if (mFileCommentLength != 0) { in write()
649 if (fwrite(mFileComment, 1, mFileCommentLength, fp) != mFileCommentLength) in write()
705 mFileCommentLength = src.mFileCommentLength; in operator =()
[all …]
H A DZipEntry.h284 mFileCommentLength(0), in CentralDirEntry()
316 unsigned short mFileCommentLength; variable
/aosp12/build/make/tools/zipalign/
H A DZipEntry.cpp124 mCDE.mFileCommentLength = strlen(comment); in initNew()
131 if (mCDE.mFileCommentLength > 0) { in initNew()
160 if (mCDE.mFileCommentLength > 0) { in initFromExternal()
570 mFileCommentLength = ZipEntry::getShortLE(&buf[0x20]); in read()
608 if (mFileCommentLength != 0) { in read()
609 mFileComment = new uint8_t[mFileCommentLength+1]; in read()
614 if (fread(mFileComment, 1, mFileCommentLength, fp) != mFileCommentLength) in read()
619 mFileComment[mFileCommentLength] = '\0'; in read()
645 ZipEntry::putShortLE(&buf[0x20], mFileCommentLength); in write()
667 if (mFileCommentLength != 0) { in write()
[all …]
H A DZipEntry.h285 mFileCommentLength(0), in CentralDirEntry()
315 uint16_t mFileCommentLength; variable