Lines Matching refs:mExtraFieldLength
166 if (mCDE.mExtraFieldLength > 0) { in initFromExternal()
168 mCDE.mExtraField = new uint8_t[mCDE.mExtraFieldLength+1]; in initFromExternal()
172 mCDE.mExtraFieldLength+1); in initFromExternal()
183 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; in initFromExternal()
184 if (mLFH.mExtraFieldLength > 0) { in initFromExternal()
185 mLFH.mExtraField = new uint8_t[mLFH.mExtraFieldLength+1]; in initFromExternal()
189 mLFH.mExtraFieldLength+1); in initFromExternal()
208 if (mLFH.mExtraFieldLength > 0) { in addPadding()
212 newExtra = new uint8_t[mLFH.mExtraFieldLength + padding]; in addPadding()
215 memset(newExtra + mLFH.mExtraFieldLength, 0, padding); in addPadding()
216 memcpy(newExtra, mLFH.mExtraField, mLFH.mExtraFieldLength); in addPadding()
220 mLFH.mExtraFieldLength += padding; in addPadding()
225 mLFH.mExtraFieldLength = padding; in addPadding()
321 if (mCDE.mExtraFieldLength != mLFH.mExtraFieldLength) { in compareHeaders()
432 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1c]); in read()
451 if (mExtraFieldLength != 0) { in read()
452 mExtraField = new uint8_t[mExtraFieldLength+1]; in read()
457 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
461 mExtraField[mExtraFieldLength] = '\0'; in read()
485 ZipEntry::putShortLE(&buf[0x1c], mExtraFieldLength); in write()
497 if (mExtraFieldLength != 0) { in write()
498 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
519 mFileNameLength, mExtraFieldLength); in dump()
569 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1e]); in read()
593 if (mExtraFieldLength != 0) { in read()
594 mExtraField = new uint8_t[mExtraFieldLength+1]; in read()
599 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
603 mExtraField[mExtraFieldLength] = '\0'; in read()
644 ZipEntry::putShortLE(&buf[0x1e], mExtraFieldLength); in write()
661 if (mExtraFieldLength != 0) { in write()
662 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
688 mFileNameLength, mExtraFieldLength, mFileCommentLength); in dump()