Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java38 private static final int HEADER_SIZE_BYTES = 30; field in LocalFileRecord
46 private static final int NAME_OFFSET = HEADER_SIZE_BYTES;
93 return HEADER_SIZE_BYTES + mNameSizeBytes; in getExtraFieldStartOffsetInsideRecord()
152 int headerSizeWithName = HEADER_SIZE_BYTES + cdRecordEntryNameSizeBytes; in getRecord()
225 long dataStartOffset = headerStartOffset + HEADER_SIZE_BYTES + nameLength + extraLength; in getRecord()
245 headerStartOffset + HEADER_SIZE_BYTES + nameLength, extraLength); in getRecord()
282 int dataStartOffsetInRecord = HEADER_SIZE_BYTES + nameLength + extraLength; in getRecord()
345 int recordSize = HEADER_SIZE_BYTES + nameBytes.length; in outputRecordWithDeflateCompressedData()
DCentralDirectoryRecord.java39 private static final int HEADER_SIZE_BYTES = 46; field in CentralDirectoryRecord
43 private static final int NAME_OFFSET = HEADER_SIZE_BYTES;
132 if (buf.remaining() < HEADER_SIZE_BYTES) { in getRecord()
134 "Input too short. Need at least: " + HEADER_SIZE_BYTES in getRecord()
159 int recordSize = HEADER_SIZE_BYTES + nameSize + extraSize + commentSize; in getRecord()
229 int recordSize = HEADER_SIZE_BYTES + nameBytes.length; in createWithDeflateCompressedData()