Lines Matching refs:mExtraFieldLength
152 (mCDE.mExtraFieldLength > 0 && mCDE.mExtraField == NULL)) { in initFromExternal()
164 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; in initFromExternal()
165 if (mLFH.mExtraFieldLength > 0) { in initFromExternal()
166 mLFH.mExtraField = new unsigned char[mLFH.mExtraFieldLength+1]; in initFromExternal()
170 mLFH.mExtraFieldLength+1); in initFromExternal()
189 if (mLFH.mExtraFieldLength > 0) { in addPadding()
193 newExtra = new unsigned char[mLFH.mExtraFieldLength + padding]; in addPadding()
196 memset(newExtra + mLFH.mExtraFieldLength, 0, padding); in addPadding()
197 memcpy(newExtra, mLFH.mExtraField, mLFH.mExtraFieldLength); in addPadding()
201 mLFH.mExtraFieldLength += padding; in addPadding()
206 mLFH.mExtraFieldLength = padding; in addPadding()
302 if (mCDE.mExtraFieldLength != mLFH.mExtraFieldLength) { in compareHeaders()
413 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1c]); in read()
432 if (mExtraFieldLength != 0) { in read()
433 mExtraField = new unsigned char[mExtraFieldLength+1]; in read()
438 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
442 mExtraField[mExtraFieldLength] = '\0'; in read()
466 ZipEntry::putShortLE(&buf[0x1c], mExtraFieldLength); in write()
478 if (mExtraFieldLength != 0) { in write()
479 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
500 mFileNameLength, mExtraFieldLength); in dump()
550 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1e]); in read()
574 if (mExtraFieldLength != 0) { in read()
575 mExtraField = new unsigned char[mExtraFieldLength+1]; in read()
580 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
584 mExtraField[mExtraFieldLength] = '\0'; in read()
625 ZipEntry::putShortLE(&buf[0x1e], mExtraFieldLength); in write()
642 if (mExtraFieldLength != 0) { in write()
643 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
669 mFileNameLength, mExtraFieldLength, mFileCommentLength); in dump()
704 mExtraFieldLength = src.mExtraFieldLength; in operator =()
726 if (mExtraFieldLength > 0) { in operator =()
728 mExtraField = new unsigned char[mExtraFieldLength + 1]; in operator =()
730 memcpy(mExtraField, src.mExtraField, mExtraFieldLength + 1); in operator =()