Home
last modified time | relevance | path

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

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DEndOfCentralDirectory.java86 private int commentLength; field in EndOfCentralDirectory
159 UnsignedDecimalUtil.setUnsignedShort(bf, commentLength); in toBytes()
160 if (commentLength > 0) { in toBytes()
223 return commentLength; in getCommentLength()
226 public void setCommentLength(int commentLength) { in setCommentLength() argument
227 this.commentLength = commentLength; in setCommentLength()
DCentralDirectory.java119 private int commentLength; field in CentralDirectory
225 UnsignedDecimalUtil.setUnsignedShort(bf, commentLength); in toBytes()
236 if (commentLength > 0) { in toBytes()
339 return commentLength; in getCommentLength()
342 public void setCommentLength(int commentLength) { in setCommentLength() argument
343 this.commentLength = commentLength; in setCommentLength()
DZipUtils.java88 …int commentLength = getUInt16FromBuffer(searchBuffer, currentOffset + ZIP_EOCD_COMMENT_LENGTH_OFFS… in findEocdInSearchBuffer() local
90 if (commentLength == expectedCommentLength) { in findEocdInSearchBuffer()