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 ZipUtils67 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()114 if (fileSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()119 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()121 ByteBuffer buf = ByteBuffer.allocate(ZIP_EOCD_REC_MIN_SIZE + maxCommentSize); in findZipEndOfCentralDirectoryRecord()158 if (archiveSize < ZIP_EOCD_REC_MIN_SIZE) { in findZipEndOfCentralDirectoryRecord()161 int maxCommentLength = Math.min(archiveSize - ZIP_EOCD_REC_MIN_SIZE, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord()162 int eocdWithEmptyCommentStartPosition = archiveSize - ZIP_EOCD_REC_MIN_SIZE; in findZipEndOfCentralDirectoryRecord()