Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DZipEntry.cpp151 (mCDE.mExtraFieldLength > 0 && mCDE.mExtraField == NULL)) { in initFromExternal()
162 assert(mLFH.mExtraField == NULL); in initFromExternal()
165 mLFH.mExtraField = new unsigned char[mLFH.mExtraFieldLength+1]; in initFromExternal()
166 if (mLFH.mExtraField == NULL) in initFromExternal()
168 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField, in initFromExternal()
196 memcpy(newExtra, mLFH.mExtraField, mLFH.mExtraFieldLength); in addPadding()
198 delete[] mLFH.mExtraField; in addPadding()
199 mLFH.mExtraField = newExtra; in addPadding()
203 mLFH.mExtraField = new unsigned char[padding]; in addPadding()
204 memset(mLFH.mExtraField, 0, padding); in addPadding()
[all …]
DZipEntry.h233 mExtraField(NULL) in LocalFileHeader()
237 delete[] mExtraField; in ~LocalFileHeader()
255 unsigned char* mExtraField; variable
289 mExtraField(NULL), in CentralDirEntry()
294 delete[] mExtraField; in ~CentralDirEntry()
321 unsigned char* mExtraField; variable
/frameworks/base/tools/aapt2/
DZipEntry.cpp159 (mCDE.mExtraFieldLength > 0 && mCDE.mExtraField == NULL)) { in initFromExternal()
170 assert(mLFH.mExtraField == NULL); in initFromExternal()
173 mLFH.mExtraField = new unsigned char[mLFH.mExtraFieldLength+1]; in initFromExternal()
174 if (mLFH.mExtraField == NULL) in initFromExternal()
176 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField, in initFromExternal()
204 memcpy(newExtra, mLFH.mExtraField, mLFH.mExtraFieldLength); in addPadding()
206 delete[] mLFH.mExtraField; in addPadding()
207 mLFH.mExtraField = newExtra; in addPadding()
211 mLFH.mExtraField = new unsigned char[padding]; in addPadding()
212 memset(mLFH.mExtraField, 0, padding); in addPadding()
[all …]
DZipEntry.h236 mExtraField(NULL) in LocalFileHeader()
240 delete[] mExtraField; in ~LocalFileHeader()
258 unsigned char* mExtraField; variable
292 mExtraField(NULL), in CentralDirEntry()
297 delete[] mExtraField; in ~CentralDirEntry()
324 unsigned char* mExtraField; variable