Searched refs:EndOfCentralDir (Results 1 - 2 of 2) sorted by relevance

/build/tools/zipalign/
H A DZipFile.h172 class EndOfCentralDir { class in class:android::ZipFile
174 EndOfCentralDir(void) : function in class:android::ZipFile::EndOfCentralDir
184 virtual ~EndOfCentralDir(void) {
203 kEOCDLen = 22, // EndOfCentralDir len, excl. comment
206 kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen,
252 EndOfCentralDir mEOCD;
H A DZipFile.cpp112 * Newly-created. The EndOfCentralDir constructor actually
217 if (fileLength < EndOfCentralDir::kEOCDLen) {
223 buf = new unsigned char[EndOfCentralDir::kMaxEOCDSearch];
226 EndOfCentralDir::kMaxEOCDSearch);
231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) {
232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch;
233 readAmount = EndOfCentralDir::kMaxEOCDSearch;
254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature)
332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) {
1210 * ZipFile::EndOfCentralDir
[all...]

Completed in 212 milliseconds