Home
last modified time | relevance | path

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

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java415 long extraSize; in locateFree() local
417 extraSize = 0; in locateFree()
419 extraSize = (align - ((curr.getStart() + alignOffset) % align)) % align; in locateFree()
428 if (extraSize > 0 && extraSize < mMinFreeSize) { in locateFree()
430 Ints.checkedCast((mMinFreeSize - extraSize + align - 1) / align); in locateFree()
431 extraSize += addAlignBlocks * align; in locateFree()
437 if (curr.getSize() < (size + extraSize)) { in locateFree()
446 long emptySpaceLeft = curr.getSize() - (size + extraSize); in locateFree()
463 bestExtraSize = extraSize; in locateFree()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DCentralDirectoryRecord.java154 int extraSize = ZipUtils.getUnsignedInt16(buf); in getRecord() local
159 int recordSize = HEADER_SIZE_BYTES + nameSize + extraSize + commentSize; in getRecord()