Home
last modified time | relevance | path

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

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DEndOfCentralDirectory.java130 if (bf.remaining() != eocd.getCommentLength()) { in getEOCDByBytes()
133 if (eocd.getCommentLength() > 0) { in getEOCDByBytes()
134 byte[] readComment = new byte[eocd.getCommentLength()]; in getEOCDByBytes()
138 eocd.setLength(EOCD_LENGTH + eocd.getCommentLength()); in getEOCDByBytes()
222 public int getCommentLength() { in getCommentLength() method in EndOfCentralDirectory
DCentralDirectory.java197 if (cd.getCommentLength() > 0) { in getCentralDirectory()
198 byte[] readComment = new byte[cd.getCommentLength()]; in getCentralDirectory()
202 … cd.setLength(CD_LENGTH + cd.getFileNameLength() + cd.getExtraLength() + cd.getCommentLength()); in getCentralDirectory()
338 public int getCommentLength() { in getCommentLength() method in CentralDirectory
DZipEntry.java79 … + fileEntryIncentralDirectory.getExtraLength() + fileEntryIncentralDirectory.getCommentLength()); in setCenterDirectoryNewExtraLength()