Lines Matching refs:mExtraField
166 mCDE.mExtraField = new unsigned char[mCDE.mExtraFieldLength+1]; in initFromExternal()
167 if (mCDE.mExtraField == NULL) in initFromExternal()
169 memcpy(mCDE.mExtraField, pEntry->mCDE.mExtraField, in initFromExternal()
180 assert(mLFH.mExtraField == NULL); in initFromExternal()
183 mLFH.mExtraField = new unsigned char[mLFH.mExtraFieldLength+1]; in initFromExternal()
184 if (mLFH.mExtraField == NULL) in initFromExternal()
186 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField, in initFromExternal()
214 memcpy(newExtra, mLFH.mExtraField, mLFH.mExtraFieldLength); in addPadding()
216 delete[] mLFH.mExtraField; in addPadding()
217 mLFH.mExtraField = newExtra; in addPadding()
221 mLFH.mExtraField = new unsigned char[padding]; in addPadding()
222 memset(mLFH.mExtraField, 0, padding); in addPadding()
408 assert(mExtraField == NULL); in read()
450 mExtraField = new unsigned char[mExtraFieldLength+1]; in read()
451 if (mExtraField == NULL) { in read()
455 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
459 mExtraField[mExtraFieldLength] = '\0'; in read()
496 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
543 assert(mExtraField == NULL); in read()
592 mExtraField = new unsigned char[mExtraFieldLength+1]; in read()
593 if (mExtraField == NULL) { in read()
597 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
601 mExtraField[mExtraFieldLength] = '\0'; in read()
660 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()