Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java64 ByteBuffer zipEndOfCentralDirectory, long offset) { in setZipEocdCentralDirectoryOffset() argument
65 assertByteOrderLittleEndian(zipEndOfCentralDirectory); in setZipEocdCentralDirectoryOffset()
67 zipEndOfCentralDirectory, in setZipEocdCentralDirectoryOffset()
68 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET, in setZipEocdCentralDirectoryOffset()
77 public static void updateZipEocdCommentLen(ByteBuffer zipEndOfCentralDirectory) { in updateZipEocdCommentLen() argument
78 assertByteOrderLittleEndian(zipEndOfCentralDirectory); in updateZipEocdCommentLen()
79 int commentLen = zipEndOfCentralDirectory.remaining() - ZIP_EOCD_REC_MIN_SIZE; in updateZipEocdCommentLen()
81 zipEndOfCentralDirectory, in updateZipEocdCommentLen()
82 zipEndOfCentralDirectory.position() + ZIP_EOCD_COMMENT_LENGTH_FIELD_OFFSET, in updateZipEocdCommentLen()
91 public static long getZipEocdCentralDirectoryOffset(ByteBuffer zipEndOfCentralDirectory) { in getZipEocdCentralDirectoryOffset() argument
[all …]
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java93 ByteBuffer zipEndOfCentralDirectory, long offset) { in setZipEocdCentralDirectoryOffset() argument
94 ByteBuffer eocd = zipEndOfCentralDirectory.slice(); in setZipEocdCentralDirectoryOffset()
104 public static void updateZipEocdCommentLen(ByteBuffer zipEndOfCentralDirectory) { in updateZipEocdCommentLen() argument
105 ByteBuffer eocd = zipEndOfCentralDirectory.slice(); in updateZipEocdCommentLen()