Searched refs:ZIP_EOCD_REC_MIN_SIZE (Results 1 – 1 of 1) sorted by relevance
35 private static final int ZIP_EOCD_REC_MIN_SIZE = 22; field in ZipUtils68 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()116 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()121 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()123 ByteBuffer buf = ByteBuffer.allocate(ZIP_EOCD_REC_MIN_SIZE + maxCommentSize); in findZipEndOfCentralDirectoryRecord()160 if (archiveSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()163 int maxCommentLength = Math.min(archiveSize - ZIP_EOCD_REC_MIN_SIZE, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord()164 int eocdWithEmptyCommentStartPosition = archiveSize - ZIP_EOCD_REC_MIN_SIZE; in findZipEndOfCentralDirectoryRecord()