Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java176 DataSource zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord() argument
187 if ((maxCommentSize < 0) || (maxCommentSize > UINT16_MAX_VALUE)) { in findZipEndOfCentralDirectoryRecord()
188 throw new IllegalArgumentException("maxCommentSize: " + maxCommentSize); in findZipEndOfCentralDirectoryRecord()
197 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()
199 int maxEocdSize = ZIP_EOCD_REC_MIN_SIZE + maxCommentSize; in findZipEndOfCentralDirectoryRecord()